@@ -205,13 +205,16 @@ Styling the First Line Pseudo-element</h4>
205
205
<h4 id="first-line-inheritance">
206
206
Inheritance and the ''::first-line'' Pseudo-element</h4>
207
207
208
- During CSS inheritance, the portion of a child element that occurs on the first line
209
- only inherits properties applicable to the ''::first-line'' pseudo-element
208
+ During CSS [=inheritance=] ,
209
+ the [=box fragment|fragment=] of a child that occurs on the first line
210
+ inherits any standard [=inherited properties=]
210
211
from the ''::first-line'' pseudo-element.
211
- For all other properties inheritance is
212
- from the non-pseudo-element parent of the first line pseudo element.
212
+ For all other properties,
213
+ including all [=custom properties=] [[!CSS-VARIABLES-1]] ,
214
+ inheritance is
215
+ from the non-pseudo parent.
213
216
(The portion of a child element that does not occur on the first line
214
- always inherits from the parent of that child .)
217
+ always inherits from the non-pseudo parent .)
215
218
216
219
<h3 id="first-letter-pseudo">
217
220
The ::first-letter pseudo-element</h3>
@@ -997,6 +1000,10 @@ Changes</h2>
997
1000
<ul>
998
1001
<li> Included spaces between the first letter and its surrounding punctuation in ''::first-letter'' .
999
1002
(<a href="https://github.com/w3c/csswg-drafts/issues/5154">Issue 5154</a> )
1003
+ <li> Define inheritance of properties from ''::first-line''
1004
+ in terms of inheritability rather than applicability
1005
+ and define interaction with custom properties.
1006
+ (<a href="https://github.com/w3c/csswg-drafts/issues/1097">Issue 1097</a> )
1000
1007
<li> Added ''::marker'' to types allowed for {{CSSPseudoElement}} interface.
1001
1008
<li> Clarified return value of {{pseudo()}} .
1002
1009
<li> Added 'content' , 'unicode-bidi' , and 'direction' to properties allowed on ''::marker'' .
0 commit comments