- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Fri, 28 Dec 2018 20:41:19 +0000
- To: public-css-archive@w3.org
I suspect what's happening in Firefox is that it's following this advice from CSS2 / Selectors 3: “To allow UAs to render a typographically correct drop cap or initial cap, the UA may choose a line-height, width and height based on the shape of the letter, unlike for normal elements. CSS3 is expected to have specific properties that apply to first-letter.” https://www.w3.org/TR/CSS2/selector.html#first-letter https://www.w3.org/TR/selectors-3/#application-in-css We're planning to remove that allowance in favor of the `initial-letter` feature, so that ::first-letter floats won't be this weird undefined exception. But in the meantime it looks like Firefox tried to make things work better typographically for ::first-letters. Fwiw, you can change colors, backgrounds, and font-family even when using `initial-letter`, nothing you're doing there seems out of reach. We just need the spec finished and implemented. :) -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2959#issuecomment-450423797 using your GitHub account
Received on Friday, 28 December 2018 20:41:20 UTC