-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text Decoration Line Uniformity #23
Comments
cc @mrego who I've seen working on @mrego if you have information about interop issues in this space, and in particular examples of web developer's asking for it or struggling with it, that would be fantastic! |
We're working on wavy text-decorations (CC @delan), due to our work on adding support to Still there are more issues related to
@BoCupp-Microsoft & @dandclark from Edge team showed interest on fixing those kind of problems in the discussion related to highlight pseudos. But I don't know if they have any developer feedback regarding that. Anyway, I was aware of some of the issues described by @jfkthame (the ones related to subscripts and superscripts). But I'm not particularly aware of developers feedback around this topic, I guess the interop bug reports that Firefox is getting show that kind of problem. |
While text decoration hasn't been a hotspot of complaints in any survey I've looked at, it has been brought up. Here's a quote from the State of CSS 2021 results:
Another, going back to the MDN compat survey responses:
Those are the only mentions that I can clearly tie to Aside While searching for that, I noticed that were also mentions of
|
This might be related to this bug https://bugs.webkit.org/show_bug.cgi?id=230083. |
Yeah, one of the biggest problems with Blink’s text-decoration impl is that we “propagate” decorations with an inheritance hack, rather than with decorating boxes as required by the spec. Here are some more bugs for the list: |
I'm going to make this a compat bug under #9 |
These are not exactly the same problem, but one interop issue related to text decorations that I came across today: https://bugs.chromium.org/p/chromium/issues/detail?id=1172623 (this one has caused interop issues on the wild: https://bugzilla.mozilla.org/show_bug.cgi?id=1728453). And there are a few others related too: https://bugs.chromium.org/p/chromium/issues/detail?id=1225248 & https://bugs.chromium.org/p/chromium/issues/detail?id=1273042 |
Description
Text Decoration Line Uniformity and the 'decorating box'
Specification
css-text-decor-4
Tests
https://wpt.fyi/results/css/css-text-decor/text-decoration-subelements-001.html
https://wpt.fyi/results/css/css-text-decor/text-decoration-subelements-002.html
https://wpt.fyi/results/css/css-text-decor/text-decoration-subelements-003.html
Rationale
Lack of interoperability here is an ongoing source of webcompat issues, e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=1584348.
Failure to correctly follow the spec makes it virtually impossible for an author to achieve good results with text that contains, for example,
<sub>
and<sup>
elements, as in the example given in the spec.Sample bugs:
https://bugs.webkit.org/show_bug.cgi?id=135353
https://bugs.webkit.org/show_bug.cgi?id=190772
https://bugs.chromium.org/p/chromium/issues/detail?id=855589
https://bugs.chromium.org/p/chromium/issues/detail?id=1008951
The text was updated successfully, but these errors were encountered: