[wpt-sync] Sync PR 49148 - Delay clamping calc() values in filter properties until computed value time.
Categories
(Core :: Web Painting, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49148 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49148
Details from upstream follow.
Steinar H. Gunderson <sesse@chromium.org> wrote:
Delay clamping calc() values in filter properties until computed value time.
This fixes a crash when we have sign() with something complicated
on the inside.Change-Id: I51fb2309472baac69c96eaf0d347982986710dc4
Reviewed-on: https://chromium-review.googlesource.com/6018425
WPT-Export-Revision: b64b6dee19272bb975193ae296f6e79cca77141a
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 39 subtests
Status Summary
Firefox
OK : 2
PASS: 71
FAIL: 2
Chrome
OK : 2
PASS: 72
FAIL: 1
Safari
OK : 2
PASS: 73
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/filter-effects/parsing/filter-parsing-valid.html [wpt.fyi]
- e.style['filter'] = "grayscale(calc(101% * sign(1em - 1px)))" should set the property value:
FAIL
- e.style['filter'] = "grayscale(calc(101% * sign(1em - 1px)))" should set the property value:
New Tests That Don't Pass
- /css/filter-effects/parsing/filter-parsing-valid.html [wpt.fyi]
- e.style['filter'] = "grayscale(calc(300%))" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['filter'] = "grayscale(calc(101% * sign(1em - 1px)))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS)
- e.style['filter'] = "grayscale(calc(300%))" should set the property value:
https://hg.mozilla.org/mozilla-central/rev/4023383d5a36
https://hg.mozilla.org/mozilla-central/rev/4ee48c28c8dc
Description
•