Closed Bug 1940036 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 49917 - Resolve % as 0 for the min-content contribution of replaced elements

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

Resolve % as 0 for the min-content contribution of replaced elements

width and max-width typically treat expressions with percentages as their initial value, but for the min-content contribution of replaced elements, percentages should instead resolve against zero.

https://drafts.csswg.org/css-sizing-3/#replaced-percentage-min-contribution

<!-- Please describe your changes on the following line: -->

Reviewed in servo/servo#32103

Component: web-platform-tests → Layout
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
PASS: 8

Safari

OK : 1
PASS: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/432382578dd7 [wpt PR 49917] - Resolve % as 0 for the min-content contribution of replaced elements, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.