[wpt-sync] Sync PR 37135 - Tighten accepted argument count in font-variant-alternates parsing
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37135 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37135
Details from upstream follow.
Dominik Röttsches <drott@chromium.org> wrote:
Tighten accepted argument count in font-variant-alternates parsing
Follow-up from previous font-variant-alternates parsing CL for stricter
following of the grammar. Only styleset() and character-variant() can
take multiple alias arguments, the other function-like values cannot.Add WPT tests specifically for font-variant-alternates valid and invalid
parsing.Tests verified passing against Firefox as well.
Bug: 716567
Change-Id: Ibd2b69572ad6d5df24f701cdfe71551b5e725421
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4055101
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Dominik Röttsches \<drott@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1075724}
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
Description
•