Skip to content

Commit ab6f44a

Browse files
committed
[css-pseudo-4] Exclude writing-mode + direction + text-orientation from ::first-line #1097
1 parent ddd5cd4 commit ab6f44a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

css-pseudo-4/Overview.bs

+11-4
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,22 @@ Styling the First Line Pseudo-element</h4>
200200
<li>any other properties defined to apply to ''::first-line''
201201
by their respective specifications
202202
</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>
204211

205212
<h4 id="first-line-inheritance">
206213
Inheritance and the ''::first-line'' Pseudo-element</h4>
207214

208215
During CSS [=inheritance=],
209216
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--
211219
from the ''::first-line'' pseudo-element.
212220
For all other properties,
213221
including all [=custom properties=] [[!CSS-VARIABLES-1]],
@@ -1000,8 +1008,7 @@ Changes</h2>
10001008
<ul>
10011009
<li>Included spaces between the first letter and its surrounding punctuation in ''::first-letter''.
10021010
(<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''
10051012
and define interaction with custom properties.
10061013
(<a href="https://github.com/w3c/csswg-drafts/issues/1097">Issue 1097</a>)
10071014
<li>Added ''::marker'' to types allowed for {{CSSPseudoElement}} interface.

0 commit comments

Comments
 (0)