mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests [layout] Fix <select multiple> within a column flexbox. In: https://chromium-review.googlesource.com/c/chromium/src/+/6498560 we call CalculateIntrinsicBlockSizeIgnoringChildren which assumes that we wont touch any children as they may not have been laid out yet. This was an incorrect assumption, specifically a "<select multiple>" inspects its children querying their size to determine its default intrinsic block-size. See "ListBoxItemBlockSize" Not great! Ideally we'd remove the code in ListBoxItemBlockSize, and add some special logic within BlockLayoutAlgorithm to mitigate this, but that's a larger change. For now - just plumb a bool through "children_have_geometry" to indicate if we are allowed to inspect a child's geometry. Bug: 428005645 Change-Id: I7703436004612a1c64510be1554d4b49aa307777 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6701552 Commit-Queue: Ian Kilpatrick <[email protected]> Reviewed-by: David Grogan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1481975} -- wpt-commits: ff9ab9f0bde8342077f343044e9fd52b31ec4cab wpt-pr: 53555
7 lines
130 B
HTML
7 lines
130 B
HTML
<!DOCTYPE html>
|
|
<div style="width: 100px;">
|
|
<select multiple style="width: 100%;">
|
|
<option>test</option>
|
|
</select>
|
|
</div>
|