[webkit-changes] [WebKit/WebKit] 3719e0: Remove HTML conformance concepts from MathML code
Anne van Kesteren
noreply at github.com
Mon May 29 10:10:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3719e049046bfe237cc3d0aa041735cbb8a68d41
https://github.com/WebKit/WebKit/commit/3719e049046bfe237cc3d0aa041735cbb8a68d41
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html-integration-point-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/math-parse03-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/inert/inert-on-non-html-expected.txt
M LayoutTests/mathml/presentation/foreign-element-in-annotation-xml-expected.txt
M LayoutTests/mathml/presentation/foreign-element-in-annotation-xml.html
M LayoutTests/mathml/presentation/foreign-element-in-token-expected.txt
M LayoutTests/mathml/presentation/foreign-element-in-token.html
A LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
R LayoutTests/platform/gtk/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
M LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
M LayoutTests/platform/mac-ventura/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
R LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
R LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
A LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
R LayoutTests/platform/wpe/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt
M Source/WebCore/mathml/MathMLAnnotationElement.cpp
M Source/WebCore/mathml/MathMLPresentationElement.cpp
M Source/WebCore/mathml/MathMLPresentationElement.h
M Source/WebCore/mathml/MathMLTokenElement.cpp
Log Message:
-----------
Remove HTML conformance concepts from MathML code
https://bugs.webkit.org/show_bug.cgi?id=256833
rdar://109710721
Reviewed by Frédéric Wang.
MathML should not be itself validating what elements can and cannot be
nested inside of it. It's really a function of the node tree and CSS
whether something ends up rendering or not.
* LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html-integration-point-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/math-parse03-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/inert/inert-on-non-html-expected.txt:
* LayoutTests/mathml/presentation/foreign-element-in-annotation-xml-expected.txt:
* LayoutTests/mathml/presentation/foreign-element-in-annotation-xml.html:
* LayoutTests/mathml/presentation/foreign-element-in-token-expected.txt:
* LayoutTests/mathml/presentation/foreign-element-in-token.html:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt.
* LayoutTests/platform/gtk/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: Removed.
* LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt:
* LayoutTests/platform/mac-ventura/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt:
* LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: Renamed from LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt.
* LayoutTests/platform/wpe/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: Removed.
* Source/WebCore/mathml/MathMLAnnotationElement.cpp:
(WebCore::MathMLAnnotationElement::childShouldCreateRenderer const):
* Source/WebCore/mathml/MathMLPresentationElement.cpp:
(WebCore::MathMLPresentationElement::isPhrasingContent): Deleted.
(WebCore::MathMLPresentationElement::isFlowContent): Deleted.
* Source/WebCore/mathml/MathMLPresentationElement.h:
* Source/WebCore/mathml/MathMLTokenElement.cpp:
(WebCore::MathMLTokenElement::childShouldCreateRenderer const):
Canonical link: https://commits.webkit.org/264657@main
More information about the webkit-changes
mailing list