[Webkit-unassigned] [Bug 32393] Comments and PIs in the internal subset appear as siblings of the doctype

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 10 04:19:39 PDT 2022


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

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #5 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to reproduce this based on Test cases from Comment 04:

Test Case 1 - http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=6580

*** Safari 15.6 on macOS 12.5 ***

[object ProcessingInstruction]

& DOM View:

DOCTYPE: html

*** Chrome Canary 106 ***

[object ProcessingInstruction]

& DOM View:

DOCTYPE: html
HTML
HEAD
BODY
#text: ...
IFRAME src="data:text/xml,<!DOCTYPE html [<?x?>]><html xmlns='http://www.w3.org/1999/xhtml'><script>alert(document.documentElement.previousSibling)</script></html>"

*** Firefox Nightly 106 ***

[object DocumentType]

& DOM View:

    DOCTYPE: html
    HTML
        HEAD
        BODY
            #text: ...
            IFRAME src="data:text/xml,<!DOCTYPE html [<?x?>]><html xmlns='http://www.w3.org/1999/xhtml'><script>alert(document.documentElement.previousSibling)</script></html>"

___________

Test Case 2 - http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=6581

*** Safari 15.6 on macOS 12.5 ***

Show Red background in iframe

*** Chrome Canary 106 ***

Show Red background in iframe

*** Firefox Nightly 106 ***

Does not show "Red" background in iframe

_________

Just wanted to share updated test results. 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/20220810/5edaa6d1/attachment-0001.htm>


More information about the webkit-unassigned mailing list