Skip to content

merge_pr_17196

In r666210 we fixed the dimensions of <select> elements
with size containment.
However the fix was not covering the case when you set
"contain: size" to an already existent <select> element.

To fix this we need to reset the options width
in LayoutMenuList::UpdateOptionsWidth().

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

Change-Id: I162134ff050d64e9ff1d824b5747adafb9a993c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647152
Reviewed-by: Christian Biesinger <[email protected]>
Commit-Queue: Manuel Rego <[email protected]>
Cr-Commit-Position: refs/heads/master@{#666594}
Assets 2
Loading