Summary: | Introduce a MathMLRowElement class for mrow-like elements | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||||
Component: | MathML | Assignee: | Frédéric Wang (:fredw) <fred.wang> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 160543, 161053, 161230, 161232 | ||||||||
Attachments: |
|
Description
Frédéric Wang (:fredw)
2016-08-22 12:07:50 PDT
Created attachment 286612 [details]
Patch
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.
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. Created attachment 286689 [details]
Patch
Updated patch that also force renderer constructors to take a MathMLRowElement and make more element classes inherits from MathMLRowElement.
Committed r204779: <http://trac.webkit.org/changeset/204779> |