Skip to content

Commit

Permalink
[css-inline-3] Deal with other cases in which initial letter is not a…
Browse files Browse the repository at this point in the history
…t the start of the line. #2184 (comment)
  • Loading branch information
fantasai committed May 25, 2018
1 parent 253670d commit 99954cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions css-inline-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,6 @@ Creating Initial Letters: the 'initial-letter' property</h3>
are all first-child <a>inline boxes</a>
that have a <a lt="computed value">computed</a> 'initial-letter' value
of ''initial-letter/normal''.
Furthermore, if 'initial-letter' is applied to an <a>inline-level box</a>
that is not positioned at the start of the line due to bidi reordering,
its <a>used value</a> is ''initial-letter/normal''.

<div class="example">
For example,
Expand Down Expand Up @@ -570,6 +567,12 @@ Creating Initial Letters: the 'initial-letter' property</h3>
as it has an ancestor already styled as an <a>initial letter</a>.)
</div>

If 'initial-letter' is applied to an <a>inline-level box</a>
that is not positioned at the start of the line due to bidi reordering
or which is otherwise preceded by other <a>inline-level</a> content,
its <a>used value</a> is ''initial-letter/normal'',
and it is not formatted as an <a>initial letter</a>.

The 'initial-letter' property is undefined on children of <a>ruby</a> base container boxes
and on <a>ruby</a> container boxes.

Expand Down

0 comments on commit 99954cb

Please sign in to comment.