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

Unified Diff: Source/devtools/protocol.json

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: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 9378033393aa9cf47102fed80dea1bd642a49b1a..d1782620ae5cf59b5029efe33d8b8333b44cf787 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1916,11 +1916,23 @@
{ "name": "border", "$ref": "Quad", "description": "Border box" },
{ "name": "margin", "$ref": "Quad", "description": "Margin box" },
{ "name": "width", "type": "integer", "description": "Node width" },
- { "name": "height", "type": "integer", "description": "Node height" }
+ { "name": "height", "type": "integer", "description": "Node height" },
+ { "name": "shapeOutside", "$ref": "ShapeOutsideInfo", "optional": true, "description": "Shape outside coordinates" }
],
"description": "Box model."
},
{
+ "id": "ShapeOutsideInfo",
+ "type": "object",
+ "hidden": true,
+ "properties": [
+ { "name": "bounds", "$ref": "Quad", "description": "Shape bounds" },
+ { "name": "shape", "type": "array", "items": { "type": "any"}, "description": "Shape coordinate details" },
+ { "name": "marginShape", "type": "array", "items": { "type": "any"}, "description": "Margin shape bounds" }
+ ],
+ "description": "CSS Shape Outside details."
+ },
+ {
"id": "Rect",
"type": "object",
"hidden": true,
« Source/core/rendering/shapes/ShapeOutsideInfo.cpp ('K') | « Source/devtools/Inspector-1.1.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698