Enable "text-decoration-skip-ink" by default on Nightly/early-beta
Categories
(Core :: Layout: Text and Fonts, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: dholbert, Assigned: cmarlow)
References
(Depends on 1 open bug, Regressed 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
We should consider enabling text-decoration-skip-ink
by default on Nightly, to get some early testing even if it's not quite ready to ride the trains. (And text-decoration-thickness
and text-underline-offset
as well, actually.)
If there are any known serious bugs that would need to be fixed before doing that, then we should mark them as blocking this bug.
Once we're ready to do this, I think the patch is just a one-liner, replacing false
with @IS_NIGHTLY_BUILD@
in the snippet for each pref in the yaml file, e.g. here:
https://searchfox.org/mozilla-central/rev/ab6f4c453d15ab82147c630a8b886b40240ca72b/modules/libpref/init/StaticPrefList.yaml#4044
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
(er, copypaste error -- didn't mean to make this dependent on bug 1572709. If that bug were a real regression caused by this feature, it probably would be a good dependency, but it looks like that's not at all clear right now.)
RE depending on bug 1572291: I suspect we could go either way on that blocking this bug - definitely blocks shipping, but perhaps doesn't need to block enabling by default on Nightly if we want to get this tested sooner. (jfkthame may have opinions on this too.)
As long as we fail gracefully (e.g. if we just draw the full line, like normal), I don't think it's a huge problem to enable by default on Nightly with bug 1572291 unfixed.
Assignee | ||
Comment 2•5 years ago
|
||
I'm hoping to submit the patch to jfkthame for that bug either later today or early next week, but I agree it doesn't make a huge difference if it fails gracefully.
Comment 3•5 years ago
|
||
I don't have any objection to enabling this on Nightly even before bug 1572291 is done.
I'd favor turning on all the new text-decoration features at the same time, and aiming to let them all ride the trains together when we're ready to ship to release; I think it'll be easier for authors if we treat them as a "package deal" that all come together.
Comment 4•5 years ago
|
||
Setting the 'dev-doc-needed' keyword, so I remember to update https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features once the patch for this landed.
Just a friendly reminder here that it would be awesome if the reporter or implementer already set that flag on things that should be mentioned on MDN web docs and/or https://platform-status.mozilla.org/.
Sebastian
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D41880
Updated•5 years ago
|
Reporter | ||
Comment 7•5 years ago
|
||
Note to self: when this lands, we should also land bug 1573724 and bug 1573725.
Also, one common nit for all three bugs: the patch's commit message should say "nightly and early beta" rather than "Nightly". Toggling needinfo=cmarlow to fix that across all three commits.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 8•5 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #7)
Note to self: when this lands, we should also land bug 1573724 and bug 1573725.
Also, one common nit for all three bugs: the patch's commit message should say "nightly and early beta" rather than "Nightly". Toggling needinfo=cmarlow to fix that across all three commits.
Actually, since phabricator makes it easy, I just hand-edited the commit messages in the webUI to add "(in early-beta and earlier) " and landed those other patches. And we can land this bug's patches, too, in a bit, once we've got the .ini fix in part 0.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/97d2c2478643
https://hg.mozilla.org/mozilla-central/rev/ac9ebd3dead0
Updated•5 years ago
|
Comment 13•5 years ago
|
||
This still looks broken, as described here:
http://forums.mozillazine.org/viewtopic.php?f=23&t=3053225
Comment 14•5 years ago
|
||
Added the info that it's enabled by default on Nightly. See https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#text-decoration-skip-ink, plus text-decoration-thickness
and text-underline-offset
.
Sebastian
Reporter | ||
Comment 15•5 years ago
|
||
(In reply to Worcester12345 from comment #13)
This still looks broken, as described here:
http://forums.mozillazine.org/viewtopic.php?f=23&t=3053225
There's not a lot of info on that page. (I just see someone expressing an opinion that it "simply looks, odd".)
If you have a particular scenario in mind where it looks odd/broken (where Chrome/Safari do not look similarly-odd to you), would you mind filing a bug with more info, and posting the bug link here?
Comment 16•5 years ago
|
||
You need to look at the photos there, and you will see.
Reporter | ||
Comment 17•5 years ago
|
||
I see only a single "before/after" screenshot on that thread, and it looks fine to me...
Again: if something is wrong, please file a bug with a clear description of what you think is wrong. (If particular underline-gaps look especially broken, please be specific.)
This bug here is closed, so it's not a great place to have a back-and-forth about followup issues (but is a great way to tie together follow issues that are tracked in their own separate followup bugs.)
Description
•