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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html

Issue 2413693002: Rename DOM.getLayoutTreeNodes to CSS.getLayoutTreeAndStyles (Closed)
Patch Set: Fix iframe path and drop font-family from test since it's different on mac Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
similarity index 85%
rename from third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
rename to third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
index ca14bcdacf6578dff10d88d52e45f44bad5ddf74..7768b34857061ec68b95bfe68797c7d8affba6e2 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
@@ -12,7 +12,8 @@
function test()
{
InspectorTest.sendCommand("DOM.enable", {});
- InspectorTest.sendCommandOrDie("DOM.getLayoutTreeNodes", {}, onLayoutTreeNodes);
+ var whitelist = ["transform", "transform-origin", "height", "width", "display", "outline-color"];
+ InspectorTest.sendCommandOrDie("CSS.getLayoutTreeAndStyles", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
function onLayoutTreeNodes(response)
{
@@ -46,7 +47,7 @@ function test()
color: red;
}
</style>
-<div>Hi!</div>
+<div style="font-family: ahem;"><h1>Hi!</h1></div>
</template>
</head>
<body class="body-class">
@@ -65,14 +66,14 @@ function test()
</ul>
</div>
<div style="transform: rotateZ(90deg); width: 200px">Rotated text!</div>
- <iframe src="resources/simple-iframe.html" width="400" height="200"></iframe>
+ <iframe src="../dom/resources/simple-iframe.html" width="400" height="200"></iframe>
<div id="shadow-host"></div>
<script type="text/javascript">
var host = document.querySelector("#shadow-host").createShadowRoot();
var template = document.querySelector("#shadow-template");
host.appendChild(template.content);
template.remove();
- runTest();
+ window.onload = runTest;
</script>
</div>
</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698