| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index e1244951a4805aabeab5d42d56cf7fb8e3ba254f..b68fc91c044f050d02ae7097cd2a0aa6df133d51 100644
|
| --- a/Source/devtools/protocol.json
|
| +++ b/Source/devtools/protocol.json
|
| @@ -2169,7 +2169,7 @@
|
| {
|
| "domain": "CSS",
|
| "hidden": true,
|
| - "description": "This domain exposes CSS read/write operations. All CSS objects, like stylesheets, rules, and styles, have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). Alternatively, a client can discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method and subsequently load the required stylesheet contents using the <code>getStyleSheet[Text]()</code> methods.",
|
| + "description": "This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track of the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and subsequently load the required stylesheet contents using the <code>getStyleSheet[Text]()</code> methods.",
|
| "types": [
|
| {
|
| "id": "StyleSheetId",
|
| @@ -2588,6 +2588,20 @@
|
| "description": "Fired whenever a stylesheet is changed as a result of the client operation."
|
| },
|
| {
|
| + "name": "styleSheetAdded",
|
| + "parameters": [
|
| + { "name": "header", "$ref": "CSSStyleSheetHeader", "description": "Added stylesheet metainfo." }
|
| + ],
|
| + "description": "Fired whenever an active document stylesheet is added."
|
| + },
|
| + {
|
| + "name": "styleSheetRemoved",
|
| + "parameters": [
|
| + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the removed stylesheet." }
|
| + ],
|
| + "description": "Fired whenever an active document stylesheet is removed."
|
| + },
|
| + {
|
| "name": "namedFlowCreated",
|
| "parameters": [
|
| { "name": "namedFlow", "$ref": "NamedFlow", "description": "The new Named Flow." }
|
|
|