[css-fonts-5] font-size-adjust: from-font
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: mozilla-apprentice, Assigned: jfkthame)
References
Details
(Keywords: dev-doc-complete)
Attachments
(6 files)
A resolution was made for csswg-drafts/#5539.
[css-fonts-5] font-size-adjust: auto
- RESOLVED: add from-font keyword to font-size-adjust
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•2 years ago
|
||
The Safari 17 beta now supports this.
Assignee | ||
Comment 2•2 years ago
|
||
And revert WPT metadata change from da1d83c060 as the font-size-adjust-013 test does not currently pass,
once all parts of the test are back within the reftest area.
(A recent change from Chrome increased the font size used in this test, but this made it start
unexpectedly "passing" for us because the last pair of test glyphs fell outside the reftest
captured area.)
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
The spec says that from-font
computes to a number based on the first available font,
so the currnet test is bogus.
https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-from-font
Depends on D182448
Assignee | ||
Comment 4•2 years ago
|
||
I don't think there's any reason to keep this pref around; let's just clean it up.
Depends on D182449
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D182450
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D182451
Comment 8•2 years ago
|
||
Backed out 5 changesets (Bug 1708240) for causing failures in test_css-properties-db.js CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=424510407&repo=autoland&lineNumber=4584
Backout: https://hg.mozilla.org/integration/autoland/rev/0213f09b86096158f0331bd77d8fe9a8a3a38189
Assignee | ||
Comment 9•2 years ago
|
||
Ah - missed running mach devtools-css-db
. :( Updated the patch.
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4e53660f7575
https://hg.mozilla.org/mozilla-central/rev/042666e7ff9e
https://hg.mozilla.org/mozilla-central/rev/7e72f10cf94c
https://hg.mozilla.org/mozilla-central/rev/4148a3755a1e
https://hg.mozilla.org/mozilla-central/rev/8e6d6287c0af
Comment 15•2 years ago
|
||
MDN doc updates for this feature can be tracked through this GitHub issue: https://github.com/mdn/content/issues/28842
Comment 16•2 years ago
|
||
Hello, I have a question - in Web Developer Tools, Styles inspector, the font-size-adjust
property is missing ex-height
in the list of values (as seen in Nightly 119). Is this intentional?
Assignee | ||
Comment 17•2 years ago
|
||
Hmm -- I guess that's related to ex-height
being the default metric, which can be omitted when specifying the value (so font-size-adjust: 0.5
means exactly the same as font-size-adjust: ex-height 0.5
, and serialization will always omit it). But we should expose it in the list here anyhow, as it is valid syntax.
It looks to me like just adding an annotation here should fix this; I'll check in a local build.
Comment 18•2 years ago
|
||
Thanks!
Description
•