Skip to content

Commit d6f260e

Browse files
committed
[css-ruby-1][css-pseudo-4] Apply ruby-position to ::first-line per w3c#2998
1 parent 9d6d9fa commit d6f260e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

css-pseudo-4/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Styling the First Line Pseudo-element</h4>
195195
<li>all background properties (see [[CSS3BG]])
196196
<li>any typesetting properties that apply to inline elements (see [[CSS3TEXT]])
197197
<li>all text decoration properties (see [[CSS3-TEXT-DECOR]])
198+
<li>the 'ruby-position' property (see [[CSS-RUBY-1]])
198199
<li>any inline layout properties that apply to inline elements (see [[CSS-INLINE-3]])
199200
<li>any other properties defined to apply to ''::first-line''
200201
by their respective specifications
@@ -951,6 +952,9 @@ Changes</h2>
951952
<li>Added ''::marker'' to types allowed for {{CSSPseudoElement}} interface.
952953
<li>Clarified return value of {{pseudo()}}.
953954
<li>Added 'content', 'unicode-bidi', and 'direction' to properties allowed on ''::marker''.
955+
<li>Added 'ruby-position' to properties allowed on ''::first-line'',
956+
analogous with 'text-emphasis-position'.
957+
(<a href="https://github.com/w3c/csswg-drafts/issues/2998">Issue 2998</a>)
954958
</ul>
955959

956960
Changes since the <a href="https://www.w3.org/TR/2016/WD-css-pseudo-4-20160607/">7 June 2016 Working Draft</a> include:

css-ruby-1/Overview.bs

+5-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ Module interactions</h3>
4040
<p>This module extends the inline box model of CSS Level 2 [[!CSS2]]
4141
to support ruby.
4242

43-
<p>None of the properties in this module apply to the <code>::first-line</code> or
44-
<code>::first-letter</code> pseudo-elements.
43+
<p>None of the properties in this module apply to the ''::first-line'' or
44+
''::first-letter'' pseudo-elements,
45+
except for 'ruby-position' which applies to ''::first-line''.
4546

4647
<h3 id="values">
4748
Values</h3>
@@ -1570,6 +1571,8 @@ Changes since the 5 August 2014 WD</h3>
15701571
<li>Add section on <a href="#ruby-text-decoration">text decoration</a>.
15711572
<li>Defer the <css>right</css> and <css>left</css> values of 'ruby-position' to the next level.
15721573
<li>Change ruby pairing rules to only operate on anonymous annotations (i.e. content directly contained by an <{rtc}>).
1574+
<li>Apply 'ruby-position' to ''::first-line''.
1575+
(<a href="https://github.com/w3c/csswg-drafts/issues/2998">Issue 2998</a>)
15731576
</ul>
15741577

15751578
<h3 id="changes-20130919">

0 commit comments

Comments
 (0)