[wpt-sync] Sync PR 65118 - layout: Restrict `<svg>` natural sizes to numbers and absolute length literals
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65118 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65118
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
layout: Restrict
<svg>natural sizes to numbers and absolute length literalsAccording to the CSSWG resolution from https://github.com/w3c/csswg-drafts/issues/14117
We will no longer allow
calc(), relative units likeem, or negative amounts.Testing: Adding new test
Reviewed in servo/servo#49837
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=123214
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 120 subtests
Status Summary
Firefox
OK : 1
PASS: 101
FAIL: 19
Chrome
OK : 1
PASS: 31
FAIL: 89
Safari
OK : 1
PASS: 21
FAIL: 99
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-sizing/svg-intrinsic-size-012.html [wpt.fyi]
- "1em" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1rem" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1ex" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1rex" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1cap" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1rcap" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1ch" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1rch" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1ic" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1ric" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1lh" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1rlh" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1vw" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1vh" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1vmin" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "1vmax" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "0em" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "0rem" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL) - "0vw" is NOT a valid natural size:
FAIL(Chrome:FAIL, Safari:FAIL)
- "1em" is NOT a valid natural size:
Comment 3•8 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4a9cf4821df8
https://hg.mozilla.org/mozilla-central/rev/11f07f8af3c2
Description
•