Skip to content

Commit 53db8cf

Browse files
committed
[css-inline-3] Add note about how float/position block applicability of initial-letter. #688
1 parent f77304d commit 53db8cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-inline-3/Overview.bs

+5-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ Creating Initial Letters: the 'initial-letters' property</h3>
514514
<pre>p::first-letter { initial-letters: 2; }</pre>
515515
</div>
516516

517-
<h4 id="first-most-inline-leve">
517+
<h4 id="first-most-inline-level">
518518
Applicability</h4>
519519

520520
To give authors more control over which characters can be styled as an <a>initial letter</a>
@@ -572,6 +572,10 @@ Applicability</h4>
572572
its <a>used value</a> is ''initial-letters/normal'',
573573
and it is not formatted as an <a>initial letter</a>.
574574

575+
Note: The 'initial-letters' property cannot apply to any element
576+
whose 'float' is not ''float/none'' or 'position' is not ''static'',
577+
because these values cause its 'display' to compute to ''block''.
578+
575579
The effect of the 'initial-letters' property is undefined
576580
on children of <a>ruby</a> base container boxes
577581
and on <a>ruby</a> container boxes.

0 commit comments

Comments
 (0)