blob: 6c50fe301b968efe0d0005fec532c6b701cf5b0a [file] [log] [blame]
Testing CSS.getMatchedStylesForNode.
Enabling Page domain...
Requesting document...
Querying for "div#x"...
Getting matched styles for "div#x"...
Matched:
[
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div",
"specificity": [
0,
0,
1
]
}
],
"text": "div"
},
"sourceLine": "<filtered>",
"origin": "user",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "600"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": ""
},
"sourceURL": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div",
"specificity": [
0,
0,
1
]
}
],
"text": "div"
},
"sourceLine": "<filtered>",
"origin": "user",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "500"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": ""
},
"sourceURL": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div",
"specificity": [
0,
0,
1
]
}
],
"text": "div"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "400"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": ""
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div",
"specificity": [
0,
0,
1
]
}
],
"text": "div"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "300"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": ""
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div",
"specificity": [
0,
0,
1
]
}
],
"text": "div",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "300",
"text": "z-index: 300;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 300; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "#x",
"specificity": [
1,
0,
0
]
}
],
"text": "#x",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "200",
"text": "z-index: 200;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 200; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div#x",
"specificity": [
1,
0,
1
]
}
],
"text": "div#x",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "100",
"text": "z-index: 100;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 100; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
Pseudo:
[
{
"pseudoId": "first-line",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::first-line",
"specificity": [
0,
0,
2
]
}
],
"text": "div::first-line",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "1",
"text": "z-index: 1;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 1; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "first-letter",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::first-letter",
"specificity": [
0,
0,
2
]
}
],
"text": "div::first-letter",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "2",
"text": "z-index: 2;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 2; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "before",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::before",
"specificity": [
0,
0,
2
]
}
],
"text": "div::before",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "4",
"text": "z-index: 4;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 4; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "after",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::after",
"specificity": [
0,
0,
2
]
}
],
"text": "div::after",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "5",
"text": "z-index: 5;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 5; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "selection",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::selection",
"specificity": [
0,
0,
2
]
}
],
"text": "div::selection",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "6",
"text": "z-index: 6;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 6; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "7",
"text": "z-index: 7;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 7; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar-thumb",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar-thumb",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar-thumb",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "8",
"text": "z-index: 8;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 8; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar-button",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar-button",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar-button",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "9",
"text": "z-index: 9;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 9; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar-track",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar-track",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar-track",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "10",
"text": "z-index: 10;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 10; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar-track-piece",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar-track-piece",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar-track-piece",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "11",
"text": "z-index: 11;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 11; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "scrollbar-corner",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-scrollbar-corner",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-scrollbar-corner",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "12",
"text": "z-index: 12;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 12; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
},
{
"pseudoId": "resizer",
"matches": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "div::-webkit-resizer",
"specificity": [
0,
0,
2
]
}
],
"text": "div::-webkit-resizer",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "z-index",
"value": "13",
"text": "z-index: 13;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " z-index: 13; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
}
]
}
]
Inherited:
[
{
"matchedCSSRules": [
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>",
"groupings": [
{
"type": "media-import-rule",
"text": "(min-width: 0px)",
"sourceURL": "<filtered>"
}
]
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>"
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>",
"groupings": [
{
"type": "media-rule",
"text": "(min-width: 1px)",
"sourceURL": "<filtered>"
}
]
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>",
"groupings": [
{
"type": "supports-rule",
"text": "(display: block)",
"sourceURL": "<filtered>"
},
{
"type": "media-rule",
"text": "(min-width: 2px)",
"sourceURL": "<filtered>"
}
]
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red;"
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>",
"groupings": [
{
"type": "media-style-node",
"text": "(min-width: 3px)",
"sourceURL": "<filtered>"
}
]
},
"matchingSelectors": [
0
]
},
{
"rule": {
"selectorList": {
"selectors": [
{
"text": "body",
"specificity": [
0,
0,
1
]
}
],
"text": "body",
"range": "<filtered>"
},
"sourceLine": "<filtered>",
"origin": "author",
"style": {
"cssProperties": [
{
"name": "color",
"value": "red",
"text": "color: red;",
"range": "<filtered>",
"implicit": false,
"status": "active"
}
],
"shorthandEntries": [],
"styleId": "<filtered>",
"width": "",
"height": "",
"range": "<filtered>",
"cssText": " color: red; "
},
"sourceURL": "<filtered>",
"ruleId": "<filtered>",
"groupings": [
{
"type": "media-link-node",
"text": "(min-width: 4px)",
"sourceURL": "<filtered>"
}
]
},
"matchingSelectors": [
0
]
}
]
}
]