Revision 46c8d39a9fde254df3398c681fd724990d289892 authored by Manuel Rego Casasnovas on 22 June 2018, 14:40:57 UTC, committed by Blink WPT Bot on 22 June 2018, 15:00:17 UTC
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 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#569610}
1 parent fb04aed
File | Mode | Size |
---|---|---|
support | ||
META.yml | -rw-r--r-- | 44 bytes |
capture_audio-manual.html | -rw-r--r-- | 1.3 KB |
capture_audio_cancel-manual.html | -rw-r--r-- | 795 bytes |
capture_fallback_file_upload-manual.html | -rw-r--r-- | 1.7 KB |
capture_image_cancel-manual.html | -rw-r--r-- | 791 bytes |
capture_image_environment-manual.html | -rw-r--r-- | 1.5 KB |
capture_image_invalid-manual.html | -rw-r--r-- | 1.4 KB |
capture_image_missing-manual.html | -rw-r--r-- | 1.4 KB |
capture_image_user-manual.html | -rw-r--r-- | 1.5 KB |
capture_reflect.html | -rw-r--r-- | 2.5 KB |
capture_video_cancel-manual.html | -rw-r--r-- | 802 bytes |
capture_video_environment-manual.html | -rw-r--r-- | 1.5 KB |
capture_video_invalid-manual.html | -rw-r--r-- | 1.4 KB |
capture_video_missing-manual.html | -rw-r--r-- | 1.4 KB |
capture_video_user-manual.html | -rw-r--r-- | 1.5 KB |
idlharness.html | -rw-r--r-- | 1.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...