API reference

css_selector.cpp · CSS properties

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

src/css/css_selector.cpp
:active
supported3.61.7C++ / C / Go / Rust

Matches the activeElement ancestor chain, including the element itself and its ancestors; a forced pseudo state is also available.

css_selector.cpp
:active

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:517

Report an issue with this entry →
:any-link
supported3.61.7C++ / C / Go / Rust

An a or area element with href.

css_selector.cpp
:any-link

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:888

Report an issue with this entry →
:autofill
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:autofill

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:checked
Partial3.61.7C++ / C / Go / Rust

HTMLInputElement uses the live isChecked() state; other elements are checked only for a checked attribute. Unified option:selected behavior is not implemented.

css_selector.cpp
:checked

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:860

Report an issue with this entry →
:default
Partial3.61.7C++ / C / Go / Rust

Matches button and input elements with type=submit or no type. The complete semantics for a form's first default submit control and default option are not implemented.

css_selector.cpp
:default

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:909

Report an issue with this entry →
:defined
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:defined

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:dir
supported3.61.7C++ / C / Go / Rust

Computed from the HTML dir attribute, ancestors, dir=auto, and the bdi first-strong rule, rather than CSS direction; tel, url, and email use LTR.

css_selector.cpp
:dir(ltr|rtl)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:973

Report an issue with this entry →
:disabled
Partial3.61.7C++ / C / Go / Rust

Checks only for the presence of the disabled attribute; inherited disabled states from fieldset, option, and similar elements are not fully modeled.

css_selector.cpp
:disabled

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:854

Report an issue with this entry →
:empty
supported3.61.7C++ / C / Go / Rust

Ignores comments and whitespace-only Text nodes; nonempty text or an element child prevents a match.

css_selector.cpp
:empty

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:674

Report an issue with this entry →
:enabled
Partial3.61.7C++ / C / Go / Rust

Checks only that the disabled attribute is absent; matching is not limited to form elements that can be enabled.

css_selector.cpp
:enabled

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:857

Report an issue with this entry →
:first-child
supported3.61.7C++ / C / Go / Rust

The first element under the same parent.

css_selector.cpp
:first-child

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:528

Report an issue with this entry →
:first-of-type
supported3.61.7C++ / C / Go / Rust

The first element with the same localName under the same parent.

css_selector.cpp
:first-of-type

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:643

Report an issue with this entry →
:focus
supported3.61.7C++ / C / Go / Rust

Matches Document::focusedElement or a forced focus state.

css_selector.cpp
:focus

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:509

Report an issue with this entry →
:focus-visible
Partial3.61.7C++ / C / Go / Rust

Currently behaves exactly like :focus; there is no keyboard/pointer input-modality heuristic.

css_selector.cpp
:focus-visible

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:513

Report an issue with this entry →
:focus-within
supported3.61.7C++ / C / Go / Rust

The focused element itself and its ancestor chain.

css_selector.cpp
:focus-within

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:844

Report an issue with this entry →
:fullscreen
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:fullscreen

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:has
Partial3.61.7C++ / C / Go / Rust

Matches descendants, direct children, adjacent following siblings, or arbitrary following siblings; nested :has is forbidden. The implementation extracts >, +, or ~ only once from the start of the entire argument, rather than implementing a complete relative-selector anchoring model for each branch.

css_selector.cpp
:has(S, ...)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:204

Report an issue with this entry →
:host
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:host

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:host-context
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:host-context

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:hover
supported3.61.7C++ / C / Go / Rust

Matches the hoveredElement ancestor chain, including the element itself and its ancestors; a forced pseudo state is also available.

css_selector.cpp
:hover

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:497

Report an issue with this entry →
:in-range
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:in-range

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:indeterminate
Partial3.61.7C++ / C / Go / Rust

Checks only the indeterminate attribute; live checkbox indeterminate, progress, and radio states are not fully implemented.

css_selector.cpp
:indeterminate

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:892

Report an issue with this entry →
:invalid
Partial3.61.7C++ / C / Go / Rust

Delegates to the limited finiteConstraintValidity implementation; pattern uses only a non-backtracking byte subset with a work budget.

css_selector.cpp
:invalid

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:927

Report an issue with this entry →
:is
supported3.61.7C++ / C / Go / Rust

Matches any argument branch and uses the highest argument specificity; an invalid branch containing nested :has may be discarded tolerantly.

css_selector.cpp
:is(S, ...)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:716

Report an issue with this entry →
:lang
supported3.61.7C++ / C / Go / Rust

Inherits from the nearest lang or xml:lang; accepts comma-separated ident/string lists and RFC 4647 extended language ranges.

css_selector.cpp
:lang(language-range, ...)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:932

