Skip to content

Commit d5164d2

Browse files
delanfantasai
authored andcommitted
replace new #styling section with --* propdef update
1 parent 1b53606 commit d5164d2

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

css-pseudo-4/Overview.bs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ spec:fill-stroke-3; type:property; text:stroke-width
5050
and on their syntax and interaction with other <a>selectors</a>,
5151
see [[!SELECTORS-4]].
5252

53-
<h2 id="styling">Styling Pseudo-elements</h2>
54-
[=Custom properties=] [[!CSS-VARIABLES-1]] can be specified on--
55-
and inherited into--
56-
pseudo-elements,
57-
even if they would not otherwise apply
58-
due to the pseudo-element having a restricted set of applicable CSS properties.
59-
6053
<h2 id="typographic-pseudos">
6154
Typographic Pseudo-elements</h2>
6255

css-variables-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Defining Custom Properties: the '--*' family of properties</h2>
8989
Name: --*
9090
Value: <<declaration-value>>?
9191
Initial: the [=guaranteed-invalid value=]
92-
Applies to: all elements
92+
Applies to: all elements and all pseudo-elements (including those with restricted property lists)
9393
Inherited: yes
9494
Computed value: specified value with variables substituted, or the [=guaranteed-invalid value=]
9595
Animation type: discrete

0 commit comments

Comments
 (0)