@@ -200,14 +200,22 @@ Styling the First Line Pseudo-element</h4>
200
200
<li> any other properties defined to apply to ''::first-line''
201
201
by their respective specifications
202
202
</ul>
203
- User agents may apply other properties as well.
203
+
204
+ User agents may apply other properties as well except for
205
+ the following excluded properties:
206
+ <ul>
207
+ <li> 'writing-mode'
208
+ <li> 'direction'
209
+ <li> 'text-orientation'
210
+ </ul>
204
211
205
212
<h4 id="first-line-inheritance">
206
213
Inheritance and the ''::first-line'' Pseudo-element</h4>
207
214
208
215
During CSS [=inheritance=] ,
209
216
the [=box fragment|fragment=] of a child that occurs on the first line
210
- inherits any standard [=inherited properties=]
217
+ inherits any standard [=inherited properties=] --
218
+ except the properties excluded above--
211
219
from the ''::first-line'' pseudo-element.
212
220
For all other properties,
213
221
including all [=custom properties=] [[!CSS-VARIABLES-1]] ,
@@ -1000,8 +1008,7 @@ Changes</h2>
1000
1008
<ul>
1001
1009
<li> Included spaces between the first letter and its surrounding punctuation in ''::first-letter'' .
1002
1010
(<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
1011
+ <li> Adjust rules for inheritance of properties from ''::first-line''
1005
1012
and define interaction with custom properties.
1006
1013
(<a href="https://github.com/w3c/csswg-drafts/issues/1097">Issue 1097</a> )
1007
1014
<li> Added ''::marker'' to types allowed for {{CSSPseudoElement}} interface.
0 commit comments