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

Side by Side Diff: LayoutTests/inspector/timeline/timeline-node-reference.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 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
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 <style> 5 <style>
6 .relayout-boundary { 6 .relayout-boundary {
7 overflow: hidden; 7 overflow: hidden;
8 width: 100px; 8 width: 100px;
9 height: 100px; 9 height: 100px;
10 } 10 }
11 </style> 11 </style>
12 <script> 12 <script>
13 13
14 function performActions() 14 function performActions()
15 { 15 {
16 var element = document.getElementById("invalidate1"); 16 var element = document.getElementById("invalidate1");
17 element.style.marginTop = "10px"; 17 element.style.marginTop = "10px";
18 var unused = element.offsetHeight; 18 var unused = element.offsetHeight;
19 } 19 }
20 20
21 function test() 21 function test()
22 { 22 {
23 // Force panel load. 23 // Force panel load.
24 WebInspector.panel("elements"); 24 WebInspector.panel("elements");
25 25
26 InspectorTest.evaluateInPage("var unused = document.body.offsetWidth; testRu nner.display();", function() { 26 InspectorTest.evaluateInPage("var unused = document.body.offsetWidth;", func tion() {
27 InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecord ed); 27 InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecord ed);
28 }); 28 });
29 29
30 function clickValueLink(record, row) 30 function clickValueLink(record, row)
31 { 31 {
32 var helper = record.generatePopupContent(onDetailsContentReady); 32 var helper = record.generatePopupContent(onDetailsContentReady);
33 33
34 function onDetailsContentReady(element) 34 function onDetailsContentReady(element)
35 { 35 {
36 var rows = element.querySelectorAll(".timeline-details-view-row"); 36 var rows = element.querySelectorAll(".timeline-details-view-row");
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Tests the Timeline API instrumentation of a Layout event 72 Tests the Timeline API instrumentation of a Layout event
73 </p> 73 </p>
74 <div id="boundary" class="relayout-boundary"> 74 <div id="boundary" class="relayout-boundary">
75 <div> 75 <div>
76 <div id="invalidate1"><div>text</div></div> 76 <div id="invalidate1"><div>text</div></div>
77 </div> 77 </div>
78 </div> 78 </div>
79 79
80 </body> 80 </body>
81 </html> 81 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/timeline/timeline-layout-autosize.html ('k') | LayoutTests/inspector/tracing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698