Repository navigation
[GTK][WPE] Remove support for named spaces and nonzero unitless lengths - #5023
Conversation
|
EWS run on previous version of this PR (hash 7416a4f) Details |
|
EWS run on previous version of this PR (hash 49c9953) Details
|
|
EWS run on previous version of this PR (hash 952b5f9) Details |
|
EWS run on previous version of this PR (hash 749d975) Details |
|
EWS run on previous version of this PR (hash 32cb421) Details
|
There was a problem hiding this comment.
Is coreMathMLEnabled accurate? Is it not more a question of support mode for unitless/named spaces? I think the name could be better.
There was a problem hiding this comment.
Right, I guess I can rename.
|
EWS run on previous version of this PR (hash d114c00) Details
|
|
EWS run on previous version of this PR (hash 8158dcf) Details |
|
EWS run on current version of this PR (hash c02b45b) Details
|
https://bugs.webkit.org/show_bug.cgi?id=197494 Reviewed by Rob Buis. This commit removes support for named spaces and nonzero unitless lengths in WebKit when the MathML Core flag is enabled [1] [2], which is currently the case on GTK and WPE platforms. It also adds a few more WPT tests to cover attributes implemented in WebKit. [1] https://developer.mozilla.org/en-US/docs/Web/MathML/Attribute/Values#legacy_mathml_lengths [2] https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded#legacy_syntax * LayoutTests/TestExpectations: Remove a test fixed by this change. * LayoutTests/accessibility/mac/mathml-line-fraction.html: This test uses a nonzero unitless value, so disable the MathML Core. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001.html: enable MathML Core. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002-expected.txt: Update expectation. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002.html: enable MathML Core. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/mpadded/mpadded-legacy-length-values-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/mpadded/mpadded-legacy-length-values.html: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-lspace-rspace-legacy-length-values-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-lspace-rspace-legacy-length-values.html: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-minsize-maxsize-legacy-length-values-expected.txt: Added. There seem to be an existing stretching bug unrelated to this change that make maxsize tests fail. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-minsize-maxsize-legacy-length-values.html: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/mspace-legacy-length-values-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/mspace-legacy-length-values.html: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-2-expected.txt: Update expectation. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-2-expected.txt: Ditto. * LayoutTests/mathml/non-core/positive-namedspace.html: Renamed from LayoutTests/mathml/presentation/positive-namedspace.html. This test is specifically tested namedspace so disable disable the MathML Core. Also move it to non-core directory. * LayoutTests/mathml/non-core/positive-namedspace-expected.html: Ditto. * LayoutTests/mathml/presentation/mo-form-expected.html: This test uses namedspaces but actually does not need to do so, so tweak it. * LayoutTests/mathml/presentation/non-bmp-operators-spacing-expected.html: Ditto. * LayoutTests/mathml/presentation/non-bmp-operators-stretching-expected.html: Ditto. * Source/WebCore/mathml/MathMLFractionElement.cpp: (WebCore::MathMLFractionElement::lineThickness): Pass boolean to indicate whether to support legacy MathML lengths. * Source/WebCore/mathml/MathMLPresentationElement.cpp: (WebCore::MathMLPresentationElement::parseNumberAndUnit): Make parsing fails for nonzero unitless. (WebCore::MathMLPresentationElement::parseMathMLLength): Make parsing fails for namedspace and pass boolean to indicate whether to support legacy MathML lengths. (WebCore::MathMLPresentationElement::cachedMathMLLength): * Source/WebCore/mathml/MathMLPresentationElement.h: Add new boolean to indicate whether to support legacy MathML lengths. Canonical link: https://commits.webkit.org/255818@main
|
Committed 255818@main (f243e31): https://commits.webkit.org/255818@main Reviewed commits have been landed. Closing PR #5023 and removing active labels. |
f243e31
c02b45b
🛠 mac🛠 🧪 win🛠 wincairo🧪 ios-wk2🧪 api-ios🧪 api-mac🧪 api-gtk🧪 mac-wk1🧪 mac-wk2🧪 mac-AS-debug-wk2🧪 mac-wk2-stress