Closed Bug 1467351 Opened Last year Closed Last year

[wpt-sync] Sync PR 11374 - [css-contain] Layout containment overflowing contents as ink overflow

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:
>  [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
>  WPT-Export-Revision: cf2f6fdbaec2bc4e49b43d061d755c5cd21015be
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests
FAIL   : 1

New tests that have failures or other problems:
/css/css-contain/contain-layout-015.html: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/42907423c6cd
[wpt PR 11374] - [css-contain] Layout containment overflowing contents as ink overflow, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/9db7a55ae594
[wpt PR 11374] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/37f92000fe86
[wpt PR 11374] - [css-contain] Layout containment overflowing contents as ink overflow, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0f2426bd139
[wpt PR 11374] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/37f92000fe86
https://hg.mozilla.org/mozilla-central/rev/a0f2426bd139
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.