[Webkit-unassigned] [Bug 267734] rustup.rs: position relative of a div inside a button is handled differently in browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 00:07:33 PST 2024


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rustup.rs: Copy icon is not |rustup.rs: position
                   |correctly placed            |relative of a div inside a
                   |                            |button is handled
                   |                            |differently in browsers
           Keywords|                            |BrowserCompat

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
A more reduced test case

<button>
  <div>
  </div>
</button>

button {
  height: 50px;
  width: 50px;
  outline: 3px solid green;
}

div {
  height: 30px;
  width: 30px;
  position: relative;
  top: 50%;
  left: 50%;
  outline: 2px solid red;
}

-- 
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/20240129/7c7e193d/attachment.htm>


More information about the webkit-unassigned mailing list