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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-should-not-force-sync-style-recalc.html

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/timeline-test.js"></script> 4 <script src="../../../http/tests/inspector/timeline-test.js"></script>
5 5
6 <style id="testSheet"> 6 <style id="testSheet">
7 .test-0 { font-family: 'Arial'; } 7 .test-0 { font-family: 'Arial'; }
8 .test-1 { font-family: 'Arial'; } 8 .test-1 { font-family: 'Arial'; }
9 .test-2 { font-family: 'Arial'; } 9 .test-2 { font-family: 'Arial'; }
10 .test-3 { font-family: 'Arial'; } 10 .test-3 { font-family: 'Arial'; }
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 function test() 28 function test()
29 { 29 {
30 WebInspector.context.setFlavor(WebInspector.TimelinePanel, WebInspector.pane ls.timeline); 30 WebInspector.context.setFlavor(WebInspector.TimelinePanel, WebInspector.pane ls.timeline);
31 InspectorTest.evaluateWithTimeline("performActions()", callback); 31 InspectorTest.evaluateWithTimeline("performActions()", callback);
32 32
33 function callback() 33 function callback()
34 { 34 {
35 InspectorTest.printTimelineRecords("", function(record) { 35 InspectorTest.printTimelineRecords("", function(record) {
36 if (record.type() === "UpdateLayoutTree") 36 if (record.type() === "UpdateStyleAndLayoutTree")
37 InspectorTest.addResult(record.type()); 37 InspectorTest.addResult(record.type());
38 }); 38 });
39 InspectorTest.completeTest(); 39 InspectorTest.completeTest();
40 } 40 }
41 } 41 }
42 42
43 </script> 43 </script>
44 </head> 44 </head>
45 45
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p> 47 <p>
48 Tests that inspector doesn't force sync layout on operations with CSSOM.<a href= "https://code.google.com/p/chromium/issues/detail?id=315885">Bug 315885</a>. 48 Tests that inspector doesn't force sync layout on operations with CSSOM.<a href= "https://code.google.com/p/chromium/issues/detail?id=315885">Bug 315885</a>.
49 </p> 49 </p>
50 50
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698