Fix optgroup and hr rendering for appearance:base-select
andelements, like s, are slotted into the UA shadowroot of s but removed from the layout tree in LayoutFlexibleBox in order to give them a computed style. We have a separate case for this logic in LayoutFlexibleBox when rendering a with appearance:base-select which was only accounting for s. This results in a bug where s and
s are rendered outside of the when the picker is closed. This patch fixes this by including and along with in LayoutFlexibleBox. Change-Id: I5066a564e3ccbbc79722741d4de598b713bf7832 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5750124 Reviewed-by: Mason Freed masonf@chromium.org Commit-Queue: Joey Arhar jarhar@chromium.org Cr-Commit-Position: refs/heads/main@{#1339736}