[Webkit-unassigned] [Bug 201946] New: SVG <foreignObject> renders the child whose style="will-change: transform" even if its size is zero

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 18 14:52:06 PDT 2019


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

            Bug ID: 201946
           Summary: SVG <foreignObject> renders the child whose
                    style="will-change: transform" even if its size is
                    zero
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

Created attachment 379076

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

foreignObject-will-change-transform

Open the attached test case:

Result: The text "Test" appears twice: one inside a box and the other without a box.
Expected:  The text "Test" appears only once inside a box.

The test case has two <foreignObject> elements.

-- The first one has the dimension of 100x100. Inside this <foreignObject>, there is a <div> element with the text "Test". The border of <foreignObject> and the text of the <div> appear as expected.
-- The second one has the dimension of 0x0. Inside this <foreignObject>, there is a <div> element with the text "Test". The <div> element has the style="will-change: transform". The border of <foreignObject> does not appear as expected. But the text of the <div> element appears.

-- 
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/20190918/f7d8736c/attachment-0001.html>


More information about the webkit-unassigned mailing list