| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html
|
| deleted file mode 100644
|
| index 2370d199b74d2f76964d6a1b5cd47429a703bcdf..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -<html>
|
| -<style>
|
| -.test { height: 20px; }
|
| -</style>
|
| -<head>
|
| -<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../http/tests/inspector/timeline-test.js"></script>
|
| -<script>
|
| -
|
| -function invalidateStyle()
|
| -{
|
| - var element = document.getElementById("test");
|
| - element.className = "test";
|
| -}
|
| -
|
| -function forceLayout()
|
| -{
|
| - var element = document.getElementById("test");
|
| - var unused = element.offsetHeight;
|
| -}
|
| -
|
| -function performActions()
|
| -{
|
| - invalidateStyle();
|
| - forceLayout();
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecorded);
|
| - function onTimelineRecorded()
|
| - {
|
| - var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
|
| - InspectorTest.addResult("layout invalidated: " + layoutRecord.traceEvent().initiator.stackTrace[0].functionName);
|
| - InspectorTest.addResult("layout forced: " + layoutRecord.traceEvent().stackTrace[0].functionName);
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests that Layout record has correct locations of layout being invalidated and forced.
|
| -</p>
|
| -<div id="test"></div>
|
| -
|
| -</body>
|
| -</html>
|
|
|