[wpt-sync] Sync PR 29930 - [mathml] Fix parsing of <mo> text content.
Categories
(Core :: MathML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29930 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29930
Details from upstream follow.
b'Fr\xc3\xa9d\xc3\xa9ric Wang <fwang@igalia.com>' wrote:
[mathml] Fix parsing of <mo> text content.
Currently MathMLOperatorElement::ParseOperatorContent() relies on
Node::HasOneTextChild() to check and parse the text content of an \<mo>
element. This does not work well if the element contains a comment
(e.g. \<mo>�x2211;\<!-- sum -->\</mo>) or was constructed dynamically
by appending two characters (e.g. \<mo>==\</mo>). This CL fixes that
issue by letting ParseOperatorContent() check the node children
directly.Bug: 6606
Change-Id: I5642f2cef254ee0e005b4a0b7e45624a8066e2fe
Reviewed-on: https://chromium-review.googlesource.com/3076234
WPT-Export-Revision: 149078c3b60298d769b6c346b6e01117073dc543
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8a01007ef2b5b1cdbf58af03612c250c730f1e7a
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9dce96962f635d8d3afa734271aa6a9678adc2f1
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/mathml/presentation-markup/operators/mo-single-char-and-children.html: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0cc2fcd13377 [wpt PR 29930] - [mathml] Fix parsing of <mo> text content., a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•