OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
(...skipping 3156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3167 { | 3167 { |
3168 "id": "CSSKeyframeRule", | 3168 "id": "CSSKeyframeRule", |
3169 "type": "object", | 3169 "type": "object", |
3170 "properties": [ | 3170 "properties": [ |
3171 { "name": "styleSheetId", "$ref": "StyleSheetId", "optional"
: true, "description": "The css style sheet identifier (absent for user agent st
ylesheet and user-specified stylesheet rules) this rule came from." }, | 3171 { "name": "styleSheetId", "$ref": "StyleSheetId", "optional"
: true, "description": "The css style sheet identifier (absent for user agent st
ylesheet and user-specified stylesheet rules) this rule came from." }, |
3172 { "name": "origin", "$ref": "StyleSheetOrigin", "description
": "Parent stylesheet's origin."}, | 3172 { "name": "origin", "$ref": "StyleSheetOrigin", "description
": "Parent stylesheet's origin."}, |
3173 { "name": "keyText", "$ref": "Value", "description": "Associ
ated key text." }, | 3173 { "name": "keyText", "$ref": "Value", "description": "Associ
ated key text." }, |
3174 { "name": "style", "$ref": "CSSStyle", "description": "Assoc
iated style declaration." } | 3174 { "name": "style", "$ref": "CSSStyle", "description": "Assoc
iated style declaration." } |
3175 ], | 3175 ], |
3176 "description": "CSS keyframe rule representation." | 3176 "description": "CSS keyframe rule representation." |
| 3177 }, |
| 3178 { |
| 3179 "id": "StyleDeclarationEdit", |
| 3180 "type": "object", |
| 3181 "properties": [ |
| 3182 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "The css style sheet identifier." }, |
| 3183 { "name": "range", "$ref": "SourceRange", "description": "Th
e range of the style text in the enclosing stylesheet." }, |
| 3184 { "name": "text", "type": "string", "description": "New styl
e text."} |
| 3185 ], |
| 3186 "description": "A descriptor of operation to mutate style declar
ation text." |
3177 } | 3187 } |
3178 ], | 3188 ], |
3179 "commands": [ | 3189 "commands": [ |
3180 { | 3190 { |
3181 "name": "enable", | 3191 "name": "enable", |
3182 "async": true, | 3192 "async": true, |
3183 "description": "Enables the CSS agent for the given page. Client
s should not assume that the CSS agent has been enabled until the result of this
command is received." | 3193 "description": "Enables the CSS agent for the given page. Client
s should not assume that the CSS agent has been enabled until the result of this
command is received." |
3184 }, | 3194 }, |
3185 { | 3195 { |
3186 "name": "disable", | 3196 "name": "disable", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3272 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3282 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
3273 { "name": "range", "$ref": "SourceRange" }, | 3283 { "name": "range", "$ref": "SourceRange" }, |
3274 { "name": "keyText", "type": "string" } | 3284 { "name": "keyText", "type": "string" } |
3275 ], | 3285 ], |
3276 "returns": [ | 3286 "returns": [ |
3277 { "name": "keyText", "$ref": "Value", "description": "The re
sulting key text after modification." } | 3287 { "name": "keyText", "$ref": "Value", "description": "The re
sulting key text after modification." } |
3278 ], | 3288 ], |
3279 "description": "Modifies the keyframe rule key text." | 3289 "description": "Modifies the keyframe rule key text." |
3280 }, | 3290 }, |
3281 { | 3291 { |
3282 "name": "setStyleText", | 3292 "name": "setStyleTexts", |
3283 "parameters": [ | 3293 "parameters": [ |
3284 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3294 { "name": "edits", "type": "array", "items": { "$ref": "Styl
eDeclarationEdit" }} |
3285 { "name": "range", "$ref": "SourceRange" }, | |
3286 { "name": "text", "type": "string" } | |
3287 ], | 3295 ], |
3288 "returns": [ | 3296 "returns": [ |
3289 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the selector modification." } | 3297 { "name": "styles", "type": "array", "items": { "$ref": "CSS
Style" }, "description": "The resulting styles after modification." } |
3290 ], | 3298 ], |
3291 "description": "Modifies the style text." | 3299 "description": "Applies specified style edits one after another
in the given order." |
3292 }, | 3300 }, |
3293 { | 3301 { |
3294 "name": "setMediaText", | 3302 "name": "setMediaText", |
3295 "parameters": [ | 3303 "parameters": [ |
3296 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3304 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
3297 { "name": "range", "$ref": "SourceRange" }, | 3305 { "name": "range", "$ref": "SourceRange" }, |
3298 { "name": "text", "type": "string" } | 3306 { "name": "text", "type": "string" } |
3299 ], | 3307 ], |
3300 "returns": [ | 3308 "returns": [ |
3301 { "name": "media", "$ref": "CSSMedia", "description": "The r
esulting CSS media rule after modification." } | 3309 { "name": "media", "$ref": "CSSMedia", "description": "The r
esulting CSS media rule after modification." } |
(...skipping 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5291 ], | 5299 ], |
5292 "returns": [ | 5300 "returns": [ |
5293 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5301 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5294 ], | 5302 ], |
5295 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5303 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5296 "hidden": true | 5304 "hidden": true |
5297 } | 5305 } |
5298 ] | 5306 ] |
5299 }] | 5307 }] |
5300 } | 5308 } |
OLD | NEW |