Put the @font-face src tech() function behind a pref
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
Details | Review |
In bug 1715546, we added the tech() function to the @font-face src descriptor. However, there are a couple of current issues/discussions that may lead to a change in the set of supported keywords, so we may want to hold back a little on actually shipping this.
-
In https://github.com/w3c/IFT/pull/113, the WebFonts WG proposes several new
incremental-*
keywords (and maybe implies dropping the currently-definedincremental
?) -
In https://github.com/w3c/csswg-drafts/issues/7633, I just proposed renaming the
feature-*
keywords tofeatures-*
(plural) for better readability; I'd like to see a decision on that before we ship this to release.
So I suggest we should put the parsing of tech(...)
behind a pref, and enable it only on Nightly for now. (We'll want to uplift this to beta-105, as bug 1715546 is already there.)
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Comment on attachment 9291328 [details]
Bug 1786804 - Put the @font-face src tech() function behind a pref, enabled only on Nightly for now. r=emilio
Beta/Release Uplift Approval Request
- User impact if declined: The new
tech()
function for CSS@font-face
will be exposed prematurely (see comment 0). - Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Trivial patch, just adds a pref to control parsing the new function, and defaults to nightly-only.
- String changes made/needed: none
- Is Android affected?: Yes
Assignee | ||
Comment 4•2 years ago
|
||
We need to include this, otherwise the test will start failing on beta.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
Comment 7•2 years ago
|
||
bugherder |
Comment 8•2 years ago
|
||
Comment on attachment 9291328 [details]
Bug 1786804 - Put the @font-face src tech() function behind a pref, enabled only on Nightly for now. r=emilio
Approved for 105.0b3.
Comment 9•2 years ago
|
||
bugherder uplift |
Description
•