W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

[csswg-drafts] [css-pseudo] ::first-letter and pseudo-elements (#4578)

From: Yvain Liechti via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Dec 2019 14:24:15 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-535763049-1575987854-sysbot+gh@w3.org>
ryuran has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo] ::first-letter and pseudo-elements ==
Hello

At the beginning I declared a bug on Blink, but it's now "Won’t fix" according to the blur in the specification around it.

https://bugs.chromium.org/p/chromium/issues/detail?id=647239#c4

https://drafts.csswg.org/css-pseudo-4/#generated-content 
> As with the content of regular elements, the generated content of `::before` and `::after` pseudo-elements may be included in any `::first-line` and `::first-letter` pseudo-elements applied to its originating element.

https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo
> If the characters that would form the `::first-letter` are not in the same element, such as `’T` in `<p>’<em>T...`, the user agent may create a `::first-letter` pseudo-element from one of the elements, both elements, or simply not create a pseudo-element.

"may" but how to now it it should or not ?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4578 using your GitHub account
Received on Tuesday, 10 December 2019 14:24:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC