OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
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 2373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2384 ], | 2384 ], |
2385 "description": "CSS property declaration data." | 2385 "description": "CSS property declaration data." |
2386 }, | 2386 }, |
2387 { | 2387 { |
2388 "id": "CSSMedia", | 2388 "id": "CSSMedia", |
2389 "type": "object", | 2389 "type": "object", |
2390 "properties": [ | 2390 "properties": [ |
2391 { "name": "text", "type": "string", "description": "Media qu
ery text." }, | 2391 { "name": "text", "type": "string", "description": "Media qu
ery text." }, |
2392 { "name": "source", "type": "string", "enum": ["mediaRule",
"importRule", "linkedSheet", "inlineSheet"], "description": "Source of the media
query: \"mediaRule\" if specified by a @media rule, \"importRule\" if specified
by an @import rule, \"linkedSheet\" if specified by a \"media\" attribute in a
linked stylesheet's LINK tag, \"inlineSheet\" if specified by a \"media\" attrib
ute in an inline stylesheet's STYLE tag." }, | 2392 { "name": "source", "type": "string", "enum": ["mediaRule",
"importRule", "linkedSheet", "inlineSheet"], "description": "Source of the media
query: \"mediaRule\" if specified by a @media rule, \"importRule\" if specified
by an @import rule, \"linkedSheet\" if specified by a \"media\" attribute in a
linked stylesheet's LINK tag, \"inlineSheet\" if specified by a \"media\" attrib
ute in an inline stylesheet's STYLE tag." }, |
2393 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, | 2393 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, |
2394 { "name": "sourceLine", "type": "integer", "optional": true,
"description": "Line in the document containing the media query (not defined fo
r the \"linkedSheet\" source)." }, | |
2395 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." } | 2394 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." } |
2396 ], | 2395 ], |
2397 "description": "CSS media query descriptor." | 2396 "description": "CSS media query descriptor." |
2398 }, | 2397 }, |
2399 { | 2398 { |
2400 "id": "SelectorProfileEntry", | 2399 "id": "SelectorProfileEntry", |
2401 "type": "object", | 2400 "type": "object", |
2402 "properties": [ | 2401 "properties": [ |
2403 { "name": "selector", "type": "string", "description": "CSS
selector of the corresponding rule." }, | 2402 { "name": "selector", "type": "string", "description": "CSS
selector of the corresponding rule." }, |
2404 { "name": "url", "type": "string", "description": "URL of th
e resource containing the corresponding rule." }, | 2403 { "name": "url", "type": "string", "description": "URL of th
e resource containing the corresponding rule." }, |
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3767 ] | 3766 ] |
3768 } | 3767 } |
3769 ], | 3768 ], |
3770 "events": [ | 3769 "events": [ |
3771 { | 3770 { |
3772 "name": "layerTreeDidChange" | 3771 "name": "layerTreeDidChange" |
3773 } | 3772 } |
3774 ] | 3773 ] |
3775 }] | 3774 }] |
3776 } | 3775 } |
OLD | NEW |