<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[204779] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/204779">204779</a></dd>
<dt>Author</dt> <dd>fred.wang@free.fr</dd>
<dt>Date</dt> <dd>2016-08-23 01:28:07 -0700 (Tue, 23 Aug 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Introduce a MathMLRowElement class for mrow-like elements
https://bugs.webkit.org/show_bug.cgi?id=161050
Reviewed by Darin Adler.
We introduce a MathMLRowElement class for elements creating RenderMathMLRow renderers.
We also force constructors of the corresponding renderer classes to accept MathMLRowElement.
It's not clear whether semantics-xml really needs to create RenderMathMLRow but for now
we make MathMLAnnotationElement inherits from MathMLRowElement to preserve that behavior.
No new tests, behavior is unchanged.
* CMakeLists.txt: Add MathMLRowElement files.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* mathml/MathMLAllInOne.cpp: Ditto.
* mathml/MathMLInlineContainerElement.cpp: Remove unused headers.
(WebCore::MathMLInlineContainerElement::createElementRenderer): Handle some mrow-like
elements in the MathMLRowElement class.
(WebCore::MathMLInlineContainerElement::acceptsDisplayStyleAttribute): Ditto.
(WebCore::MathMLInlineContainerElement::childrenChanged): Deleted. We only need to calculate
the form for operators inside a MathMLRowElement.
(WebCore::MathMLInlineContainerElement::acceptsMathVariantAttribute): Deleted. mstyle is
handled in the MathMLRowElement class.
* mathml/MathMLInlineContainerElement.h: Update function declarations.
* mathml/MathMLMathElement.cpp: Make this class inherits from MathMLRowElement.
* mathml/MathMLMathElement.h: Ditto.
* mathml/MathMLPaddedElement.cpp: Ditto.
* mathml/MathMLPaddedElement.h: Ditto.
* mathml/MathMLSelectElement.cpp: Ditto.
* mathml/MathMLSelectElement.h: Ditto.
* mathml/MathMLAnnotationElement.cpp: Ditto.
* mathml/MathMLAnnotationElement.h: Ditto.
* mathml/MathMLRowElement.cpp: New class for mrow-like element.
(WebCore::MathMLRowElement::MathMLRowElement):
(WebCore::MathMLRowElement::create):
(WebCore::MathMLRowElement::childrenChanged): Move code from MathMLInlineContainerElement.
(WebCore::MathMLRowElement::createElementRenderer): Ditto.
(WebCore::MathMLRowElement::acceptsDisplayStyleAttribute): Ditto.
(WebCore::MathMLRowElement::acceptsMathVariantAttribute): Ditto.
* mathml/MathMLRowElement.h:
* mathml/mathtags.in: Map tags creating RenderMathMLRow renderers to MathMLRowElement.
* rendering/mathml/RenderMathMLFenced.cpp: Force the constructor to take MathMLRowElement.
* rendering/mathml/RenderMathMLFenced.h: Ditto.
* rendering/mathml/RenderMathMLMath.cpp: Ditto.
* rendering/mathml/RenderMathMLMath.h: Ditto.
* rendering/mathml/RenderMathMLMenclose.cpp: Force the constructor to take MathMLMencloseElement.
* rendering/mathml/RenderMathMLMenclose.h: Ditto.
* rendering/mathml/RenderMathMLRoot.cpp: Force the constructor to take MathMLRowElement.
* rendering/mathml/RenderMathMLRoot.h: Ditto.
* rendering/mathml/RenderMathMLRow.cpp: Ditto and add an helper function element() to
retrieve the MathMLRowElement.
* rendering/mathml/RenderMathMLRow.h: Ditto.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLAllInOnecpp">trunk/Source/WebCore/mathml/MathMLAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLAnnotationElementcpp">trunk/Source/WebCore/mathml/MathMLAnnotationElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLAnnotationElementh">trunk/Source/WebCore/mathml/MathMLAnnotationElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLInlineContainerElementcpp">trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLInlineContainerElementh">trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMathElementcpp">trunk/Source/WebCore/mathml/MathMLMathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMathElementh">trunk/Source/WebCore/mathml/MathMLMathElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMencloseElementcpp">trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMencloseElementh">trunk/Source/WebCore/mathml/MathMLMencloseElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLPaddedElementcpp">trunk/Source/WebCore/mathml/MathMLPaddedElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLPaddedElementh">trunk/Source/WebCore/mathml/MathMLPaddedElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLSelectElementcpp">trunk/Source/WebCore/mathml/MathMLSelectElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLSelectElementh">trunk/Source/WebCore/mathml/MathMLSelectElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlmathtagsin">trunk/Source/WebCore/mathml/mathtags.in</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLFencedcpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLFencedh">trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLMathcpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLMathh">trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLMenclosecpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLMencloseh">trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLRootcpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLRooth">trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.h</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLRowcpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLRowh">trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoremathmlMathMLRowElementcpp">trunk/Source/WebCore/mathml/MathMLRowElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLRowElementh">trunk/Source/WebCore/mathml/MathMLRowElement.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -2011,6 +2011,7 @@
</span><span class="cx"> mathml/MathMLOperatorDictionary.cpp
</span><span class="cx"> mathml/MathMLOperatorElement.cpp
</span><span class="cx"> mathml/MathMLPaddedElement.cpp
</span><ins>+ mathml/MathMLRowElement.cpp
</ins><span class="cx"> mathml/MathMLScriptsElement.cpp
</span><span class="cx"> mathml/MathMLSelectElement.cpp
</span><span class="cx"> mathml/MathMLSpaceElement.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/ChangeLog        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -1,3 +1,58 @@
</span><ins>+2016-08-23 Frederic Wang <fred.wang@free.fr>
+
+ Introduce a MathMLRowElement class for mrow-like elements
+ https://bugs.webkit.org/show_bug.cgi?id=161050
+
+ Reviewed by Darin Adler.
+
+ We introduce a MathMLRowElement class for elements creating RenderMathMLRow renderers.
+ We also force constructors of the corresponding renderer classes to accept MathMLRowElement.
+ It's not clear whether semantics-xml really needs to create RenderMathMLRow but for now
+ we make MathMLAnnotationElement inherits from MathMLRowElement to preserve that behavior.
+
+ No new tests, behavior is unchanged.
+
+ * CMakeLists.txt: Add MathMLRowElement files.
+ * WebCore.xcodeproj/project.pbxproj: Ditto.
+ * mathml/MathMLAllInOne.cpp: Ditto.
+ * mathml/MathMLInlineContainerElement.cpp: Remove unused headers.
+ (WebCore::MathMLInlineContainerElement::createElementRenderer): Handle some mrow-like
+ elements in the MathMLRowElement class.
+ (WebCore::MathMLInlineContainerElement::acceptsDisplayStyleAttribute): Ditto.
+ (WebCore::MathMLInlineContainerElement::childrenChanged): Deleted. We only need to calculate
+ the form for operators inside a MathMLRowElement.
+ (WebCore::MathMLInlineContainerElement::acceptsMathVariantAttribute): Deleted. mstyle is
+ handled in the MathMLRowElement class.
+ * mathml/MathMLInlineContainerElement.h: Update function declarations.
+ * mathml/MathMLMathElement.cpp: Make this class inherits from MathMLRowElement.
+ * mathml/MathMLMathElement.h: Ditto.
+ * mathml/MathMLPaddedElement.cpp: Ditto.
+ * mathml/MathMLPaddedElement.h: Ditto.
+ * mathml/MathMLSelectElement.cpp: Ditto.
+ * mathml/MathMLSelectElement.h: Ditto.
+ * mathml/MathMLAnnotationElement.cpp: Ditto.
+ * mathml/MathMLAnnotationElement.h: Ditto.
+ * mathml/MathMLRowElement.cpp: New class for mrow-like element.
+ (WebCore::MathMLRowElement::MathMLRowElement):
+ (WebCore::MathMLRowElement::create):
+ (WebCore::MathMLRowElement::childrenChanged): Move code from MathMLInlineContainerElement.
+ (WebCore::MathMLRowElement::createElementRenderer): Ditto.
+ (WebCore::MathMLRowElement::acceptsDisplayStyleAttribute): Ditto.
+ (WebCore::MathMLRowElement::acceptsMathVariantAttribute): Ditto.
+ * mathml/MathMLRowElement.h:
+ * mathml/mathtags.in: Map tags creating RenderMathMLRow renderers to MathMLRowElement.
+ * rendering/mathml/RenderMathMLFenced.cpp: Force the constructor to take MathMLRowElement.
+ * rendering/mathml/RenderMathMLFenced.h: Ditto.
+ * rendering/mathml/RenderMathMLMath.cpp: Ditto.
+ * rendering/mathml/RenderMathMLMath.h: Ditto.
+ * rendering/mathml/RenderMathMLMenclose.cpp: Force the constructor to take MathMLMencloseElement.
+ * rendering/mathml/RenderMathMLMenclose.h: Ditto.
+ * rendering/mathml/RenderMathMLRoot.cpp: Force the constructor to take MathMLRowElement.
+ * rendering/mathml/RenderMathMLRoot.h: Ditto.
+ * rendering/mathml/RenderMathMLRow.cpp: Ditto and add an helper function element() to
+ retrieve the MathMLRowElement.
+ * rendering/mathml/RenderMathMLRow.h: Ditto.
+
</ins><span class="cx"> 2016-08-22 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><span class="cx"> Drop TextTrackCue's constructor as per the latest specification
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -6312,9 +6312,11 @@
</span><span class="cx">                 F98FFF4511A2676200F548E8 /* CSSOMUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = F98FFF4311A2676200F548E8 /* CSSOMUtils.h */; };
</span><span class="cx">                 F9F0ED7A0DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = F9F0ED770DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.h */; };
</span><span class="cx">                 FA654A6B1108ABED002615E0 /* MathMLTokenElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA654A691108ABED002615E0 /* MathMLTokenElement.cpp */; };
</span><ins>+                FA765A6B1108ABED002615E0 /* MathMLRowElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA765A691108ABED002615E0 /* MathMLRowElement.cpp */; };
</ins><span class="cx">                 FA654A6B1108ABED002616F1 /* MathMLOperatorElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA654A691108ABED002616F1 /* MathMLOperatorElement.cpp */; };
</span><span class="cx">                 FA654A6B1108ABED002626F1 /* MathMLUnderOverElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FA654A691108ABED002626F1 /* MathMLUnderOverElement.cpp */; };
</span><span class="cx">                 FA654A6C1108ABED002615E0 /* MathMLTokenElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002615E0 /* MathMLTokenElement.h */; };
</span><ins>+                FA765A6C1108ABED002615E0 /* MathMLRowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA765A6A1108ABED002615E0 /* MathMLRowElement.h */; };
</ins><span class="cx">                 FA654A6C1108ABED002616F1 /* MathMLOperatorElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002616F1 /* MathMLOperatorElement.h */; };
</span><span class="cx">                 FA654A6C1108ABED002626F1 /* MathMLUnderOverElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002626F1 /* MathMLUnderOverElement.h */; };
</span><span class="cx">                 FABE72F41059C1EB00D888CC /* MathMLAnnotationElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FABE72ED1059C1EB00D888CC /* MathMLAnnotationElement.cpp */; };
</span><span class="lines">@@ -13884,9 +13886,11 @@
</span><span class="cx">                 FA654A631108ABB7002615E0 /* mathml.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = mathml.css; sourceTree = "<group>"; };
</span><span class="cx">                 FA654A671108ABE2002615E0 /* mathattrs.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = mathattrs.in; sourceTree = "<group>"; };
</span><span class="cx">                 FA654A691108ABED002615E0 /* MathMLTokenElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLTokenElement.cpp; sourceTree = "<group>"; };
</span><ins>+                FA765A691108ABED002615E0 /* MathMLRowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLRowElement.cpp; sourceTree = "<group>"; };
</ins><span class="cx">                 FA654A691108ABED002616F1 /* MathMLOperatorElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLOperatorElement.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 FA654A691108ABED002626F1 /* MathMLUnderOverElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLUnderOverElement.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 FA654A6A1108ABED002615E0 /* MathMLTokenElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLTokenElement.h; sourceTree = "<group>"; };
</span><ins>+                FA765A6A1108ABED002615E0 /* MathMLRowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLRowElement.h; sourceTree = "<group>"; };
</ins><span class="cx">                 FA654A6A1108ABED002616F1 /* MathMLOperatorElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLOperatorElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 FA654A6A1108ABED002626F1 /* MathMLUnderOverElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLUnderOverElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 FA6E466FCD0418A9966A5B60 /* DNSResolveQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNSResolveQueue.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -23142,6 +23146,8 @@
</span><span class="cx">                                 4FA65A6A1108ABED002615E0 /* MathMLSpaceElement.h */,
</span><span class="cx">                                 FA654A691108ABED002615E0 /* MathMLTokenElement.cpp */,
</span><span class="cx">                                 FA654A6A1108ABED002615E0 /* MathMLTokenElement.h */,
</span><ins>+                                FA765A691108ABED002615E0 /* MathMLRowElement.cpp */,
+                                FA765A6A1108ABED002615E0 /* MathMLRowElement.h */,
</ins><span class="cx">                                 FA654A691108ABED002626F1 /* MathMLUnderOverElement.cpp */,
</span><span class="cx">                                 FA654A6A1108ABED002626F1 /* MathMLUnderOverElement.h */,
</span><span class="cx">                                 FABE72F31059C1EB00D999DD /* mathtags.in */,
</span><span class="lines">@@ -25375,6 +25381,7 @@
</span><span class="cx">                                 4FA65A6C1108ABED002615E0 /* MathMLSpaceElement.h in Headers */,
</span><span class="cx">                                 439176E012DA25E17BAF80A2 /* MathMLStyle.h in Headers */,
</span><span class="cx">                                 FA654A6C1108ABED002615E0 /* MathMLTokenElement.h in Headers */,
</span><ins>+                                FA765A6C1108ABED002615E0 /* MathMLRowElement.h in Headers */,
</ins><span class="cx">                                 FA654A6C1108ABED002626F1 /* MathMLUnderOverElement.h in Headers */,
</span><span class="cx">                                 439046EA12DA25E812AF80AC /* MathOperator.h in Headers */,
</span><span class="cx">                                 49D5DC2C0F423A73008F20FD /* Matrix3DTransformOperation.h in Headers */,
</span><span class="lines">@@ -29059,6 +29066,7 @@
</span><span class="cx">                                 4FA65A6B1108ABED002615E0 /* MathMLSpaceElement.cpp in Sources */,
</span><span class="cx">                                 439176DF12DA25E17BAF80A2 /* MathMLStyle.cpp in Sources */,
</span><span class="cx">                                 FA654A6B1108ABED002615E0 /* MathMLTokenElement.cpp in Sources */,
</span><ins>+                                FA765A6B1108ABED002615E0 /* MathMLRowElement.cpp in Sources */,
</ins><span class="cx">                                 FA654A6B1108ABED002626F1 /* MathMLUnderOverElement.cpp in Sources */,
</span><span class="cx">                                 439046E912DA25E812AF80AC /* MathOperator.cpp in Sources */,
</span><span class="cx">                                 49D5DC2B0F423A73008F20FD /* Matrix3DTransformOperation.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLAllInOne.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLAllInOne.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLAllInOne.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> #include "MathMLOperatorDictionary.cpp"
</span><span class="cx"> #include "MathMLOperatorElement.cpp"
</span><span class="cx"> #include "MathMLPaddedElement.cpp"
</span><ins>+#include "MathMLRowElement.cpp"
</ins><span class="cx"> #include "MathMLScriptsElement.cpp"
</span><span class="cx"> #include "MathMLSelectElement.cpp"
</span><span class="cx"> #include "MathMLTokenElement.cpp"
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLAnnotationElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLAnnotationElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLAnnotationElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLAnnotationElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><span class="cx"> MathMLAnnotationElement::MathMLAnnotationElement(const QualifiedName& tagName, Document& document)
</span><del>- : MathMLElement(tagName, document)
</del><ins>+ : MathMLRowElement(tagName, document)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(hasTagName(annotationTag) || hasTagName(annotation_xmlTag));
</span><span class="cx"> }
</span><span class="lines">@@ -100,7 +100,7 @@
</span><span class="cx"> if (is<MathMLElement>(parent) && parent->hasTagName(semanticsTag))
</span><span class="cx"> downcast<MathMLElement>(*parent).updateSelectedChild();
</span><span class="cx"> }
</span><del>- MathMLElement::attributeChanged(name, oldValue, newValue, reason);
</del><ins>+ MathMLRowElement::attributeChanged(name, oldValue, newValue, reason);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLAnnotationElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLAnnotationElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLAnnotationElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLAnnotationElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -26,11 +26,11 @@
</span><span class="cx"> #pragma once
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><del>-#include "MathMLElement.h"
</del><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class MathMLAnnotationElement final : public MathMLElement {
</del><ins>+class MathMLAnnotationElement final : public MathMLRowElement {
</ins><span class="cx"> public:
</span><span class="cx"> static Ref<MathMLAnnotationElement> create(const QualifiedName& tagName, Document&);
</span><span class="cx"> private:
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
</span><span class="cx">
</span><span class="cx"> bool isSemanticAnnotation() const final { return true; }
</span><del>- bool isPresentationMathML() const final { return true; }
</del><span class="cx">
</span><span class="cx"> bool childShouldCreateRenderer(const Node&) const final;
</span><span class="cx"> void attributeChanged(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue, AttributeModificationReason) final;
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLInlineContainerElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -32,12 +32,7 @@
</span><span class="cx"> #include "MathMLInlineContainerElement.h"
</span><span class="cx">
</span><span class="cx"> #include "MathMLNames.h"
</span><del>-#include "MathMLOperatorElement.h"
</del><span class="cx"> #include "RenderMathMLBlock.h"
</span><del>-#include "RenderMathMLFenced.h"
-#include "RenderMathMLMenclose.h"
-#include "RenderMathMLRoot.h"
-#include "RenderMathMLRow.h"
</del><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><span class="lines">@@ -53,24 +48,8 @@
</span><span class="cx"> return adoptRef(*new MathMLInlineContainerElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void MathMLInlineContainerElement::childrenChanged(const ChildChange& change)
-{
- for (auto child = firstChild(); child; child = child->nextSibling()) {
- if (child->hasTagName(MathMLNames::moTag))
- static_cast<MathMLOperatorElement*>(child)->setOperatorFormDirty();
- }
-
- MathMLElement::childrenChanged(change);
-}
-
</del><span class="cx"> RenderPtr<RenderElement> MathMLInlineContainerElement::createElementRenderer(RenderStyle&& style, const RenderTreePosition&)
</span><span class="cx"> {
</span><del>- if (hasTagName(merrorTag) || hasTagName(mphantomTag) || hasTagName(mrowTag) || hasTagName(mstyleTag))
- return createRenderer<RenderMathMLRow>(*this, WTFMove(style));
- if (hasTagName(msqrtTag) || hasTagName(mrootTag))
- return createRenderer<RenderMathMLRoot>(*this, WTFMove(style));
- if (hasTagName(mfencedTag))
- return createRenderer<RenderMathMLFenced>(*this, WTFMove(style));
</del><span class="cx"> if (hasTagName(mtableTag))
</span><span class="cx"> return createRenderer<RenderMathMLTable>(*this, WTFMove(style));
</span><span class="cx">
</span><span class="lines">@@ -79,14 +58,9 @@
</span><span class="cx">
</span><span class="cx"> bool MathMLInlineContainerElement::acceptsDisplayStyleAttribute()
</span><span class="cx"> {
</span><del>- return hasTagName(mstyleTag) || hasTagName(mtableTag);
</del><ins>+ return hasTagName(mtableTag);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-bool MathMLInlineContainerElement::acceptsMathVariantAttribute()
-{
- return hasTagName(mstyleTag);
-}
-
</del><span class="cx"> void MathMLInlineContainerElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
</span><span class="cx"> {
</span><span class="cx"> bool displayStyleAttribute = name == displaystyleAttr && acceptsDisplayStyleAttribute();
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLInlineContainerElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -38,11 +38,9 @@
</span><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> MathMLInlineContainerElement(const QualifiedName& tagName, Document&);
</span><del>- void childrenChanged(const ChildChange&) override;
</del><span class="cx"> void parseAttribute(const QualifiedName&, const AtomicString&) override;
</span><span class="cx">
</span><span class="cx"> bool acceptsDisplayStyleAttribute() override;
</span><del>- bool acceptsMathVariantAttribute() override;
</del><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMathElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMathElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLMathElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><span class="cx"> inline MathMLMathElement::MathMLMathElement(const QualifiedName& tagName, Document& document)
</span><del>- : MathMLInlineContainerElement(tagName, document)
</del><ins>+ : MathMLRowElement(tagName, document)
</ins><span class="cx"> {
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">
</span><span class="cx"> void MathMLMathElement::didAttachRenderers()
</span><span class="cx"> {
</span><del>- MathMLInlineContainerElement::didAttachRenderers();
</del><ins>+ MathMLRowElement::didAttachRenderers();
</ins><span class="cx">
</span><span class="cx"> MathMLStyle::resolveMathMLStyleTree(renderer());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMathElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMathElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLMathElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -28,11 +28,11 @@
</span><span class="cx"> #pragma once
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><del>-#include "MathMLInlineContainerElement.h"
</del><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class MathMLMathElement final : public MathMLInlineContainerElement {
</del><ins>+class MathMLMathElement final : public MathMLRowElement {
</ins><span class="cx"> public:
</span><span class="cx"> static Ref<MathMLMathElement> create(const QualifiedName& tagName, Document&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMencloseElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><span class="cx"> MathMLMencloseElement::MathMLMencloseElement(const QualifiedName& tagName, Document& document)
</span><del>- : MathMLInlineContainerElement(tagName, document)
</del><ins>+ : MathMLRowElement(tagName, document)
</ins><span class="cx"> {
</span><span class="cx"> // By default we draw a longdiv.
</span><span class="cx"> clearNotations();
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx"> if (name == notationAttr)
</span><span class="cx"> m_notationFlags = Nullopt;
</span><span class="cx">
</span><del>- MathMLInlineContainerElement::parseAttribute(name, value);
</del><ins>+ MathMLRowElement::parseAttribute(name, value);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMencloseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMencloseElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMencloseElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLMencloseElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -28,11 +28,11 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><span class="cx"> #include "Element.h"
</span><del>-#include "MathMLInlineContainerElement.h"
</del><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class MathMLMencloseElement final: public MathMLInlineContainerElement {
</del><ins>+class MathMLMencloseElement final: public MathMLRowElement {
</ins><span class="cx"> public:
</span><span class="cx"> static Ref<MathMLMencloseElement> create(const QualifiedName& tagName, Document&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLPaddedElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLPaddedElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLPaddedElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLPaddedElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><span class="cx"> inline MathMLPaddedElement::MathMLPaddedElement(const QualifiedName& tagName, Document& document)
</span><del>- : MathMLInlineContainerElement(tagName, document)
</del><ins>+ : MathMLRowElement(tagName, document)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLPaddedElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLPaddedElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLPaddedElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLPaddedElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -26,11 +26,11 @@
</span><span class="cx"> #pragma once
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><del>-#include "MathMLInlineContainerElement.h"
</del><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class MathMLPaddedElement final : public MathMLInlineContainerElement {
</del><ins>+class MathMLPaddedElement final : public MathMLRowElement {
</ins><span class="cx"> public:
</span><span class="cx"> static Ref<MathMLPaddedElement> create(const QualifiedName& tagName, Document&);
</span><span class="cx"> // FIXME: Pseudo-units are not supported yet (https://bugs.webkit.org/show_bug.cgi?id=85730).
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLRowElementcppfromrev204776trunkSourceWebCoremathmlMathMLInlineContainerElementcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/mathml/MathMLRowElement.cpp (from rev 204776, trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp) (0 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLRowElement.cpp         (rev 0)
+++ trunk/Source/WebCore/mathml/MathMLRowElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -0,0 +1,86 @@
</span><ins>+/*
+ * Copyright (C) 2016 Igalia S.L. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+
+#if ENABLE(MATHML)
+#include "MathMLRowElement.h"
+
+#include "MathMLNames.h"
+#include "MathMLOperatorElement.h"
+#include "RenderMathMLFenced.h"
+#include "RenderMathMLMenclose.h"
+#include "RenderMathMLRoot.h"
+#include "RenderMathMLRow.h"
+
+namespace WebCore {
+
+using namespace MathMLNames;
+
+MathMLRowElement::MathMLRowElement(const QualifiedName& tagName, Document& document)
+ : MathMLInlineContainerElement(tagName, document)
+{
+}
+
+Ref<MathMLRowElement> MathMLRowElement::create(const QualifiedName& tagName, Document& document)
+{
+ return adoptRef(*new MathMLRowElement(tagName, document));
+}
+
+void MathMLRowElement::childrenChanged(const ChildChange& change)
+{
+ for (auto child = firstChild(); child; child = child->nextSibling()) {
+ if (child->hasTagName(moTag))
+ static_cast<MathMLOperatorElement*>(child)->setOperatorFormDirty();
+ }
+
+ MathMLInlineContainerElement::childrenChanged(change);
+}
+
+RenderPtr<RenderElement> MathMLRowElement::createElementRenderer(RenderStyle&& style, const RenderTreePosition&)
+{
+ if (hasTagName(msqrtTag) || hasTagName(mrootTag))
+ return createRenderer<RenderMathMLRoot>(*this, WTFMove(style));
+
+ if (hasTagName(mfencedTag))
+ return createRenderer<RenderMathMLFenced>(*this, WTFMove(style));
+
+ ASSERT(hasTagName(merrorTag) || hasTagName(mphantomTag) || hasTagName(mrowTag) || hasTagName(mstyleTag));
+ return createRenderer<RenderMathMLRow>(*this, WTFMove(style));
+}
+
+bool MathMLRowElement::acceptsDisplayStyleAttribute()
+{
+ return hasTagName(mstyleTag);
+}
+
+bool MathMLRowElement::acceptsMathVariantAttribute()
+{
+ return hasTagName(mstyleTag);
+}
+
+}
+
+#endif // ENABLE(MATHML)
</ins></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLRowElementhfromrev204776trunkSourceWebCoremathmlMathMLInlineContainerElementh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/mathml/MathMLRowElement.h (from rev 204776, trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h) (0 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLRowElement.h         (rev 0)
+++ trunk/Source/WebCore/mathml/MathMLRowElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+/*
+ * Copyright (C) 2016 Igalia S.L. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#if ENABLE(MATHML)
+#include "MathMLInlineContainerElement.h"
+
+namespace WebCore {
+
+class MathMLRowElement : public MathMLInlineContainerElement {
+public:
+ static Ref<MathMLRowElement> create(const QualifiedName& tagName, Document&);
+
+protected:
+ MathMLRowElement(const QualifiedName& tagName, Document&);
+ void childrenChanged(const ChildChange&) override;
+
+ bool acceptsDisplayStyleAttribute() override;
+ bool acceptsMathVariantAttribute() override;
+
+private:
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+};
+
+}
+
+#endif // ENABLE(MATHML)
</ins></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLSelectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLSelectElement.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLSelectElement.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLSelectElement.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><span class="cx"> MathMLSelectElement::MathMLSelectElement(const QualifiedName& tagName, Document& document)
</span><del>- : MathMLInlineContainerElement(tagName, document)
</del><ins>+ : MathMLRowElement(tagName, document)
</ins><span class="cx"> , m_selectedChild(nullptr)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -89,13 +89,13 @@
</span><span class="cx"> void MathMLSelectElement::finishParsingChildren()
</span><span class="cx"> {
</span><span class="cx"> updateSelectedChild();
</span><del>- MathMLInlineContainerElement::finishParsingChildren();
</del><ins>+ MathMLRowElement::finishParsingChildren();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void MathMLSelectElement::childrenChanged(const ChildChange& change)
</span><span class="cx"> {
</span><span class="cx"> updateSelectedChild();
</span><del>- MathMLInlineContainerElement::childrenChanged(change);
</del><ins>+ MathMLRowElement::childrenChanged(change);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void MathMLSelectElement::attributeChanged(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue, AttributeModificationReason reason)
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> if (hasTagName(mactionTag) && (name == MathMLNames::actiontypeAttr || name == MathMLNames::selectionAttr))
</span><span class="cx"> updateSelectedChild();
</span><span class="cx">
</span><del>- MathMLInlineContainerElement::attributeChanged(name, oldValue, newValue, reason);
</del><ins>+ MathMLRowElement::attributeChanged(name, oldValue, newValue, reason);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> int MathMLSelectElement::getSelectedActionChildAndIndex(Element*& selectedChild)
</span><span class="lines">@@ -219,12 +219,12 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>- MathMLInlineContainerElement::defaultEventHandler(event);
</del><ins>+ MathMLRowElement::defaultEventHandler(event);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool MathMLSelectElement::willRespondToMouseClickEvents()
</span><span class="cx"> {
</span><del>- return attributeWithoutSynchronization(MathMLNames::actiontypeAttr) == "toggle" || MathMLInlineContainerElement::willRespondToMouseClickEvents();
</del><ins>+ return attributeWithoutSynchronization(MathMLNames::actiontypeAttr) == "toggle" || MathMLRowElement::willRespondToMouseClickEvents();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void MathMLSelectElement::toggle()
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLSelectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLSelectElement.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLSelectElement.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/MathMLSelectElement.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -26,11 +26,11 @@
</span><span class="cx"> #pragma once
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><del>-#include "MathMLInlineContainerElement.h"
</del><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class MathMLSelectElement final : public MathMLInlineContainerElement {
</del><ins>+class MathMLSelectElement final : public MathMLRowElement {
</ins><span class="cx"> public:
</span><span class="cx"> static Ref<MathMLSelectElement> create(const QualifiedName& tagName, Document&);
</span><span class="cx"> static bool isMathMLEncoding(const AtomicString& value);
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlmathtagsin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/mathtags.in (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/mathtags.in        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/mathml/mathtags.in        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -8,18 +8,18 @@
</span><span class="cx"> maction interfaceName=MathMLSelectElement
</span><span class="cx"> math
</span><span class="cx"> mfrac interfaceName=MathMLFractionElement
</span><del>-mfenced interfaceName=MathMLInlineContainerElement
</del><ins>+mfenced interfaceName=MathMLRowElement
</ins><span class="cx"> msubsup interfaceName=MathMLScriptsElement
</span><del>-merror interfaceName=MathMLInlineContainerElement
</del><ins>+merror interfaceName=MathMLRowElement
</ins><span class="cx"> mpadded interfaceName=MathMLPaddedElement
</span><del>-mphantom interfaceName=MathMLInlineContainerElement
-mrow interfaceName=MathMLInlineContainerElement
-mstyle interfaceName=MathMLInlineContainerElement
</del><ins>+mphantom interfaceName=MathMLRowElement
+mrow interfaceName=MathMLRowElement
+mstyle interfaceName=MathMLRowElement
</ins><span class="cx"> mover interfaceName=MathMLUnderOverElement
</span><span class="cx"> munder interfaceName=MathMLUnderOverElement
</span><span class="cx"> munderover interfaceName=MathMLUnderOverElement
</span><del>-msqrt interfaceName=MathMLInlineContainerElement
-mroot interfaceName=MathMLInlineContainerElement
</del><ins>+msqrt interfaceName=MathMLRowElement
+mroot interfaceName=MathMLRowElement
</ins><span class="cx"> mi interfaceName=MathMLTokenElement
</span><span class="cx"> mn interfaceName=MathMLTokenElement
</span><span class="cx"> mo interfaceName=MathMLOperatorElement
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLFencedcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx">
</span><span class="cx"> #include "FontSelector.h"
</span><span class="cx"> #include "MathMLNames.h"
</span><ins>+#include "MathMLRowElement.h"
</ins><span class="cx"> #include "RenderInline.h"
</span><span class="cx"> #include "RenderMathMLFencedOperator.h"
</span><span class="cx"> #include "RenderText.h"
</span><span class="lines">@@ -43,7 +44,7 @@
</span><span class="cx"> static const char* gOpeningBraceChar = "(";
</span><span class="cx"> static const char* gClosingBraceChar = ")";
</span><span class="cx">
</span><del>-RenderMathMLFenced::RenderMathMLFenced(MathMLInlineContainerElement& element, RenderStyle&& style)
</del><ins>+RenderMathMLFenced::RenderMathMLFenced(MathMLRowElement& element, RenderStyle&& style)
</ins><span class="cx"> : RenderMathMLRow(element, WTFMove(style))
</span><span class="cx"> , m_closeFenceRenderer(nullptr)
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLFencedh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -27,16 +27,16 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(MATHML)
</span><span class="cx">
</span><del>-#include "MathMLInlineContainerElement.h"
</del><span class="cx"> #include "RenderMathMLFencedOperator.h"
</span><span class="cx"> #include "RenderMathMLRow.h"
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><ins>+class MathMLRowElement;
+
</ins><span class="cx"> class RenderMathMLFenced final : public RenderMathMLRow {
</span><span class="cx"> public:
</span><del>- RenderMathMLFenced(MathMLInlineContainerElement&, RenderStyle&&);
- MathMLInlineContainerElement& element() { return static_cast<MathMLInlineContainerElement&>(nodeForNonAnonymous()); }
</del><ins>+ RenderMathMLFenced(MathMLRowElement&, RenderStyle&&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> bool isRenderMathMLFenced() const final { return true; }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLMathcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -30,12 +30,13 @@
</span><span class="cx"> #include "RenderMathMLMath.h"
</span><span class="cx">
</span><span class="cx"> #include "MathMLNames.h"
</span><ins>+#include "MathMLRowElement.h"
</ins><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><del>-RenderMathMLMath::RenderMathMLMath(Element& element, RenderStyle&& style)
</del><ins>+RenderMathMLMath::RenderMathMLMath(MathMLRowElement& element, RenderStyle&& style)
</ins><span class="cx"> : RenderMathMLRow(element, WTFMove(style))
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLMathh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -31,9 +31,11 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><ins>+class MathMLRowElement;
+
</ins><span class="cx"> class RenderMathMLMath final : public RenderMathMLRow {
</span><span class="cx"> public:
</span><del>- RenderMathMLMath(Element&, RenderStyle&&);
</del><ins>+ RenderMathMLMath(MathMLRowElement&, RenderStyle&&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> bool isRenderMathMLMath() const final { return true; }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLMenclosecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> // For now, we use a Bezier curve and this somewhat arbitrary value.
</span><span class="cx"> const unsigned short longDivLeftSpace = 10;
</span><span class="cx">
</span><del>-RenderMathMLMenclose::RenderMathMLMenclose(Element& element, RenderStyle&& style)
</del><ins>+RenderMathMLMenclose::RenderMathMLMenclose(MathMLMencloseElement& element, RenderStyle&& style)
</ins><span class="cx"> : RenderMathMLRow(element, WTFMove(style))
</span><span class="cx"> , m_ascent(0)
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLMencloseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class RenderMathMLMenclose final: public RenderMathMLRow {
</span><span class="cx"> public:
</span><del>- RenderMathMLMenclose(Element&, RenderStyle&&);
</del><ins>+ RenderMathMLMenclose(MathMLMencloseElement&, RenderStyle&&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> const char* renderName() const final { return "RenderMathMLMenclose"; }
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> void paint(PaintInfo&, const LayoutPoint&) final;
</span><span class="cx">
</span><span class="cx"> LayoutUnit ruleThickness() const;
</span><del>- bool hasNotation(MathMLMencloseElement::MencloseNotationFlag notationFlag) const { return downcast<MathMLMencloseElement>(element())->hasNotation(notationFlag); }
</del><ins>+ bool hasNotation(MathMLMencloseElement::MencloseNotationFlag notationFlag) const { return downcast<MathMLMencloseElement>(element()).hasNotation(notationFlag); }
</ins><span class="cx">
</span><span class="cx"> void getSpaceAroundContent(LayoutUnit contentWidth, LayoutUnit contentHeight, LayoutUnit& leftSpace, LayoutUnit& rightSpace, LayoutUnit& topSpace, LayoutUnit& bottomSpace) const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLRootcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> #include "FontCache.h"
</span><span class="cx"> #include "GraphicsContext.h"
</span><span class="cx"> #include "MathMLNames.h"
</span><ins>+#include "MathMLRowElement.h"
</ins><span class="cx"> #include "PaintInfo.h"
</span><span class="cx"> #include "RenderIterator.h"
</span><span class="cx"> #include "RenderMathMLMenclose.h"
</span><span class="lines">@@ -43,7 +44,7 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-RenderMathMLRoot::RenderMathMLRoot(Element& element, RenderStyle&& style)
</del><ins>+RenderMathMLRoot::RenderMathMLRoot(MathMLRowElement& element, RenderStyle&& style)
</ins><span class="cx"> : RenderMathMLRow(element, WTFMove(style))
</span><span class="cx"> {
</span><span class="cx"> // Determine what kind of expression we have by element name
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLRooth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -34,11 +34,13 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><ins>+class MathMLRowElement;
+
</ins><span class="cx"> // Render base^(1/index), or sqrt(base) using radical notation.
</span><span class="cx"> class RenderMathMLRoot final : public RenderMathMLRow {
</span><span class="cx">
</span><span class="cx"> public:
</span><del>- RenderMathMLRoot(Element&, RenderStyle&&);
</del><ins>+ RenderMathMLRoot(MathMLRowElement&, RenderStyle&&);
</ins><span class="cx"> void updateFromElement() final;
</span><span class="cx"> void updateStyle();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLRowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include "RenderMathMLRow.h"
</span><span class="cx">
</span><span class="cx"> #include "MathMLNames.h"
</span><ins>+#include "MathMLRowElement.h"
</ins><span class="cx"> #include "RenderIterator.h"
</span><span class="cx"> #include "RenderMathMLOperator.h"
</span><span class="cx"> #include "RenderMathMLRoot.h"
</span><span class="lines">@@ -39,11 +40,16 @@
</span><span class="cx">
</span><span class="cx"> using namespace MathMLNames;
</span><span class="cx">
</span><del>-RenderMathMLRow::RenderMathMLRow(Element& element, RenderStyle&& style)
</del><ins>+RenderMathMLRow::RenderMathMLRow(MathMLRowElement& element, RenderStyle&& style)
</ins><span class="cx"> : RenderMathMLBlock(element, WTFMove(style))
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+MathMLRowElement& RenderMathMLRow::element() const
+{
+ return static_cast<MathMLRowElement&>(nodeForNonAnonymous());
+}
+
</ins><span class="cx"> Optional<int> RenderMathMLRow::firstLineBaseline() const
</span><span class="cx"> {
</span><span class="cx"> auto* baselineChild = firstChildBox();
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLRowh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h (204778 => 204779)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h        2016-08-23 08:23:31 UTC (rev 204778)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h        2016-08-23 08:28:07 UTC (rev 204779)
</span><span class="lines">@@ -32,9 +32,12 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><ins>+class MathMLRowElement;
+
</ins><span class="cx"> class RenderMathMLRow : public RenderMathMLBlock {
</span><span class="cx"> public:
</span><del>- RenderMathMLRow(Element&, RenderStyle&&);
</del><ins>+ RenderMathMLRow(MathMLRowElement&, RenderStyle&&);
+ MathMLRowElement& element() const;
</ins><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) override;
</span></span></pre>
</div>
</div>
</body>
</html>