[Webkit-unassigned] [Bug 261945] New: iOS 17 > <button /> inner <form /> can't summon popover element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 22 06:48:56 PDT 2023


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

            Bug ID: 261945
           Summary: iOS 17 > <button /> inner <form /> can't summon
                    popover element.
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: iOS 17
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: meistudioli at gmail.com

Created attachment 467824

  --> https://bugs.webkit.org/attachment.cgi?id=467824&action=review

test case

Safari Version       : 17
OS                   : iOS


Steps to reproduce the problem
1. put a <button type="button" /> inner a <form /> and set popovertarget.
2. press the button and expect popover element popup.

What is the expected behavior?
1. popover element popup.

What went wrong?
1. popover element doesn't popup.


Sample code (attachment):
<style>
#my-popover {
  inset: 0;
  padding: 32px;
  border-radius: 16px;
  margin: auto;
}
</style>

<form>
  <button type="button" popovertarget="my-popover">tap me</button>
</form>
<div id="my-popover" popover>I am popover</div>

-- 
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/20230922/ee7fb20d/attachment.htm>


More information about the webkit-unassigned mailing list