Closed Bug 1802470 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 37135 - Tighten accepted argument count in font-variant-alternates parsing

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
109 Branch
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}

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f2fb8b428089 [wpt PR 37135] - Tighten accepted argument count in font-variant-alternates parsing, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.