Closed Bug 1465977 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11284 - [css-contain] Disable size containment on different elements

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:
>  [css-contain] Disable size containment on different elements
>  
>  Text from the spec
>  (https://drafts.csswg.org/css-contain/#containment-size):
>    "... if the element is an internal table element, or if the element
>    is an internal ruby element, or if the element’s principal box
>    is a non-atomic inline-level box, size containment has no effect."
>  
>  The patch disables "contain: size" for internal table elements,
>  internal ruby elements and non-atomic inline-level boxes.
>  
>  BUG=843329
>  TEST=external/wpt/css/css-contain/contain-size-005.html
>  TEST=external/wpt/css/css-contain/contain-size-006.html
>  TEST=external/wpt/css/css-contain/contain-size-007.html
>  TEST=external/wpt/css/css-contain/contain-size-008.html
>  TEST=external/wpt/css/css-contain/contain-size-009.html
>  TEST=external/wpt/css/css-contain/contain-size-010.html
>  TEST=external/wpt/css/css-contain/contain-size-011.html
>  TEST=external/wpt/css/css-contain/contain-size-012.html
>  
>  Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
>  Change-Id: Ie3264b5c76eb04ec97064b3da8706d840924597f
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1080799
>  WPT-Export-Revision: 3ec6ac976bd7497d3975e232da5c81a1f26ea313
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3fea2efe796b
[wpt PR 11284] - [css-contain] Disable size containment for certain elements, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b2b676af1e1
[wpt PR 11284] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/3fea2efe796b
https://hg.mozilla.org/mozilla-central/rev/6b2b676af1e1
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.