[Webkit-unassigned] [Bug 173872] New: Inner elements inside a button are clipped as if the button has overflow: hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 27 05:41:33 PDT 2017


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

            Bug ID: 173872
           Summary: Inner elements inside a button are clipped as if the
                    button has overflow: hidden
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kizmarh at ya.ru

Created attachment 313908

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

Screenshot of the testcase showing the clipping

See a testcase: https://codepen.io/kizu/pen/BZmmqL

When we have a button element with something inside of it that goes beyond its dimensions, anything that goes beyond the button's box is clipped as if the button has `overflow: hidden`, while it is not (manually setting `overflow: visible` won't fix it either). This can be fixed by adding the `position: relative` to the inner element, but in other browsers including Chrome everything works as intended, without that clipping.

Screenshot of the testcase attached.

-- 
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/20170627/d610b0bf/attachment-0001.html>


More information about the webkit-unassigned mailing list