Report an issue with this entry →
:last-child
supported3.61.7C++ / C / Go / Rust

The last element under the same parent.

css_selector.cpp
:last-child

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:536

Report an issue with this entry →
:last-of-type
supported3.61.7C++ / C / Go / Rust

The last element with the same localName under the same parent.

css_selector.cpp
:last-of-type

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:653

Report an issue with this entry →
:link
Partial3.61.7C++ / C / Go / Rust

Matches only a elements with href; area is not included in the :link branch.

css_selector.cpp
:link

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:875

Report an issue with this entry →
:modal
conditional3.61.7C++ / C / Go / Rust

Matches a dialog in the Document top layer.

css_selector.cpp
:modal

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:904

Report an issue with this entry →
:not
Partial3.61.7C++ / C / Go / Rust

Supports selector lists and complex selectors. The parser is error-tolerant; full Selectors 4 rejection semantics for invalid branches are not guaranteed.

css_selector.cpp
:not(S, ...)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:196

Report an issue with this entry →
:nth-child
supported3.61.7C++ / C / Go / Rust

Accepts An+B, odd/even, and integers; supports of selector-list and counts only matching elements.

css_selector.cpp
:nth-child(An+B of S)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:587

Report an issue with this entry →
:nth-last-child
supported3.61.7C++ / C / Go / Rust

Like nth-child, counting from the end; supports of selector-list.

css_selector.cpp
:nth-last-child(An+B of S)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:614

Report an issue with this entry →
:nth-last-of-type
supported3.61.7C++ / C / Go / Rust

Applies An+B in reverse order to elements of the same type; does not accept of S.

css_selector.cpp
:nth-last-of-type(An+B)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:669

Report an issue with this entry →
:nth-of-type
supported3.61.7C++ / C / Go / Rust

Accepts An+B, odd/even, and integers; counts elements of the same type and does not accept of S.

css_selector.cpp
:nth-of-type(An+B)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:666

Report an issue with this entry →
:only-child
supported3.61.7C++ / C / Go / Rust

Exactly one element under the same parent.

css_selector.cpp
:only-child

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:544

Report an issue with this entry →
:only-of-type
supported3.61.7C++ / C / Go / Rust

Exactly one element with the same localName under the same parent.

css_selector.cpp
:only-of-type

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:663

Report an issue with this entry →
:open
Partial3.61.7C++ / C / Go / Rust

Matches only details and dialog elements with an open attribute; transient picker states are not exposed.

css_selector.cpp
:open

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:895

Report an issue with this entry →
:optional
Partial3.61.7C++ / C / Go / Rust

An input, select, or textarea element without a required attribute.

css_selector.cpp
:optional

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:921

Report an issue with this entry →
:out-of-range
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:out-of-range

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:placeholder-shown
Partial3.61.7C++ / C / Go / Rust

Checks only that placeholder exists and the value attribute is empty; this is not the complete form placeholder-display state.

css_selector.cpp
:placeholder-shown

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:872

Report an issue with this entry →
:popover-open
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:popover-open

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:read-only
Partial3.61.7C++ / C / Go / Rust

Checks only the readonly attribute; the full specification semantics for non-editable elements are not implemented.

css_selector.cpp
:read-only

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:869

Report an issue with this entry →
:read-write
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:read-write

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:required
Partial3.61.7C++ / C / Go / Rust

Checks only for the presence of the required attribute.

css_selector.cpp
:required

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:918

Report an issue with this entry →
:root
supported3.61.7C++ / C / Go / Rust

Matches Document::documentElement.

css_selector.cpp
:root

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:884

Report an issue with this entry →
:scope
Partial3.61.7C++ / C / Go / Rust

The matcher actually matches only documentElement; it does not use the element on which Element::querySelector is called as the scoping root.

css_selector.cpp
:scope

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1061

Report an issue with this entry →
:state
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:state

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:target
supported3.61.7C++ / C / Go / Rust

Matches id against Document::targetElementId; the target must be set by document navigation or the caller.

css_selector.cpp
:target

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:950

Report an issue with this entry →
:user-invalid
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:user-invalid

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:user-valid
Unsupported3.61.7C++ / C / Go / Rust

No matchPseudoClass branch; unknown pseudo-classes return false.

css_selector.cpp
:user-valid

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1067

Report an issue with this entry →
:valid
Partial3.61.7C++ / C / Go / Rust

Delegates to the limited finiteConstraintValidity implementation; Unknown and NotCandidate do not match. This is not a complete HTML ValidityState implementation.

css_selector.cpp
:valid

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:927

Report an issue with this entry →
:visited
conditional3.61.7C++ / C / Go / Rust

