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

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

Issue 2455613002: Fix index used to join results of DOM.getDocument and CSS.getLayoutTreeAndStyles (Closed)
Patch Set: Fix skew between property names and values when emepty ones are skipped. 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/css/css-getLayoutTreeNodes.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
index 7768b34857061ec68b95bfe68797c7d8affba6e2..43ea5445abe3b8cf023e430d89d0c2fe6b3333ab 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
@@ -12,8 +12,12 @@
function test()
{
InspectorTest.sendCommand("DOM.enable", {});
- var whitelist = ["transform", "transform-origin", "height", "width", "display", "outline-color"];
- InspectorTest.sendCommandOrDie("CSS.getLayoutTreeAndStyles", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
+ InspectorTest.sendCommandOrDie("DOM.getDocument", {"depth": -1}, onDocument);
+
+ function onDocument(response) {
+ var whitelist = ["transform", "transform-origin", "height", "width", "display", "outline-color"];
+ InspectorTest.sendCommandOrDie("CSS.getLayoutTreeAndStyles", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
+ }
function onLayoutTreeNodes(response)
{

Powered by Google App Engine
This is Rietveld 408576698