Skip to content

Commit 74154b5

Browse files
committed
[css-pseudo-4] Remove special float case of ::first-letter per WG resolution.
1 parent c0c700f commit 74154b5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

css-pseudo/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,7 @@ Finding the First Letter</h4>
323323
<h4 id="first-letter-styling">
324324
Styling the ''::first-letter'' Pseudo-element</h4>
325325

326-
In CSS a ::first-letter pseudo-element is similar to an inline-level element
327-
if its 'float' property is ''float/none'';
328-
otherwise, it is similar to a floated element.
326+
In CSS a ::first-letter pseudo-element is similar to an inline-level element.
329327
The following properties that apply to ''::first-letter'' pseudo-elements:
330328

331329
<ul>
@@ -916,6 +914,7 @@ Changes</h2>
916914

917915
<ul>
918916
<li>Addition of the ''::marker'' pseudo-element.
917+
<li>Removed special handling of floated ''::first-letter'' in favor of <a href="https://www.w3.org/TR/css-inline-3/#initial-letter-styling">initial letter styling</a>. [[CSS-INLINE-3]]
919918
<li>Defined handling of text decorations on ''::selection'' to match IE's more sensible behavior.
920919
<li>Links to pseudo-element OM design discussions.
921920
<li>Various minor clarifications.

0 commit comments

Comments
 (0)