Closed Bug 1974408 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 53422 - Don't parse percentage inside CSS <angle> types

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 53422 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/53422
Details from upstream follow.

Daniil Sakhapov <sakhapov@chromium.org> wrote:

Don't parse percentage inside CSS <angle> types

Those cases are invalid at parse time per spec, since they don't
have any calculation context[1] to resolve percentage against.

[1] https://drafts.csswg.org/css-values-4/#calculation-contexts

Bug: 416644951
Change-Id: I9fa303ef85e1a8cd430aaf0479f90f1ad1e219fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6659447
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Daniil Sakhapov \<sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1479168}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 8 subtests

Status Summary

Firefox

OK : 1
PASS: 8

Chrome

OK : 1
FAIL: 8

Safari

OK : 1
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.