Closed Bug 1706495 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28608 - [ReplacedNG] Fix box-sizing within ComputeReplacedSize.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:

[ReplacedNG] Fix box-sizing within ComputeReplacedSize.

This fixes the box-sizing used within ComputeReplacedSize. If
aspect-ratio isn't present, we use kContentBox, otherwise we follow the
standard rules for aspect-ratio.

This includes a super subtle test for when we use the aspect-ratio +
one natural-size to compute the natural size in the other axis.

Bug: 1114280
Change-Id: Icc631d69173aedb898e0c2f7de78d7cc428f9167
Reviewed-on: https://chromium-review.googlesource.com/2842078
WPT-Export-Revision: 3024f80ad1a06f50f6765cd3cb275ab20fb6760a

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/beb1dea8dfeb [wpt PR 28608] - [ReplacedNG] Fix box-sizing within ComputeReplacedSize., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.