[Webkit-unassigned] [Bug 233320] Update shadow DOM and dialog element focusing to latest spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 05:35:26 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=233320

Jouni Koivuviita <jouni at vaadin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jouni at vaadin.com

--- Comment #3 from Jouni Koivuviita <jouni at vaadin.com> ---
I’m not entirely sure this is 100% related or worthy a new bug report, but there’s an issue in Safari Tech Preview 141, when the dialog and the content of the dialog are in different DOM "scopes" (light DOM vs shadow DOM).

The content is not focusable at all using the Tab key, and the dialog is not closed when clicking a button inside a <form method="dialog">.

Here’s a test case I created for the four different cases: https://jsbin.com/finugon/

- Dialog and content in light DOM (works)
- Dialog in light DOM, content in shadow DOM (broken)
- Dialog and content in shadow DOM (works)
- Dialog in shadow DOM, content in light DOM (slotted) (broken)

-- 
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/20220307/ec41e242/attachment.htm>


More information about the webkit-unassigned mailing list