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

Unified Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 237313003: CSS shapes support in Web Inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review comments Created 6 years, 7 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: LayoutTests/http/tests/inspector/elements-test.js
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
index 01ee5539c2a9ef875ee256b0929b913bcfca60a4..009560abf71259717556d0df6c41a035c8a92d62 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -744,6 +744,14 @@ InspectorTest.dumpInspectorHighlight = function(node, callback)
InspectorTest.addResult(rectNames[i] + " rect is " + (rect[4] - rect[0]) + " x " + (rect[5] - rect[1]) + " at (" + rect[0] + ", " + rect[1] + ")");
}
callback();
+ });
+}
+
+InspectorTest.dumpInspectorHighlightShape = function(node, callback)
+{
+ node.boxModel(function(shapes) {
+ InspectorTest.addResult(JSON.stringify(shapes.shapeOutside.shape));
+ callback();
});
}

Powered by Google App Engine
This is Rietveld 408576698