Bug 159622 - Move parsing of subscriptshift and superscriptshift from rendering to element classes
Summary: Move parsing of subscriptshift and superscriptshift from rendering to element...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Frédéric Wang (:fredw)
URL:
Keywords:
Depends on: 120069 156792
Blocks: 156536
  Show dependency treegraph
 
Reported: 2016-07-11 07:07 PDT by Frédéric Wang (:fredw)
Modified: 2016-07-18 22:43 PDT (History)
1 user (show)

See Also:


Attachments
Patch (19.15 KB, patch)
2016-07-18 06:06 PDT, Frédéric Wang (:fredw)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2016-07-11 07:07:42 PDT
This is bug 156536 for the subscriptshift and superscriptshift attributes.
Comment 1 Frédéric Wang (:fredw) 2016-07-11 07:09:48 PDT
These attributes are currently parsed in RenderMathMLScripts.
Comment 2 Frédéric Wang (:fredw) 2016-07-18 06:06:49 PDT
Created attachment 283902 [details]
Patch
Comment 3 Darin Adler 2016-07-18 10:02:30 PDT
Comment on attachment 283902 [details]
Patch

The constructor of RenderMathMLScripts should also be changed to take MathMLScriptsElement& instead of Element&.
Comment 4 Frédéric Wang (:fredw) 2016-07-18 21:57:23 PDT
(In reply to comment #3)
> The constructor of RenderMathMLScripts should also be changed to take
> MathMLScriptsElement& instead of Element&.

I can not do that now since this renderer is also used for munder/mover/munderover but will consider it in bug 159625 and keep it in mind for other renderers too.
Comment 5 Frédéric Wang (:fredw) 2016-07-18 22:43:46 PDT
Committed r203396: <http://trac.webkit.org/changeset/203396>