Bug 134018 - mathml/roots-removeChild.html fails
Summary: mathml/roots-removeChild.html fails
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on: 119038 133557 133899 153987
  Show dependency treegraph
Reported: 2014-06-18 00:00 PDT by Frédéric Wang (:fredw)
Modified: 2016-06-17 10:00 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2014-06-18 00:00:56 PDT
When the <msqrt> element is initially empty, nothing is drawn. When the first renderer child is added, an anonymous <mo> radical sign is inserted. In order to be consistent, this radical sign should be removed when we remove all the child elements of <msqrt>. However, this caused bug 133899 so for now I've kept the anonymous <mo> radical sign and marked mathml/roots-removeChild.html as failing.

Perhaps a better method would be to create the anonymous <mo> radical sign immediately from the beginning, and not to wait that a first child is inserted.
Comment 1 Frédéric Wang (:fredw) 2016-02-05 06:02:30 PST
This issue is fixed on Alex's MathMLLayout branch, after the RenderMathMLRoot refactoring.
Comment 2 Frédéric Wang (:fredw) 2016-06-17 10:00:59 PDT
This test passes after http://trac.webkit.org/changeset/202168 and the TestExpectation has been updated.