Diff
Modified: trunk/Source/WebCore/ChangeLog (202726 => 202727)
--- trunk/Source/WebCore/ChangeLog 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/ChangeLog 2016-07-01 07:29:53 UTC (rev 202727)
@@ -1,3 +1,38 @@
+2016-07-01 Frederic Wang <fwang.igalia.com>
+
+ Eliminate trailing whitespace in MathML code
+ https://bugs.webkit.org/show_bug.cgi?id=159091
+
+ Reviewed by Alex Christensen.
+
+ No new tests, behavior is unchanged.
+
+ * rendering/mathml/RenderMathMLBlock.cpp:
+ (WebCore::RenderMathMLBlock::baselinePosition):
+ (WebCore::RenderMathMLBlock::paint):
+ (WebCore::parseMathMLNamedSpace):
+ * rendering/mathml/RenderMathMLBlock.h:
+ * rendering/mathml/RenderMathMLFenced.cpp:
+ (WebCore::RenderMathMLFenced::updateFromElement):
+ (WebCore::RenderMathMLFenced::addChild):
+ * rendering/mathml/RenderMathMLFenced.h:
+ * rendering/mathml/RenderMathMLFraction.cpp:
+ (WebCore::RenderMathMLFraction::styleDidChange):
+ (WebCore::RenderMathMLFraction::paint):
+ * rendering/mathml/RenderMathMLFraction.h:
+ * rendering/mathml/RenderMathMLMath.h:
+ * rendering/mathml/RenderMathMLMenclose.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRoot.cpp:
+ (WebCore::RenderMathMLRoot::paint):
+ * rendering/mathml/RenderMathMLScripts.cpp:
+ * rendering/mathml/RenderMathMLSpace.cpp:
+ * rendering/mathml/RenderMathMLSpace.h:
+ * rendering/mathml/RenderMathMLToken.h:
+ * rendering/mathml/RenderMathMLUnderOver.cpp:
+ * rendering/mathml/RenderMathMLUnderOver.h:
+
2016-07-01 Frederic Wang <[email protected]>
Small cleanup: Remove unused functions RenderObject::isRenderMathML*Wrapper
Modified: trunk/Source/WebCore/mathml/MathMLElement.cpp (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLElement.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLElement.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -46,14 +46,14 @@
#include "SVGSVGElement.h"
namespace WebCore {
-
+
using namespace MathMLNames;
-
+
MathMLElement::MathMLElement(const QualifiedName& tagName, Document& document)
: StyledElement(tagName, document, CreateMathMLElement)
{
}
-
+
Ref<MathMLElement> MathMLElement::create(const QualifiedName& tagName, Document& document)
{
return adoptRef(*new MathMLElement(tagName, document));
Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -41,7 +41,7 @@
#include "RenderMathMLUnderOver.h"
namespace WebCore {
-
+
using namespace MathMLNames;
MathMLInlineContainerElement::MathMLInlineContainerElement(const QualifiedName& tagName, Document& document)
Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -31,7 +31,7 @@
#include "MathMLElement.h"
namespace WebCore {
-
+
class MathMLInlineContainerElement : public MathMLElement {
public:
static Ref<MathMLInlineContainerElement> create(const QualifiedName& tagName, Document&);
@@ -45,7 +45,7 @@
private:
RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
};
-
+
}
#endif // ENABLE(MATHML)
Modified: trunk/Source/WebCore/mathml/MathMLMathElement.h (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLMathElement.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLMathElement.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -41,7 +41,7 @@
RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
};
-
+
}
#endif // ENABLE(MATHML)
Modified: trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLMencloseElement.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -48,7 +48,7 @@
}
RenderPtr<RenderElement> MathMLMencloseElement::createElementRenderer(RenderStyle&& style, const RenderTreePosition&)
-{
+{
return createRenderer<RenderMathMLMenclose>(*this, WTFMove(style));
}
Modified: trunk/Source/WebCore/mathml/MathMLTextElement.cpp (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLTextElement.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLTextElement.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -36,7 +36,7 @@
#include "RenderMathMLToken.h"
namespace WebCore {
-
+
using namespace MathMLNames;
inline MathMLTextElement::MathMLTextElement(const QualifiedName& tagName, Document& document)
Modified: trunk/Source/WebCore/mathml/MathMLTextElement.h (202726 => 202727)
--- trunk/Source/WebCore/mathml/MathMLTextElement.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/mathml/MathMLTextElement.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -31,7 +31,7 @@
#include "MathMLElement.h"
namespace WebCore {
-
+
class MathMLTextElement final : public MathMLElement {
public:
static Ref<MathMLTextElement> create(const QualifiedName& tagName, Document&);
@@ -48,7 +48,7 @@
void childrenChanged(const ChildChange&) override;
void parseAttribute(const QualifiedName&, const AtomicString&) override;
};
-
+
}
#endif // ENABLE(MATHML)
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -40,9 +40,9 @@
#endif
namespace WebCore {
-
+
using namespace MathMLNames;
-
+
RenderMathMLBlock::RenderMathMLBlock(Element& container, RenderStyle&& style)
: RenderFlexibleBox(container, WTFMove(style))
{
@@ -81,7 +81,7 @@
// return 0 here to match our line-height. This matters when RootInlineBox::ascentAndDescentForBox is called on a RootInlineBox for an inline-block.
if (linePositionMode == PositionOfInteriorLineBoxes)
return 0;
-
+
// FIXME: This may be unnecessary after flex baselines are implemented (https://bugs.webkit.org/show_bug.cgi?id=96188).
return firstLineBaseline().valueOrCompute([&] {
return RenderFlexibleBox::baselinePosition(baselineType, firstLine, direction, linePositionMode);
@@ -104,7 +104,7 @@
void RenderMathMLBlock::paint(PaintInfo& info, const LayoutPoint& paintOffset)
{
RenderFlexibleBox::paint(info, paintOffset);
-
+
if (info.context().paintingDisabled() || info.phase != PaintPhaseForeground)
return;
@@ -111,26 +111,26 @@
IntPoint adjustedPaintOffset = roundedIntPoint(paintOffset + location());
GraphicsContextStateSaver stateSaver(info.context());
-
+
info.context().setStrokeThickness(1.0f);
info.context().setStrokeStyle(SolidStroke);
info.context().setStrokeColor(Color(0, 0, 255));
-
+
info.context().drawLine(adjustedPaintOffset, IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y()));
info.context().drawLine(IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y()), IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y() + pixelSnappedOffsetHeight()));
info.context().drawLine(IntPoint(adjustedPaintOffset.x(), adjustedPaintOffset.y() + pixelSnappedOffsetHeight()), IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y() + pixelSnappedOffsetHeight()));
info.context().drawLine(adjustedPaintOffset, IntPoint(adjustedPaintOffset.x(), adjustedPaintOffset.y() + pixelSnappedOffsetHeight()));
-
+
int topStart = paddingTop();
-
+
info.context().setStrokeColor(Color(0, 255, 0));
-
+
info.context().drawLine(IntPoint(adjustedPaintOffset.x(), adjustedPaintOffset.y() + topStart), IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y() + topStart));
-
+
int baseline = roundToInt(baselinePosition(AlphabeticBaseline, true, HorizontalLine));
-
+
info.context().setStrokeColor(Color(255, 0, 0));
-
+
info.context().drawLine(IntPoint(adjustedPaintOffset.x(), adjustedPaintOffset.y() + baseline), IntPoint(adjustedPaintOffset.x() + pixelSnappedOffsetWidth(), adjustedPaintOffset.y() + baseline));
}
#endif // ENABLE(DEBUG_MATH_LAYOUT)
@@ -146,7 +146,7 @@
// number | number unit | namedspace
//
// There should be no space between the number and the unit of a length."
-//
+//
// "A trailing '%' represents a percent of the default value. The default
// value, or how it is obtained, is listed in the table of attributes for each
// element. [...] A number without a unit is intepreted as a multiple of the
@@ -153,7 +153,7 @@
// default value."
//
// "The possible units in MathML are:
-//
+//
// Unit Description
// em an em (font-relative unit traditionally used for horizontal lengths)
// ex an ex (font-relative unit traditionally used for vertical lengths)
@@ -299,7 +299,7 @@
else if (string == "negativeverythickmathspace")
length = -6;
else if (string == "negativeveryverythickmathspace")
- length = -7;
+ length = -7;
}
if (length) {
lengthValue = length * style->fontCascade().size() / 18;
@@ -316,6 +316,6 @@
return (logicalHeight() + style().fontMetrics().xHeight()) / 2;
}
-}
+}
#endif
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -36,7 +36,7 @@
#define ENABLE_DEBUG_MATH_LAYOUT 0
namespace WebCore {
-
+
class RenderMathMLOperator;
class RenderMathMLBlock : public RenderFlexibleBox {
@@ -45,7 +45,7 @@
RenderMathMLBlock(Document&, RenderStyle&&);
bool isChildAllowed(const RenderObject&, const RenderStyle&) const override;
-
+
// MathML defines an "embellished operator" as roughly an <mo> that may have subscripts,
// superscripts, underscripts, overscripts, or a denominator (as in d/dx, where "d" is some
// differential operator). The padding, precedence, and stretchiness of the base <mo> should
@@ -54,17 +54,17 @@
// FIXME: We don't yet handle all the cases in the MathML spec. See
// https://bugs.webkit.org/show_bug.cgi?id=78617.
virtual RenderMathMLOperator* unembellishedOperator() { return 0; }
-
+
int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
-
+
#if ENABLE(DEBUG_MATH_LAYOUT)
virtual void paint(PaintInfo&, const LayoutPoint&);
#endif
-
+
LayoutUnit mathAxisHeight() const;
LayoutUnit mirrorIfNeeded(LayoutUnit horizontalOffset, LayoutUnit boxWidth = 0) const;
LayoutUnit mirrorIfNeeded(LayoutUnit horizontalOffset, const RenderBox& child) const { return mirrorIfNeeded(horizontalOffset, child.logicalWidth()); }
-
+
protected:
static LayoutUnit ascentForChild(const RenderBox& child)
{
@@ -83,9 +83,9 @@
: RenderTable(element, WTFMove(style))
{
}
-
+
Optional<int> firstLineBaseline() const override;
-
+
private:
bool isRenderMathMLTable() const override { return true; }
const char* renderName() const override { return "RenderMathMLTable"; }
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -37,9 +37,9 @@
#include <wtf/text/StringBuilder.h>
namespace WebCore {
-
+
using namespace MathMLNames;
-
+
static const char* gOpeningBraceChar = "(";
static const char* gClosingBraceChar = ")";
@@ -52,7 +52,7 @@
void RenderMathMLFenced::updateFromElement()
{
const auto& fenced = element();
-
+
// The open operator defaults to a left parenthesis.
AtomicString open = fenced.fastGetAttribute(MathMLNames::openAttr);
m_open = open.isNull() ? gOpeningBraceChar : open;
@@ -73,7 +73,7 @@
// The separator defaults to a single comma.
m_separators = StringImpl::create(",");
}
-
+
if (isEmpty())
makeFences();
else {
@@ -105,9 +105,9 @@
// make the fences if the render object is empty
if (isEmpty())
updateFromElement();
-
+
// FIXME: Adding or removing a child should possibly cause all later separators to shift places if they're different, as later child positions change by +1 or -1. This should also handle surrogate pairs. See https://bugs.webkit.org/show_bug.cgi?id=125938.
-
+
RenderPtr<RenderMathMLOperator> separatorRenderer;
if (m_separators.get()) {
unsigned int count = 0;
@@ -120,22 +120,22 @@
--count;
}
// |count| is now the number of element children that will be before our new separator, i.e. it's the 1-based index of the separator.
-
+
if (count > 0) {
UChar separator;
-
+
// Use the last separator if we've run out of specified separators.
if (count > m_separators.get()->length())
separator = (*m_separators.get())[m_separators.get()->length() - 1];
else
separator = (*m_separators.get())[count - 1];
-
+
StringBuilder builder;
builder.append(separator);
separatorRenderer = createMathMLOperator(builder.toString(), MathMLOperatorDictionary::Infix, MathMLOperatorDictionary::Separator);
}
}
-
+
if (beforeChild) {
// Adding |x| before an existing |y| e.g. in element (y) - first insert our new child |x|, then its separator, to get (x, y).
RenderMathMLRow::addChild(child, beforeChild);
@@ -149,6 +149,6 @@
}
}
-}
+}
#endif
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -33,12 +33,12 @@
#include "RenderMathMLRow.h"
namespace WebCore {
-
+
class RenderMathMLFenced final : public RenderMathMLRow {
public:
RenderMathMLFenced(MathMLInlineContainerElement&, RenderStyle&&);
MathMLInlineContainerElement& element() { return static_cast<MathMLInlineContainerElement&>(nodeForNonAnonymous()); }
-
+
private:
bool isRenderMathMLFenced() const override { return true; }
const char* renderName() const override { return "RenderMathMLFenced"; }
@@ -51,10 +51,10 @@
String m_open;
String m_close;
RefPtr<StringImpl> m_separators;
-
+
RenderMathMLOperator* m_closeFenceRenderer;
};
-
+
}
#endif // ENABLE(MATHML)
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -36,7 +36,7 @@
#include "PaintInfo.h"
namespace WebCore {
-
+
using namespace MathMLNames;
// FIXME: The "MathML in HTML5" implementation note suggests the values 50% for "thin" and 200% for "thick" (http://webkit.org/b/155639).
@@ -123,7 +123,7 @@
void RenderMathMLFraction::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
{
RenderMathMLBlock::styleDidChange(diff, oldStyle);
-
+
updateFromElement();
}
@@ -209,9 +209,9 @@
return;
IntPoint adjustedPaintOffset = roundedIntPoint(paintOffset + location() + LayoutPoint(0, numerator().logicalHeight() + gNumeratorGap * style().fontSize() + m_lineThickness / 2));
-
+
GraphicsContextStateSaver stateSaver(info.context());
-
+
info.context().setStrokeThickness(m_lineThickness);
info.context().setStrokeStyle(SolidStroke);
info.context().setStrokeColor(style().visitedDependentColor(CSSPropertyColor));
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -57,7 +57,7 @@
void paint(PaintInfo&, const LayoutPoint&) final;
RenderMathMLOperator* unembellishedOperator() final;
void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
-
+
bool isValid() const;
RenderBox& numerator() const;
RenderBox& denominator() const;
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -31,7 +31,7 @@
#include "RenderMathMLRow.h"
namespace WebCore {
-
+
class RenderMathMLMath final : public RenderMathMLRow {
public:
RenderMathMLMath(Element&, RenderStyle&&);
@@ -40,7 +40,7 @@
bool isRenderMathMLMath() const override { return true; }
const char* renderName() const override { return "RenderMathMLMath"; }
};
-
+
}
SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderMathMLMath, isRenderMathMLMath())
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -32,7 +32,7 @@
#include "RenderMathMLRow.h"
namespace WebCore {
-
+
class RenderMathMLMenclose final: public RenderMathMLRow {
public:
RenderMathMLMenclose(Element&, RenderStyle&&);
@@ -52,7 +52,7 @@
LayoutUnit m_ascent;
LayoutRect m_contentRect;
};
-
+
}
SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderMathMLMenclose, isRenderMathMLMenclose())
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -43,7 +43,7 @@
#include <wtf/unicode/CharacterNames.h>
namespace WebCore {
-
+
using namespace MathMLNames;
RenderMathMLOperator::RenderMathMLOperator(MathMLElement& element, RenderStyle&& style)
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -47,7 +47,7 @@
void stretchTo(LayoutUnit width);
LayoutUnit stretchSize() const { return m_isVertical ? m_stretchHeightAboveBaseline + m_stretchDepthBelowBaseline : m_stretchWidth; }
void resetStretchSize();
-
+
bool hasOperatorFlag(MathMLOperatorDictionary::Flag flag) const { return m_operatorFlags & flag; }
// FIXME: The displaystyle property is not implemented (https://bugs.webkit.org/show_bug.cgi?id=118737).
bool isLargeOperatorInDisplayStyle() const { return !hasOperatorFlag(MathMLOperatorDictionary::Stretchy) && hasOperatorFlag(MathMLOperatorDictionary::LargeOp); }
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -249,7 +249,7 @@
void RenderMathMLRoot::paint(PaintInfo& info, const LayoutPoint& paintOffset)
{
RenderMathMLRow::paint(info, paintOffset);
-
+
if (isEmpty() || info.context().paintingDisabled() || style().visibility() != VISIBLE || !isValid())
return;
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -35,7 +35,7 @@
#include "RenderMathMLOperator.h"
namespace WebCore {
-
+
using namespace MathMLNames;
static bool isPrescriptDelimiter(const RenderObject& renderObject)
@@ -434,6 +434,6 @@
}
}
-}
+}
#endif // ENABLE(MATHML)
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -33,7 +33,7 @@
#include "PaintInfo.h"
namespace WebCore {
-
+
using namespace MathMLNames;
RenderMathMLSpace::RenderMathMLSpace(MathMLTextElement& element, RenderStyle&& style)
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -32,7 +32,7 @@
#include "RenderMathMLBlock.h"
namespace WebCore {
-
+
class RenderMathMLSpace final : public RenderMathMLBlock {
public:
RenderMathMLSpace(MathMLTextElement&, RenderStyle&&);
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -34,7 +34,7 @@
#include "RenderText.h"
namespace WebCore {
-
+
class RenderMathMLToken : public RenderMathMLBlock {
public:
RenderMathMLToken(Element&, RenderStyle&&);
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp 2016-07-01 07:29:53 UTC (rev 202727)
@@ -38,7 +38,7 @@
namespace WebCore {
using namespace MathMLNames;
-
+
RenderMathMLUnderOver::RenderMathMLUnderOver(Element& element, RenderStyle&& style)
: RenderMathMLBlock(element, WTFMove(style))
{
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.h (202726 => 202727)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.h 2016-07-01 07:06:42 UTC (rev 202726)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.h 2016-07-01 07:29:53 UTC (rev 202727)
@@ -32,11 +32,11 @@
#include "RenderMathMLBlock.h"
namespace WebCore {
-
+
class RenderMathMLUnderOver final : public RenderMathMLBlock {
public:
RenderMathMLUnderOver(Element&, RenderStyle&&);
-
+
RenderMathMLOperator* unembellishedOperator() override;
Optional<int> firstLineBaseline() const override;
@@ -59,7 +59,7 @@
enum UnderOverType { Under, Over, UnderOver };
UnderOverType m_scriptType;
};
-
+
}
#endif // ENABLE(MATHML)