Bug 1467351 [wpt PR 11374] - [css-contain] Layout containment overflowing contents...
commit8e67f7e06e6b0aa5ea421f06d9e4a291270ebc96
authorManuel Rego Casasnovas <rego@igalia.com>
Mon, 25 Jun 2018 22:22:01 +0000 (25 22:22 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Wed, 27 Jun 2018 23:19:02 +0000 (27 16:19 -0700)
tree5b5b8ad3248ffa97a196867fcfd34ff7a243bc9b
parent4a396cbdbabc648642478834d500fe8ca0072983
Bug 1467351 [wpt PR 11374] - [css-contain] Layout containment overflowing contents as ink overflow, a=testonly

Automatic update from web-platform-tests[css-contain] Layout containment overflowing contents as ink overflow

Text form the spec
(https://drafts.csswg.org/css-contain/#containment-layout):
  "If the contents of the element overflow the element,
  they must be treated as ink overflow."

The patch modifies LayoutBox::LayoutOverflowRectForPropagation()
so the overflowing contents of an element with "contain: layout"
are treated as ink overflow. That way they don't interfere at all
in the layout of its ancestors.

BUG=843320
TEST=external/wpt/css/css-contain/contain-layout-015.html

Change-Id: Iedd47edf46a0e4ce0e4102abe5881d25771fe0fa
Reviewed-on: https://chromium-review.googlesource.com/1087462
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#564826}

--

wpt-commits: 892738fabee6bc4c7e720177f45e295fcb981b8d
wpt-pr: 11374
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-contain/contain-layout-015.html [new file with mode: 0644]