[Webkit-unassigned] [Bug 247096] New: XMLSerializer.serializeToString() should support Attr node as parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 26 15:49:46 PDT 2022


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

            Bug ID: 247096
           Summary: XMLSerializer.serializeToString() should support Attr
                    node as parameter
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

I just came across another bug / testcase, which is failing in Safari 16 / Safari TP 156:

Test Case - https://jsfiddle.net/20no3p91/show

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/271184ec08ca181a7d93eed532f3ce9efb9c0bcc

WPT Cover - Nope

Gecko - Failing similar to Webkit as of right now.

_________

Webkit Source - https://github.com/WebKit/WebKit/blob/f6f2c95eb900fce4967fbfb6586416363eb4fe7e/Source/WebCore/editing/MarkupAccumulator.cpp#L602

To do:

result.appendAttribute(downcast<Attr>(node).value());

or

appendAttribute(downcast<Attr>(node).value());

or something else totally.

NOTE - Add "Attr.h" header as well.

_____

Just wanted to create bug, so if I end up doing PR then I have something or else someone else take it up.

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/20221026/19b0c766/attachment.htm>


More information about the webkit-unassigned mailing list