No browsing history is recorded, so normal execution always returns false; only DevTools ForcedVisited can make it true.

css_selector.cpp
:visited

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:878

Report an issue with this entry →
:where
supported3.61.7C++ / C / Go / Rust

Matches any argument branch; specificity is zero.

css_selector.cpp
:where(S, ...)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:716

Report an issue with this entry →
复合选择器
supported3.61.7C++ / C / Go / Rust

The same element must satisfy all simple selectors.

css_selector.cpp
div.card#main

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1074

Report an issue with this entry →
后代组合器
supported3.61.7C++ / C / Go / Rust

Matches right to left using DOM element relationships, ignoring non-element sibling nodes.

css_selector.cpp
A B

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1209

Report an issue with this entry →
后续兄弟组合器
supported3.61.7C++ / C / Go / Rust

Matches right to left using DOM element relationships, ignoring non-element sibling nodes.

css_selector.cpp
A ~ B

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1263

Report an issue with this entry →
类型选择器
supported3.61.7C++ / C / Go / Rust

HTML tag names are matched in ASCII lowercase; class and id values remain case-sensitive.

css_selector.cpp
div

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:232

Report an issue with this entry →
类选择器
supported3.61.7C++ / C / Go / Rust

HTML tag names are matched in ASCII lowercase; class and id values remain case-sensitive.

css_selector.cpp
.card

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:178

Report an issue with this entry →
属性选择器 [attr]
supported3.61.7C++ / C / Go / Rust

Attribute presence; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1098

Report an issue with this entry →
属性选择器 [attr*=value]
supported3.61.7C++ / C / Go / Rust

Substring matching; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr*="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1161

Report an issue with this entry →
属性选择器 [attr^=value]
supported3.61.7C++ / C / Go / Rust

Prefix matching; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr^="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1151

Report an issue with this entry →
属性选择器 [attr=value]
supported3.61.7C++ / C / Go / Rust

Exact value equality; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1129

Report an issue with this entry →
属性选择器 [attr|=value]
supported3.61.7C++ / C / Go / Rust

Matches an equal value or a value followed by a hyphen; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr|="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1145

Report an issue with this entry →
属性选择器 [attr~=value]
Partial3.61.7C++ / C / Go / Rust

Space-separated token matching; the implementation splits on ordinary spaces rather than all CSS whitespace. Certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr~="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1132

Report an issue with this entry →
属性选择器 [attr$=value]
supported3.61.7C++ / C / Go / Rust

Suffix matching; certain HTML attribute values are ASCII case-insensitive by default.

css_selector.cpp
[attr$="value"]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1156

Report an issue with this entry →
属性选择器 i 标记
supported3.61.7C++ / C / Go / Rust

Explicit ASCII case-insensitive matching.

css_selector.cpp
[attr="value" i]

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1119

Report an issue with this entry →
通配选择器
supported3.61.7C++ / C / Go / Rust

HTML tag names are matched in ASCII lowercase; class and id values remain case-sensitive.

css_selector.cpp
*

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:236

Report an issue with this entry →
未知/浏览器厂商伪元素
Unsupported3.61.7C++ / C / Go / Rust

Pseudo-elements outside the known set do not match. Shadow DOM and general custom-highlight semantics are absent.

css_selector.cpp
::-webkit-scrollbar / ::part() / ::slotted() / ::highlight()

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1187

Report an issue with this entry →
相邻兄弟组合器
supported3.61.7C++ / C / Go / Rust

Matches right to left using DOM element relationships, ignoring non-element sibling nodes.

css_selector.cpp
A + B

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1255

Report an issue with this entry →
选择器列表
supported3.61.7C++ / C / Go / Rust

A comma-separated list matches any branch. The parser is error-tolerant; a nonempty AST does not establish support for arbitrary standard syntax.

css_selector.cpp
h1, h2, .title

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1284

Report an issue with this entry →
子代组合器
supported3.61.7C++ / C / Go / Rust

Matches right to left using DOM element relationships, ignoring non-element sibling nodes.

css_selector.cpp
A > B

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:1249

Report an issue with this entry →
ID 选择器
supported3.61.7C++ / C / Go / Rust

HTML tag names are matched in ASCII lowercase; class and id values remain case-sensitive.

css_selector.cpp
#main

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:175

Report an issue with this entry →
Specificity
supported3.61.7C++ / C / Go / Rust

is/not/has use the maximum argument specificity; where is zero. nth-child of S adds its argument specificity. Nested specificity recursion has a budget.

css_selector.cpp
ID > class/attribute/pseudo-class > type/pseudo-element

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/css_selector.cpp:112

Report an issue with this entry →
Browse this reference type →