[wpt-sync] Sync PR 29096 - [css-fonts] Avoid SECURITY_DCHECK failure with system font in animations
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
526.43 KB,
text/plain
|
Details |
Sync web-platform-tests PR 29096 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29096
Details from upstream follow.
b'Oriol Brufau <obrufau@igalia.com>' wrote:
[css-fonts] Avoid SECURITY_DCHECK failure with system font in animations
r885715 added CSSPendingSystemFontValue in order to handle system fonts
at parse time, deferring the resolution until computed-value time.The problem was that animations weren't using StyleBuilderConverter, so
these CSSPendingSystemFontValue would remain unresolved in e.g.element.animate([{"font":"icon"}], {"duration": 1000});
Therefore, this patch makes CSSFontStretchInterpolationType and
CSSFontWeightInterpolationType use StyleBuilderConverter, just like
CSSFontVariationSettingsInterpolationType was already doing.Bug: 1212321
TEST=external/wpt/css/css-fonts/animations/system-fonts.html
Some checks fail because the font-size of a system font interpolates
discretely. Worked well before r885715, I will fix it in a follow-up.Change-Id: Ic20664cc7103c3f0a1fc6f7bb97a988f9326aa04
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/2915713
WPT-Export-Revision: 31c306d0645050641f46f434837a59e37cf6a320
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
Comment 6•5 years ago
|
||
| bugherder | ||
Description
•