Summary: | Fix the paint ordering of text decorations | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | Text | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | jonlee, mmaxfield, ntim, sime.vidas, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://drafts.csswg.org/css-text-decor-4/#painting |
Description
Myles C. Maxfield
2019-03-25 00:26:08 PDT
+1. We also do something similar for spelling dots. According to the CSS Text Decoration specification [1], text underlines should be drawn under (beneath) the text. Test page: https://output.jsbin.com/yusuzed/quiet In Chrome and Firefox, the text underline is drawn under the text, and the text’s descenders are fully visible. In Safari, the text underline is drawn over the text, and the descenders are completely covered by the underline and thus not visible. Since the spec and other browsers agree on this, I suggest implementing this behavior in Safari as well. [1]: https://drafts.csswg.org/css-text-decor-4/#painting *** This bug has been marked as a duplicate of bug 227445 *** |