:first-letter and :before in CSS2
Charles Samuels
charles at kde.org
Wed Mar 22 17:58:20 GMT 2006
Is :first-letter supposed to match text created by :before { content: } ?
If the standard doesn't say so explicitly, and arguably:
According to http://www.w3.org/TR/CSS21/selector.html#first-letter
"The first letter of a table-cell or inline-block cannot be the first letter
of an ancestor element"
Implies that <div><span:before>F</span>irst letter</div> implies that it
wouldn't match.
Can I assume that it doesn't match because it'd be easier to implement? :)
cs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060322/28302844/attachment.sig>
More information about the kfm-devel
mailing list