Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0afcbcac01bd6803608f52f2e9204926ade3d2fd
https://github.com/WebKit/WebKit/commit/0afcbcac01bd6803608f52f2e9204926ade3d2fd
Author: codesculpture <[email protected]>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/domparsing/XMLSerializer-serializeToString-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/domparsing/XMLSerializer-serializeToString.html
M Source/WebCore/editing/MarkupAccumulator.cpp
Log Message:
-----------
Serializing children of void elements
https://bugs.webkit.org/show_bug.cgi?id=277440
Reviewed by Anne van Kesteren.
As per XML, if void elements contains children, the children also gets
serialized,
as void elements concepts are only valid in HTML, So checking whether the
syntax is xml, then it must have close tag except if it doesn't have children
*
LayoutTests/imported/w3c/web-platform-tests/domparsing/XMLSerializer-serializeToString-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/domparsing/XMLSerializer-serializeToString.html:
* Source/WebCore/editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::serializeNodesWithNamespaces):
Canonical link: https://commits.webkit.org/282725@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes