Add a shadow element to each of menulist SELECTs
This CL introduces blink::MenuListInnerElement, which will replace the anonymous block in LayoutMenuList. For now, we just add the element to UA shadow tree with display:none. So this CL doesn't have any changes on SELECT rendering. * UpdateUserAgentShadowTree() Add MenuListInnerElement as the first child of ShadowRoot if UsesMenuList(). Otherwise, remove it from the UA shadow tree. * Update some test expectations for the new shadow element. Bug: 1040828 Change-Id: I6c59c45dcc41baa41ff0e0ab060c14c2eefb6cff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032645Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#737248}
Showing
Please register or sign in to comment