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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3120 "properties": [ | 3120 "properties": [ |
3121 { "name": "animationName", "$ref": "Value", "description": "
Animation name." }, | 3121 { "name": "animationName", "$ref": "Value", "description": "
Animation name." }, |
3122 { "name": "keyframes", "type": "array", "items": { "$ref": "
CSSKeyframeRule" }, "description": "List of keyframes." } | 3122 { "name": "keyframes", "type": "array", "items": { "$ref": "
CSSKeyframeRule" }, "description": "List of keyframes." } |
3123 ], | 3123 ], |
3124 "description": "CSS keyframes rule representation." | 3124 "description": "CSS keyframes rule representation." |
3125 }, | 3125 }, |
3126 { | 3126 { |
3127 "id": "CSSKeyframeRule", | 3127 "id": "CSSKeyframeRule", |
3128 "type": "object", | 3128 "type": "object", |
3129 "properties": [ | 3129 "properties": [ |
| 3130 { "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." }, |
| 3131 { "name": "origin", "$ref": "StyleSheetOrigin", "description
": "Parent stylesheet's origin."}, |
3130 { "name": "keyText", "$ref": "Value", "description": "Associ
ated key text." }, | 3132 { "name": "keyText", "$ref": "Value", "description": "Associ
ated key text." }, |
3131 { "name": "style", "$ref": "CSSStyle", "description": "Assoc
iated style declaration." } | 3133 { "name": "style", "$ref": "CSSStyle", "description": "Assoc
iated style declaration." } |
3132 ], | 3134 ], |
3133 "description": "CSS keyframe rule representation." | 3135 "description": "CSS keyframe rule representation." |
3134 } | 3136 } |
3135 ], | 3137 ], |
3136 "commands": [ | 3138 "commands": [ |
3137 { | 3139 { |
3138 "name": "enable", | 3140 "name": "enable", |
3139 "async": true, | 3141 "async": true, |
3140 "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." | 3142 "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." |
3141 }, | 3143 }, |
3142 { | 3144 { |
3143 "name": "disable", | 3145 "name": "disable", |
3144 "description": "Disables the CSS agent for the given page." | 3146 "description": "Disables the CSS agent for the given page." |
3145 }, | 3147 }, |
3146 { | 3148 { |
3147 "name": "getMatchedStylesForNode", | 3149 "name": "getMatchedStylesForNode", |
3148 "parameters": [ | 3150 "parameters": [ |
3149 { "name": "nodeId", "$ref": "DOM.NodeId" } | 3151 { "name": "nodeId", "$ref": "DOM.NodeId" } |
3150 ], | 3152 ], |
3151 "returns": [ | 3153 "returns": [ |
3152 { "name": "inlineStyle", "$ref": "CSSStyle", "optional": tru
e, "description": "Inline style for the specified DOM node." }, | 3154 { "name": "inlineStyle", "$ref": "CSSStyle", "optional": tru
e, "description": "Inline style for the specified DOM node." }, |
3153 { "name": "attributesStyle", "$ref": "CSSStyle", "optional":
true, "description": "Attribute-defined element style (e.g. resulting from \"wi
dth=20 height=100%\")."}, | 3155 { "name": "attributesStyle", "$ref": "CSSStyle", "optional":
true, "description": "Attribute-defined element style (e.g. resulting from \"wi
dth=20 height=100%\")."}, |
3154 { "name": "matchedCSSRules", "type": "array", "items": { "$r
ef": "RuleMatch" }, "optional": true, "description": "CSS rules matching this no
de, from all applicable stylesheets." }, | 3156 { "name": "matchedCSSRules", "type": "array", "items": { "$r
ef": "RuleMatch" }, "optional": true, "description": "CSS rules matching this no
de, from all applicable stylesheets." }, |
3155 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "PseudoElementMatches" }, "optional": true, "description": "Pseudo style mat
ches for this node." }, | 3157 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "PseudoElementMatches" }, "optional": true, "description": "Pseudo style mat
ches for this node." }, |
3156 { "name": "inherited", "type": "array", "items": { "$ref": "
InheritedStyleEntry" }, "optional": true, "description": "A chain of inherited s
tyles (from the immediate node parent up to the DOM tree root)." } | 3158 { "name": "inherited", "type": "array", "items": { "$ref": "
InheritedStyleEntry" }, "optional": true, "description": "A chain of inherited s
tyles (from the immediate node parent up to the DOM tree root)." }, |
| 3159 { "name": "cssKeyframesRules", "type": "array", "items": { "
$ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS key
framed animations matching this node." } |
3157 ], | 3160 ], |
3158 "description": "Returns requested styles for a DOM node identifi
ed by <code>nodeId</code>." | 3161 "description": "Returns requested styles for a DOM node identifi
ed by <code>nodeId</code>." |
3159 }, | 3162 }, |
3160 { | 3163 { |
3161 "name": "getInlineStylesForNode", | 3164 "name": "getInlineStylesForNode", |
3162 "parameters": [ | 3165 "parameters": [ |
3163 { "name": "nodeId", "$ref": "DOM.NodeId" } | 3166 { "name": "nodeId", "$ref": "DOM.NodeId" } |
3164 ], | 3167 ], |
3165 "returns": [ | 3168 "returns": [ |
3166 { "name": "inlineStyle", "$ref": "CSSStyle", "optional": tru
e, "description": "Inline style for the specified DOM node." }, | 3169 { "name": "inlineStyle", "$ref": "CSSStyle", "optional": tru
e, "description": "Inline style for the specified DOM node." }, |
(...skipping 16 matching lines...) Expand all Loading... |
3183 "parameters": [ | 3186 "parameters": [ |
3184 { "name": "nodeId", "$ref": "DOM.NodeId" } | 3187 { "name": "nodeId", "$ref": "DOM.NodeId" } |
3185 ], | 3188 ], |
3186 "returns": [ | 3189 "returns": [ |
3187 { "name": "fonts", "type": "array", "items": { "$ref": "Plat
formFontUsage" }, "description": "Usage statistics for every employed platform f
ont." } | 3190 { "name": "fonts", "type": "array", "items": { "$ref": "Plat
formFontUsage" }, "description": "Usage statistics for every employed platform f
ont." } |
3188 ], | 3191 ], |
3189 "description": "Requests information about platform fonts which
we used to render child TextNodes in the given node.", | 3192 "description": "Requests information about platform fonts which
we used to render child TextNodes in the given node.", |
3190 "hidden": true | 3193 "hidden": true |
3191 }, | 3194 }, |
3192 { | 3195 { |
3193 "name": "getCSSAnimationsForNode", | |
3194 "parameters": [ | |
3195 { "name": "nodeId", "$ref": "DOM.NodeId" } | |
3196 ], | |
3197 "returns": [ | |
3198 { "name": "cssKeyframesRules", "type": "array", "items": { "
$ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS key
framed animations matching this node." } | |
3199 ], | |
3200 "description": "Returns all CSS keyframed animations mtaching th
is node." | |
3201 }, | |
3202 { | |
3203 "name": "getStyleSheetText", | 3196 "name": "getStyleSheetText", |
3204 "parameters": [ | 3197 "parameters": [ |
3205 { "name": "styleSheetId", "$ref": "StyleSheetId" } | 3198 { "name": "styleSheetId", "$ref": "StyleSheetId" } |
3206 ], | 3199 ], |
3207 "returns": [ | 3200 "returns": [ |
3208 { "name": "text", "type": "string", "description": "The styl
esheet text." } | 3201 { "name": "text", "type": "string", "description": "The styl
esheet text." } |
3209 ], | 3202 ], |
3210 "description": "Returns the current textual content and the URL
for a stylesheet." | 3203 "description": "Returns the current textual content and the URL
for a stylesheet." |
3211 }, | 3204 }, |
3212 { | 3205 { |
(...skipping 13 matching lines...) Expand all Loading... |
3226 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3219 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
3227 { "name": "range", "$ref": "SourceRange" }, | 3220 { "name": "range", "$ref": "SourceRange" }, |
3228 { "name": "selector", "type": "string" } | 3221 { "name": "selector", "type": "string" } |
3229 ], | 3222 ], |
3230 "returns": [ | 3223 "returns": [ |
3231 { "name": "selectorList", "$ref": "SelectorList", "descripti
on": "The resulting selector list after modification." } | 3224 { "name": "selectorList", "$ref": "SelectorList", "descripti
on": "The resulting selector list after modification." } |
3232 ], | 3225 ], |
3233 "description": "Modifies the rule selector." | 3226 "description": "Modifies the rule selector." |
3234 }, | 3227 }, |
3235 { | 3228 { |
| 3229 "name": "setKeyframeKey", |
| 3230 "parameters": [ |
| 3231 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 3232 { "name": "range", "$ref": "SourceRange" }, |
| 3233 { "name": "keyText", "type": "string" } |
| 3234 ], |
| 3235 "returns": [ |
| 3236 { "name": "keyText", "$ref": "Value", "description": "The re
sulting key text after modification." } |
| 3237 ], |
| 3238 "description": "Modifies the keyframe rule key text." |
| 3239 }, |
| 3240 { |
3236 "name": "setStyleText", | 3241 "name": "setStyleText", |
3237 "parameters": [ | 3242 "parameters": [ |
3238 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3243 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
3239 { "name": "range", "$ref": "SourceRange" }, | 3244 { "name": "range", "$ref": "SourceRange" }, |
3240 { "name": "text", "type": "string" } | 3245 { "name": "text", "type": "string" } |
3241 ], | 3246 ], |
3242 "returns": [ | 3247 "returns": [ |
3243 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the selector modification." } | 3248 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the selector modification." } |
3244 ], | 3249 ], |
3245 "description": "Modifies the style text." | 3250 "description": "Modifies the style text." |
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5308 ], | 5313 ], |
5309 "returns": [ | 5314 "returns": [ |
5310 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5315 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5311 ], | 5316 ], |
5312 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5317 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5313 "hidden": true | 5318 "hidden": true |
5314 } | 5319 } |
5315 ] | 5320 ] |
5316 }] | 5321 }] |
5317 } | 5322 } |
OLD | NEW |