Implement the `size-adjust` descriptor for @font-face rules
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(7 files, 3 obsolete files)
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 |
Currently under discussion in the CSS WG, as a generally better alternative to the advance-override
descriptor that has also been proposed.
I'm currently referring to this as glyph-scale-factor
, but other names are possible, e.g. font-size-override
as mentioned by fantasai.
There has been some work in Chrome already to prototype this, but was dropped for now due to uncertainty about how to spec it.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D108579
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D108580
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
According to https://lists.w3.org/Archives/Public/www-style/2021Mar/0025.html, Chromium is aiming to ship this in M91, and is asking for a CSSWG stamp of approval for Intent-to-Ship.
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D110022
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D110023
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D110024
Assignee | ||
Comment 9•3 years ago
|
||
Depends on D110025
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3246c484808 Add the size-adjust descriptor to the style system. r=emilio https://hg.mozilla.org/integration/autoland/rev/89af6ae2b87f Add webidl support for size-adjust. r=emilio https://hg.mozilla.org/integration/autoland/rev/aec8182ce898 Annotate webidl declarations of @font-face descriptors that are behind prefs. r=emilio https://hg.mozilla.org/integration/autoland/rev/0d287a99e2da Implement size-adjust font scaling in gfx/thebes font code. r=emilio https://hg.mozilla.org/integration/autoland/rev/8ac355d20cdc Add a simple WPT reftest for the @font-face size-adjust descriptor. r=emilio https://hg.mozilla.org/integration/autoland/rev/0a31ac97a384 Add test for font-size-adjust property overriding size-adjust descriptor. r=emilio https://hg.mozilla.org/integration/autoland/rev/faf491f54f8e Add simple test for setting the sizeAdjust attribute via FontFace constructor. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28289 for changes under testing/web-platform/tests
Comment 14•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3246c484808
https://hg.mozilla.org/mozilla-central/rev/89af6ae2b87f
https://hg.mozilla.org/mozilla-central/rev/aec8182ce898
https://hg.mozilla.org/mozilla-central/rev/0d287a99e2da
https://hg.mozilla.org/mozilla-central/rev/8ac355d20cdc
https://hg.mozilla.org/mozilla-central/rev/0a31ac97a384
https://hg.mozilla.org/mozilla-central/rev/faf491f54f8e
Upstream PR merged by moz-wptsync-bot
Comment 16•3 years ago
|
||
I have added this to experimental features, BCD, and documented it on MDN.
Description
•