Skip to content

Commit bed002c

Browse files
committed
fix sentence implying that :first-letter and :before can be combined to say what the example's trying to demonstrate
1 parent dbe0fb0 commit bed002c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

selectors3/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,9 +2291,9 @@ <h4><a name=gen-content>7.4. The ::before and ::after pseudo-elements</a></h4>
22912291
href="#refsCSS21">[CSS21]</a>.</p>
22922292

22932293
<p>When the <code>::first-letter</code> and <code>::first-line</code>
2294-
pseudo-elements are combined with <code>::before</code> and
2295-
<code>::after</code>, they apply to the first letter or line of the
2296-
element including the inserted text.</p>
2294+
pseudo-elements are applied to an element having content generated
2295+
using <code>::before</code> or <code>::after</code>, they apply to the
2296+
first letter or line of the element including the generated content.</p>
22972297

22982298
<h2><a name=combinators>8. Combinators</a></h2>
22992299

0 commit comments

Comments
 (0)