Bug
1466970 [wpt PR 11359] - [css-contain] Disable layout containment for certain elements, a=testonly
Automatic update from web-platform-tests[css-contain] Disable layout containment for certain elements
Text from the spec
(https://drafts.csswg.org/css-contain/#containment-layout):
"... if the element is an internal table element other than
display: table-cell, or if the element is an internal ruby element,
or if the element’s principal box is a non-atomic inline-level box,
layout containment has no effect."
The patch disables "contain: layout" for internal table elements
but table cells, internal ruby elements and
non-atomic inline-level boxes.
Some of the new tests pass or fail incidentally due to crbug.com/785212,
once that's fixed all the tests should be working as expected.
BUG=843329
TEST=external/wpt/css/css-contain/contain-layout-008.html
TEST=external/wpt/css/css-contain/contain-layout-009.html
TEST=external/wpt/css/css-contain/contain-layout-010.html
TEST=external/wpt/css/css-contain/contain-layout-011.html
TEST=external/wpt/css/css-contain/contain-layout-012.html
TEST=external/wpt/css/css-contain/contain-layout-013.html
TEST=external/wpt/css/css-contain/contain-layout-014.html
Change-Id: I5f0893a9ce69dc8e76cf16acb1b8556bf0e02adf
Reviewed-on: https://chromium-review.googlesource.com/
1087268
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#564631}
--
wpt-commits:
c0fbd59769588391d78838086bd02ad394301655
wpt-pr: 11359