Skip to content

[css-pseudo] [css-variables] highlight pseudos and custom properties (closes #6264) #6663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,9 @@ Cascading and Per-Element Highlight Styles</h3>
When any supported property is not given a value by the cascade,
it's value is determined by inheritance from
the corresponding <a>highlight pseudo-element</a>
of its <a>originating element</a>'s parent element
(regardless of whether that property is an <a>inherited property</a>).
of its <a>originating element</a>'s parent element.
This occurs regardless of whether that property is an <a>inherited property</a>,
including [=registered custom properties=] where the [=inherits descriptor=] is false.

<wpt>
css/css-pseudo/active-selection-051.html
Expand Down
2 changes: 1 addition & 1 deletion css-variables-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Defining Custom Properties: the '--*' family of properties</h2>
Name: --*
Value: <<declaration-value>>?
Initial: the [=guaranteed-invalid value=]
Applies to: all elements
Applies to: all elements and all pseudo-elements (including those with restricted property lists)
Inherited: yes
Computed value: specified value with variables substituted, or the [=guaranteed-invalid value=]
Animation type: discrete
Expand Down