css-what
Version:
a CSS selector parser
1,972 lines (1,971 loc) • 438 kB
JSON
{
"": [],
"\t": [],
"\t#qunit-fixture p": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "qunit-fixture",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
"\n#qunit-fixture p": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "qunit-fixture",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
"\f#qunit-fixture p": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "qunit-fixture",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
"\r#qunit-fixture p": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "qunit-fixture",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
" ": [],
" #qunit-fixture p": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "qunit-fixture",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
" a ": [
[
{
"type": "tag",
"name": "a",
"namespace": null
}
]
],
" p ": [
[
{
"type": "tag",
"name": "p",
"namespace": null
}
]
],
"#__sizzle__": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "__sizzle__",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#ap :nth-last-of-type(0n+3)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "0n+3"
}
]
],
"#ap :nth-last-of-type(2n)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "2n"
}
]
],
"#ap :nth-last-of-type(2n+1)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "2n+1"
}
]
],
"#ap :nth-last-of-type(3)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "3"
}
]
],
"#ap :nth-last-of-type(even)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "even"
}
]
],
"#ap :nth-last-of-type(n)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "n"
}
]
],
"#ap :nth-last-of-type(odd)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-last-of-type",
"data": "odd"
}
]
],
"#ap :nth-of-type(0n+3)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "0n+3"
}
]
],
"#ap :nth-of-type(2n)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "2n"
}
]
],
"#ap :nth-of-type(2n+1)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "2n+1"
}
]
],
"#ap :nth-of-type(3)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "3"
}
]
],
"#ap :nth-of-type(even)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "even"
}
]
],
"#ap :nth-of-type(n)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "n"
}
]
],
"#ap :nth-of-type(odd)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "nth-of-type",
"data": "odd"
}
]
],
"#ap a[hreflang!='en']": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "attribute",
"name": "hreflang",
"action": "not",
"value": "en",
"namespace": null,
"ignoreCase": null
}
]
],
"#ap:has(*), #ap:has(*)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "pseudo",
"name": "has",
"data": [
[
{
"type": "universal",
"namespace": null
}
]
]
}
],
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "ap",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "pseudo",
"name": "has",
"data": [
[
{
"type": "universal",
"namespace": null
}
]
]
}
]
],
"#asdfasdf #foobar": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "asdfasdf",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foobar",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#attr-child-boosh": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attr-child-boosh",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#attributes a[href=\"#aname\"]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "attribute",
"name": "href",
"action": "equals",
"value": "#aname",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test$=foo]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "end",
"value": "foo",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test*=hree]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "any",
"value": "hree",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test=\"two-foo\"]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "equals",
"value": "two-foo",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test='two-foo']": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "equals",
"value": "two-foo",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test=two-foo]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "equals",
"value": "two-foo",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test^=two]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "start",
"value": "two",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test|=\"two-foo\"]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "hyphen",
"value": "two-foo",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test|=two]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "hyphen",
"value": "two",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[test~=three]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "element",
"value": "three",
"namespace": null,
"ignoreCase": null
}
]
],
"#attributes div[unique-test]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "attributes",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "unique-test",
"action": "exists",
"value": "",
"namespace": null,
"ignoreCase": null
}
]
],
"#backslash\\\\foo": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "backslash\\foo",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#blargh": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "blargh",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#body": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "body",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh #booshTest": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "booshTest",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh *": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "universal",
"namespace": null
}
]
],
"#boosh .a": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "a",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh div": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
}
]
],
"#boosh div div": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
}
]
],
"#boosh div,#boosh span": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
}
],
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "span",
"namespace": null
}
]
],
"#boosh div.a": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "a",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh div[test=fg]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "equals",
"value": "fg",
"namespace": null,
"ignoreCase": null
}
]
],
"#boosh div[test]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "div",
"namespace": null
},
{
"type": "attribute",
"name": "test",
"action": "exists",
"value": "",
"namespace": null,
"ignoreCase": null
}
]
],
"#boosh span": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "span",
"namespace": null
}
]
],
"#boosh,#boosh": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
}
],
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh,.apples,#boosh": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
}
],
[
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "apples",
"namespace": null,
"ignoreCase": "quirks"
}
],
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#boosh>.a>#booshTest": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "boosh",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "a",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "booshTest",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#booshTest": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "booshTest",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#direct-descend > .direct-descend": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "direct-descend",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "direct-descend",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#direct-descend > .direct-descend > .lvl2": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "direct-descend",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "direct-descend",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "lvl2",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#dupContainer span": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "dupContainer",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "span",
"namespace": null
}
]
],
"#dupL1": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "dupL1",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#dupL2": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "dupL2",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#emem": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "emem",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#first ~ div": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "first",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "sibling"
},
{
"type": "tag",
"name": "div",
"namespace": null
}
]
],
"#firstUL > *": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "firstUL",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "universal",
"namespace": null
}
]
],
"#firstp #foobar": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "firstp",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foobar",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#firstp #simon1": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "firstp",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "simon1",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#fixtures": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "fixtures",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#fixtures a *": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "fixtures",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "descendant"
},
{
"type": "universal",
"namespace": null
}
]
],
"#fixtures h1": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "fixtures",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "h1",
"namespace": null
}
]
],
"#foo": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#foo > *": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "universal",
"namespace": null
}
]
],
"#foo a:not(.blog)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "pseudo",
"name": "not",
"data": [
[
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "blog",
"namespace": null,
"ignoreCase": "quirks"
}
]
]
}
]
],
"#foo a:not(.blog.link)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "pseudo",
"name": "not",
"data": [
[
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "blog",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "link",
"namespace": null,
"ignoreCase": "quirks"
}
]
]
}
]
],
"#foo a:not(.link)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "a",
"namespace": null
},
{
"type": "pseudo",
"name": "not",
"data": [
[
{
"type": "attribute",
"name": "class",
"action": "element",
"value": "link",
"namespace": null,
"ignoreCase": "quirks"
}
]
]
}
]
],
"#foo\\:bar": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo:bar",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#foo\\:bar span:not(:input)": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "foo:bar",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "tag",
"name": "span",
"namespace": null
},
{
"type": "pseudo",
"name": "not",
"data": [
[
{
"type": "pseudo",
"name": "input",
"data": null
}
]
]
}
]
],
"#form": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#form #first": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "first",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#form :checkbox": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "checkbox",
"data": null
}
]
],
"#form :checkbox:checked": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "checkbox",
"data": null
},
{
"type": "pseudo",
"name": "checked",
"data": null
}
]
],
"#form :input": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "input",
"data": null
}
]
],
"#form :radio": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "radio",
"data": null
}
]
],
"#form :radio:checked": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "radio",
"data": null
},
{
"type": "pseudo",
"name": "checked",
"data": null
}
]
],
"#form :radio:checked, #form :checkbox:checked": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "radio",
"data": null
},
{
"type": "pseudo",
"name": "checked",
"data": null
}
],
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "checkbox",
"data": null
},
{
"type": "pseudo",
"name": "checked",
"data": null
}
]
],
"#form :text": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "pseudo",
"name": "text",
"data": null
}
]
],
"#form > #option1a": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "option1a",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#form > #radio1": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "child"
},
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "radio1",
"namespace": null,
"ignoreCase": "quirks"
}
]
],
"#form [for=action]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",
"value": "form",
"namespace": null,
"ignoreCase": "quirks"
},
{
"type": "descendant"
},
{
"type": "attribute",
"name": "for",
"action": "equals",
"value": "action",
"namespace": null,
"ignoreCase": null
}
]
],
"#form input[type='radio'], #form input[type=\"hidden\"]": [
[
{
"type": "attribute",
"name": "id",
"action": "equals",