[Webkit-unassigned] [Bug 200383] New: <foreignObject> doesn't establish a containing block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 1 22:38:11 PDT 2019


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

            Bug ID: 200383
           Summary: <foreignObject> doesn't establish a containing block
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xidorn-webkit at upsuper.org
                CC: zimmermann at kde.org

Created attachment 375397

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

testcase

See the attached testcase, the green box should be 200px away from the top and left edge, however it's attached to the two edges on Safari.

I'm not sure whether there is any spec about the behavior here, but I think it makes sense that <foreignObject> should establish a containing block so that absolutely-positioned element wouldn't escape out of <foreignObject>.

-- 
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/20190802/5dfd78d2/attachment.html>


More information about the webkit-unassigned mailing list