Closed Bug 1556941 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17181 - [css-contain] Fix <select> dimensions with size containment

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:

[css-contain] Fix <select> dimensions with size containment

Elements with "contain: size" should be treated as having no contents,
that's not happening for \<select> elements.
To fix this we add a check for size containment in
LayoutMenuList::UpdateOptionsWidth().

BUG=966673
TEST=external/wpt/css/css-contain/contain-size-select-001.html

Change-Id: Ie71a16e113d7bef4fd5c7b62e1838feba9b15cb2
Reviewed-on: https://chromium-review.googlesource.com/1643872
WPT-Export-Revision: 6c44ff1a7f1165295890603dc9a7de85cc7fc234

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0640add82aa
[wpt PR 17181] - [css-contain] Fix <select> dimensions with size containment, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream] → [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.