[Webkit-unassigned] [Bug 249299] New: Check documentElement conditions in parser* DOM mutation methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 14 03:20:05 PST 2022


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

            Bug ID: 249299
           Summary: Check documentElement conditions in parser* DOM
                    mutation methods
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While going through Blink's commit, I came across a test case where all browsers differ:

Test Case - https://jsfiddle.net/ckqy396n/

Blink's Commit - https://chromium.googlesource.com/chromium/blink/+/806c35622c8a96348b269aa00e00b3f5c4648709

*** Safari Technology 159 & Safari 16.2 ***

document.documentElement.outerHTML: <a></a>
document.childNodes.length: 2
b element: [object HTMLElement]

*** Chrome Canary 110 ***

document.documentElement.outerHTML: <a></a>
document.childNodes.length: 1
b element: null

*** Firefox Nightly 110 ***

Nothing - Nada... No output / alert etc

___

Just wanted to raise this bug to get input whether there is something to fix here or raise web-spec clarification.

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/20221214/336af99f/attachment.htm>


More information about the webkit-unassigned mailing list