Re: [csswg-drafts] [css-pseudo] Settle what happens when first-letter characters are in different elements

Hmmm, so Gecko and WebKit decide to create such pseudo-element in the first element, Blink creates one in the inner one (and it doesn't create any `::first-letter` in case of `<p><span>‘</span><span>Ti</span></p>`), and Edge creates two.

Not sure which is better for this case... Maybe Edge's behavior makes the most of sense? The fact that it creates two pseudo-elements may have some surprising implication (e.g. if you use `linear-gradient(to right, red, lime)` as background rather than a single color, you would see two gradients on Edge), but I'm not sure how much it matters.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2243#issuecomment-361827526 using your GitHub account

Received on Wednesday, 31 January 2018 05:24:32 UTC