Closed Bug 1488658 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12840 - [css-contain] Fix size containment in elements with scrollbars

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12840 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12840 Details from upstream follow. Manuel Rego Casasnovas <rego@igalia.com> wrote: > [css-contain] Fix size containment in elements with scrollbars > > To determine the size of an element with "contain: size" > we should treat it as having no contents > (https://drafts.csswg.org/css-contain/#containment-size). > > Scrollbars are not part of the box's contents, > so we should take them into account to determine box size. > > BUG=872794 > TEST=external/wpt/css/css-contain/contain-size-scrollbars-001.html > > Change-Id: I166af8469243a9c3b52c3e30569d1d81c3de6e9e > Reviewed-on: https://chromium-review.googlesource.com/1206210 > WPT-Export-Revision: 0f777b218302312a208483da291759c352826c88
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/ab38b730ae07 [wpt PR 12840] - [css-contain] Fix size containment in elements with scrollbars, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.