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

Side by Side Diff: LayoutTests/animations/base-render-style-body-crash.html

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/display-none-inline-style-change-crash.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 body { transition: background-color 1s } 3 body { transition: background-color 1s }
4 .green { background-color: green } 4 .green { background-color: green }
5 </style> 5 </style>
6 <style id="sheet"></style> 6 <style id="sheet"></style>
7 <script> 7 <script>
8 if (window.testRunner) { 8 if (window.testRunner) {
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 } 11 }
12 12
13 onload = function(){ 13 onload = function(){
14 document.body.className = "green"; 14 document.body.className = "green";
15 // Needs these frames to establish a baseLayoutStyle. 15 // Needs these frames to establish a baseComputedStyle.
16 requestAnimationFrame(function(){ 16 requestAnimationFrame(function(){
17 requestAnimationFrame(function(){ 17 requestAnimationFrame(function(){
18 requestAnimationFrame(function(){ 18 requestAnimationFrame(function(){
19 sheet.innerText = "@font-face { font-family: notfound; src: url( notfound.ttf) }"; 19 sheet.innerText = "@font-face { font-family: notfound; src: url( notfound.ttf) }";
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.notifyDone(); 21 testRunner.notifyDone();
22 }); 22 });
23 }); 23 });
24 }); 24 });
25 }; 25 };
26 </script> 26 </script>
27 <p>Pass if no crash or assert</p> 27 <p>Pass if no crash or assert</p>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/display-none-inline-style-change-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698