Changeset 222356 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Sep 21, 2017, 3:32:49 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r222338 r222356 1 2017-09-21 Joseph Pecoraro <[email protected]> 2 3 Web Inspector: Remove support for CSS Regions 4 https://bugs.webkit.org/show_bug.cgi?id=177287 5 6 Reviewed by Matt Baker. 7 8 * inspector/protocol/CSS.json: 9 * inspector/protocol/OverlayTypes.json: 10 1 11 2017-09-21 Brian Burg <[email protected]> 2 12 -
trunk/Source/JavaScriptCore/inspector/protocol/CSS.json
r218898 r222356 209 209 { "name": "sourceLine", "type": "integer", "optional": true, "description": "Line in the document containing the media query (not defined for the \"stylesheet\" source)." } 210 210 ] 211 },212 {213 "id": "Region",214 "type": "object",215 "description": "This object represents a region that flows from a Named Flow.",216 "properties": [217 { "name": "regionOverset", "type": "string", "enum": ["overset", "fit", "empty"], "description": "The \"overset\" attribute of a Named Flow." },218 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "The corresponding DOM node id." }219 ]220 },221 {222 "id": "NamedFlow",223 "type": "object",224 "description": "This object represents a Named Flow.",225 "properties": [226 { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },227 { "name": "name", "type": "string", "description": "Named Flow identifier." },228 { "name": "overset", "type": "boolean", "description": "The \"overset\" attribute of a Named Flow." },229 { "name": "content", "type": "array", "items": { "$ref": "DOM.NodeId" }, "description": "An array of nodes that flow into the Named Flow." },230 { "name": "regions", "type": "array", "items": { "$ref": "Region" }, "description": "An array of regions associated with the Named Flow." }231 ]232 211 } 233 212 ], … … 375 354 { "name": "forcedPseudoClasses", "type": "array", "items": { "type": "string", "enum": ["active", "focus", "hover", "visited"] }, "description": "Element pseudo classes to force when computing the element's style." } 376 355 ] 377 },378 {379 "name": "getNamedFlowCollection",380 "description": "Returns the Named Flows from the document.",381 "parameters": [382 { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id for which to get the Named Flow Collection." }383 ],384 "returns": [385 { "name": "namedFlows", "type": "array", "items": { "$ref": "NamedFlow" }, "description": "An array containing the Named Flows in the document." }386 ]387 356 } 388 357 ], … … 412 381 { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the removed stylesheet." } 413 382 ] 414 },415 {416 "name": "namedFlowCreated",417 "description": "Fires when a Named Flow is created.",418 "parameters": [419 { "name": "namedFlow", "$ref": "NamedFlow", "description": "The new Named Flow." }420 ]421 },422 {423 "name": "namedFlowRemoved",424 "description": "Fires when a Named Flow is removed: has no associated content nodes and regions.",425 "parameters": [426 { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },427 { "name": "flowName", "type": "string", "description": "Identifier of the removed Named Flow." }428 ]429 },430 {431 "name": "regionOversetChanged",432 "description": "Fires if any of the regionOverset values changed in a Named Flow's region chain.",433 "parameters": [434 { "name": "namedFlow", "$ref": "NamedFlow", "description": "The Named Flow containing the regions whose regionOverset values changed." }435 ]436 },437 {438 "name": "registeredNamedFlowContentElement",439 "description": "Fires when a Named Flow's has been registered with a new content node.",440 "parameters": [441 { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },442 { "name": "flowName", "type": "string", "description": "Named Flow identifier for which the new content element was registered." },443 { "name": "contentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the registered content node." },444 { "name": "nextContentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the element following the registered content node." }445 ]446 },447 {448 "name": "unregisteredNamedFlowContentElement",449 "description": "Fires when a Named Flow's has been registered with a new content node.",450 "parameters": [451 { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },452 { "name": "flowName", "type": "string", "description": "Named Flow identifier for which the new content element was unregistered." },453 { "name": "contentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the unregistered content node." }454 ]455 383 } 456 384 ] -
trunk/Source/JavaScriptCore/inspector/protocol/OverlayTypes.json
r205035 r222356 37 37 }, 38 38 { 39 "id": "Region",40 "description": "A single region in a flow thread.",41 "type": "object",42 "properties": [43 { "name": "borderQuad", "$ref": "Quad" },44 { "name": "incomingQuad", "$ref": "Quad" },45 { "name": "outgoingQuad", "$ref": "Quad" },46 { "name": "isHighlighted", "type": "boolean", "optional": true }47 ]48 },49 {50 39 "id": "DisplayPath", 51 40 "description": "A vector path described using SVG path syntax.", 52 41 "type": "array", 53 42 "items": { "type": "any" } 54 },55 {56 "id": "RegionFlowData",57 "type": "object",58 "properties": [59 { "name": "regions", "type": "array", "items": { "$ref": "Region"} },60 { "name": "name", "type": "string" }61 ]62 },63 {64 "id": "ContentFlowData",65 "type": "object",66 "properties": [67 { "name": "name", "type": "string" }68 ]69 43 }, 70 44 { … … 88 62 { "name": "role", "type": "string", "description": "Computed accessibility role for the element.", "optional": true }, 89 63 { "name": "pseudoElement", "type": "string", "optional": true }, 90 { "name": "regionFlowData", "$ref": "RegionFlowData", "optional": true },91 { "name": "contentFlowData", "$ref": "ContentFlowData", "optional": true },92 64 { "name": "shapeOutsideData", "$ref": "ShapeOutsideData", "optional": true } 93 65 ] … … 103 75 { "name": "paddingColor", "type": "string" }, 104 76 { "name": "borderColor", "type": "string" }, 105 { "name": "marginColor", "type": "string" }, 106 { "name": "regionClippingArea", "$ref": "Quad", "optional": true } 77 { "name": "marginColor", "type": "string" } 107 78 ] 108 79 },
Note:
See TracChangeset
for help on using the changeset viewer.