Implement ascent-override, descent-override, and line-gap-override
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: tobi, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(9 files)
|
12.17 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Steps to reproduce:
It would be very useful if you could implement ascent-override, descent-override, and line-gap-override.
More info:
https://bugs.chromium.org/p/chromium/issues/detail?id=800693
(especially comments #20, #30 and #31)
https://tobireif.com/non_site_stuff/test_case_for_font_position_report_yet_another_font/
https://www.w3.org/TR/css-fonts-4/#font-metrics-override-desc
Comment 2•4 years ago
|
||
Hi,
I've chosen a component for this bug in hope that someone may look at it. We'll await for their answer. If you consider that there's another component that's more proper for this case you may change it.
Regards, Flor.
Updated•4 years ago
|
Here's one reason why it's important to implement this feature:
https://tobireif.com/posts/ensuring_the_correct_vertical_position_of_large_text/
(And there's another reason listed in the post below "Another use case".)
Given that the issue can be as severe as in the attached screenshot, please consider assigning a high priority to implementing this feature.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 6•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D109285
| Assignee | ||
Comment 8•4 years ago
|
||
Depends on D109286
| Assignee | ||
Comment 9•4 years ago
|
||
Depends on D109287
| Assignee | ||
Comment 10•4 years ago
|
||
Depends on D109288
| Assignee | ||
Comment 11•4 years ago
|
||
Depends on D109289
| Assignee | ||
Comment 12•4 years ago
|
||
Depends on D109290
Updated•4 years ago
|
| Assignee | ||
Comment 13•4 years ago
|
||
Depends on D109287
Comment 14•4 years ago
|
||
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
Comment 19•4 years ago
|
||
Comment 20•4 years ago
|
||
Backed out for wpt failures on fontface-override-descriptor-getter-setter.sub.html and idlharness.https.html
Failure log: https://treeherder.mozilla.org/logviewer?job_id=334003534&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/a81bade3ba3a3873a89a402d5374e8e456cd81f3
Comment 21•4 years ago
|
||
Comment 22•4 years ago
•
|
||
Backed out for causing wpt failuresin idlharness.https.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/7275678ff756180616f5d550e660d721af304865
LE:
Also failed on fontface-override-descriptor-getter-setter.sub.html
| Reporter | ||
Comment 24•4 years ago
|
||
Thanks all for working on this! 🔥🔥🔥🔥🔥
Comment 25•4 years ago
|
||
Comment 27•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/05c9db2ef078
https://hg.mozilla.org/mozilla-central/rev/800c1908e363
https://hg.mozilla.org/mozilla-central/rev/bb712701f65a
https://hg.mozilla.org/mozilla-central/rev/3f78a589cfed
https://hg.mozilla.org/mozilla-central/rev/b9aa305826a2
https://hg.mozilla.org/mozilla-central/rev/ba2dad1a5220
https://hg.mozilla.org/mozilla-central/rev/cac338430f0d
https://hg.mozilla.org/mozilla-central/rev/1c77bd7b8c3f
| Reporter | ||
Comment 29•4 years ago
|
||
Thanks all!
| Assignee | ||
Updated•4 years ago
|
Comment 30•4 years ago
|
||
I have written the pages for these descriptors on MDN, updated BCD, added to the release notes.
Description
•