[Webkit-unassigned] [Bug 49341] REGRESSION: <option> outside of <select> hides children
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 5 08:51:15 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=49341
Anne van Kesteren <annevk at annevk.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |annevk at annevk.nl
Component|WebCore Misc. |Layout and Rendering
Summary|REGRESSION: Select |REGRESSION: <option>
|combo-box not displayed |outside of <select> hides
| |children
Blocks|41115 |
--- Comment #30 from Anne van Kesteren <annevk at annevk.nl> ---
The problem is that the <option> element is not treated as if it were the equivalent of a <span> when it doesn't have a <select> parent.
More minimal testcase: https://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cp%3EYou%20should%20see%20two%20dropdowns%3A%0A%3Cp%3E%3Cselect%3E%3Coption%3E1%3C%2Fselect%3E%0A%3Cp%3E%3Coption%3E%3Cselect%3E%3Coption%3E2%3C%2Fselect%3E
Chromium does this somewhat wrong too, but it doesn't hide the children completely as the screenshot from Ahmad shows.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=41115
[Bug 41115] [meta] HTML5 parser compatibility regressions
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230405/5ea68341/attachment.htm>
More information about the webkit-unassigned
mailing list