[Webkit-unassigned] [Bug 259313] New: Only special-case document element outermost <svg> embedded via a frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 18 12:42:16 PDT 2023


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

            Bug ID: 259313
           Summary: Only special-case document element outermost <svg>
                    embedded via a frame
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
               URL: http://wpt.live/svg/extensibility/foreignObject/foreig
                    n-object-containing-svg-in-svg-in-object.html
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WPTImpact
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: sabouhallawa at apple.com, simon.fraser at apple.com,
                    zimmermann at kde.org

Hi Team,

This is just merge of Blink commit:

Commit: https://chromium-review.googlesource.com/c/chromium/src/+/4681730

It is to modify following:

https://github.com/WebKit/WebKit/blob/3dfb58beb2151d8039d5e56f6ddccddc9cd9d1ce/Source/WebCore/rendering/svg/LegacyRenderSVGRoot.cpp#L127

Change:

if (!frame().ownerRenderer())

to

if (!frame().ownerRenderer() || !isDocumentElementRenderer())

______

Similar in LBSE to fix both in one go. It compiles and work.

_____

Just raising to fix it.

Thanks!

-- 
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/20230718/73d27122/attachment.htm>


More information about the webkit-unassigned mailing list