Closed Bug 1470399 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11622 - [css-contain] Size containment replaced elements intrinsic size is zero

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:
>  [css-contain] Size containment replaced elements intrinsic size is zero
>  
>  The spec is very clear about this
>  (https://drafts.csswg.org/css-contain/#containment-size):
>    "Replaced elements must be treated as having an intrinsic width
>     and height of 0."
>  
>  The patch modifies LayoutReplaced::ComputeIntrinsicSizingInfo()
>  so that it returns zero for elements with "contain: size".
>  
>  BUG=853441
>  TEST=external/wpt/css/css-contain/contain-size-013.html
>  
>  Change-Id: I91490b120a110be20a91d564da4fdc3d9a11b70a
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1110819
>  WPT-Export-Revision: eab6ff813c665e25de2a97dd52413dded1ff45d5
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-size-013.html: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/17d56ab196b8
[wpt PR 11622] - [css-contain] Size containment replaced elements intrinsic size is zero, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a741b6e1e24b
[wpt PR 11622] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/17d56ab196b8
https://hg.mozilla.org/mozilla-central/rev/a741b6e1e24b
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.