Space around floated first-letter differs from that in Chrome and IE11 (in "drop caps" effect)
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
| Webcompat Priority | P2 |
People
(Reporter: f.conijn, Unassigned)
References
Details
(Whiteboard: [layout:backlog])
Attachments
(2 files)
Updated•9 years ago
|
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Comment 6•7 years ago
|
||
Still seeing this issue today in Firefox 70.0b13, here's a link to a demo a web developer put together that demonstrates the issue when loaded in Firefox and other browsers: https://jsfiddle.net/J7Luke/e1jax0r5/2
While Firefox's behaviour might not be forbidden according to the spec, it's certainly breaking cross-browser styling and causing headaches for developers as it behaves differently in Firefox than how all other browsers appear to handle this.
It would be a big win for all developers if Firefox could align its behaviour with other browsers!
Comment 7•6 years ago
•
|
||
This affects a recent prominent New York Times article as well:
https://www.nytimes.com/interactive/2020/01/19/opinion/amy-klobuchar-elizabeth-warren-nytimes-endorsement.html
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
/* styles.min.0d2442960be8d84a4b9e60e5be29aa41790f9542.css | https://www.newyorker.com/verso/static/the-new-yorker/styles.min.0d2442960be8d84a4b9e60e5be29aa41790f9542.css */
.grid .body__container > p.has-dropcap.has-dropcap__lead-standard-heading::first-letter {
/* padding: .1em .05em 0 0; */
padding: .1em .05em 0.599px 0;
}
and just for the fun, a very simple 0.6px is enough to change dramatically the layout in this case.
Updated•6 years ago
|
Comment 12•5 years ago
|
||
I ran into this issue (I think) with an article on another not-yet-mentioned-here website (with an article that was featured in my weekly Pocket Hits email):
https://www.inputmag.com/features/rise-and-ruin-of-couchsurfing
Comment 14•4 years ago
|
||
This is also likely affecting The Verge's dropcaps right now, which are actually SVG background images that appear "cut off" (almost like a glyph with an incorrect baseline), because the dimensions of the box differ from Chrome (especially counting the precise negative margins they're giving them to look correct on WebKit/Blink).
Updated•4 years ago
|
Comment 15•4 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 6 duplicates and 5 See Also bugs.
:jfkthame, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 16•4 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 17•3 years ago
|
||
This bug could be marked as a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=415506
Comment 18•3 years ago
|
||
Yeah -- clicking through into a "see-also" bug over there, bug 1552731 seems quite similar, and it itself is a dupe of older bug 290125.
(And bug 290125 has some references to sites like The Verge having this sort of issue, e.g. https://github.com/webcompat/web-bugs/issues/7160 )
--> Duping to bug 290125.
Description
•