RESOLVED FIXED 161050
Introduce a MathMLRowElement class for mrow-like elements
https://bugs.webkit.org/show_bug.cgi?id=161050
Summary Introduce a MathMLRowElement class for mrow-like elements
Frédéric Wang (:fredw)
Reported 2016-08-22 12:07:50 PDT
Another step for bug 160543.
Attachments
Patch (21.98 KB, patch)
2016-08-22 12:29 PDT, Frédéric Wang (:fredw)
darin: review+
Patch (38.84 KB, patch)
2016-08-23 00:55 PDT, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2016-08-22 12:29:35 PDT
Frédéric Wang (:fredw)
Comment 2 2016-08-22 12:57:57 PDT
Comment on attachment 286612 [details] Patch I noticed that the constructor of RenderMathMLRow (and its derived class) can now take MathMLRowElement (or a derived class) as a parameter.
Darin Adler
Comment 3 2016-08-22 23:45:25 PDT
Comment on attachment 286612 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286612&action=review > Source/WebCore/mathml/MathMLRowElement.h:39 > + void childrenChanged(const ChildChange&) final; Seems this could be private instead of protected. > Source/WebCore/mathml/MathMLRowElement.h:42 > + bool acceptsDisplayStyleAttribute() override; > + bool acceptsMathVariantAttribute() override; Seems these could both be final instead of override and private instead of protected.
Frédéric Wang (:fredw)
Comment 4 2016-08-23 00:55:01 PDT
Created attachment 286689 [details] Patch Updated patch that also force renderer constructors to take a MathMLRowElement and make more element classes inherits from MathMLRowElement.
Frédéric Wang (:fredw)
Comment 5 2016-08-23 01:29:56 PDT
Note You need to log in before you can comment on or make changes to this bug.