Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: LayoutTests/css3/calc/transition-crash2.html

Issue 10447005: Merge 116914 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 This tests transitioning of elements containing a calc expression. The test pass es if it does not crash. 2 This tests transitioning of elements containing a calc expression. The test pass es if it does not crash.
3 <div> 3 <div>
4 <div style="width: -webkit-calc(-100px + 100%);"></div> 4 <div style="width: -webkit-calc(-100px + 100%);"></div>
5 </div> 5 </div>
6 <script> 6 <script>
7 if (window.layoutTestController) { 7 if (window.layoutTestController) {
8 layoutTestController.dumpAsText(true); 8 layoutTestController.dumpAsText(true);
9 layoutTestController.waitUntilDone(); 9 layoutTestController.waitUntilDone();
10 } 10 }
11 11
12 function boom() { 12 function boom() {
13 head = document.getElementsByTagName("head")[0]; 13 head = document.getElementsByTagName("head")[0];
14 var style = document.createElement("style"); 14 var style = document.createElement("style");
15 style.innerHTML=":last-child {-webkit-transition-duration:.1s;}"; 15 style.innerHTML=":last-child {-webkit-transition-duration:.1s;}";
16 head.appendChild(style); 16 head.appendChild(style);
17 if (window.layoutTestController) 17 if (window.layoutTestController)
18 layoutTestController.notifyDone(); 18 layoutTestController.notifyDone();
19 } 19 }
20 20
21 setTimeout(boom, 10); 21 setTimeout(boom, 10);
22 </script> 22 </script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/calc/transition-crash-expected.txt ('k') | LayoutTests/css3/calc/transition-crash2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698