[Webkit-unassigned] [Bug 249323] New: Make Attr.value/nodeValue/textContent not nullable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 14 10:07:23 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=249323
Bug ID: 249323
Summary: Make Attr.value/nodeValue/textContent not nullable
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 noted another bug where we differ from other browsers:
Test Case - http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3528
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/a7c3bb9f22401c30e906a3ec53595247e707de83
*** Safari 16.2 / STP 159 ***
log: attr.value=null => getAttribute()=="null"
log: attr.nodeValue=null => getAttribute()==null
log: attr.textContent=null => getAttribute()==null
rendering mode: CSS1Compat
document has no title
*** Chrome Canary 110 & Firefox Nightly 110 ***
log: attr.value=null => getAttribute()=="null"
log: attr.nodeValue=null => getAttribute()==""
log: attr.textContent=null => getAttribute()==""
rendering mode: CSS1Compat
document has no title
_____
Just wanted to raise it for future purposes.
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/80d0aa5b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list