[Webkit-unassigned] [Bug 266894] 'getElementsByName' not work on non-HTML namespaces
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 27 00:49:31 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266894
--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
At the same time if I use querySelectorAll, I get the same result than getElementsByName.
# Safari
> document.querySelectorAll("[name='math']")
< NodeList [<p>, <math>] (2)
> document.querySelectorAll("[name='svg']")
< NodeList [<p>, <svg>] (2)
# Firefox
> document.querySelectorAll("[name='math']")
< NodeList [ p, math ]
> document.querySelectorAll("[name='svg']")
< NodeList [ p, svg ]
In some ways, Firefox seems more inconsistent.
--
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/20231227/4a089025/attachment-0001.htm>
More information about the webkit-unassigned
mailing list