mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibXML: Set XMLNS namespace for xmlns attribute
This is what Blink and Gecko do, and is required for serialization (innerHTML etc.) of XML elements to work.
This commit is contained in:
parent
f0a306fe50
commit
cad3b085a8
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/sppmacd
Commit: cad3b085a8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/616
Issue: https://github.com/LadybirdBrowser/ladybird/issues/612
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/sideshowbarker
3 changed files with 21 additions and 1 deletions
2
Tests/LibWeb/Text/expected/DOM/DOMParser-xmlns.txt
Normal file
2
Tests/LibWeb/Text/expected/DOM/DOMParser-xmlns.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
namespaceURI=http://www.w3.org/2000/xmlns/ prefix=null localName=xmlns value=http://www.w3.org/2000/svg
|
||||
namespaceURI=http://www.w3.org/2000/xmlns/ prefix=xmlns localName=test value=foo
|
Loading…
Add table
Add a link
Reference in a new issue