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> |