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

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

Issue 2413693002: Rename DOM.getLayoutTreeNodes to CSS.getLayoutTreeAndStyles (Closed)
Patch Set: 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
Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
index ca14bcdacf6578dff10d88d52e45f44bad5ddf74..d2820c5772f3f9af3515582bde7d06dee1530f95 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getLayoutTreeNodes.html
@@ -12,7 +12,8 @@
function test()
{
InspectorTest.sendCommand("DOM.enable", {});
- InspectorTest.sendCommandOrDie("DOM.getLayoutTreeNodes", {}, onLayoutTreeNodes);
+ var whitelist = ["transform", "transform-origin", "font-family", "height", "width", "display", "outline-color"];
+ InspectorTest.sendCommandOrDie("DOM.getLayoutTreeNodes", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
function onLayoutTreeNodes(response)
{
@@ -72,7 +73,7 @@ function test()
var template = document.querySelector("#shadow-template");
host.appendChild(template.content);
template.remove();
- runTest();
+ window.onload = runTest;
</script>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698