Changeset 160711 in webkit
- Timestamp:
- Dec 17, 2013 9:56:21 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r160709 r160711 1 2013-12-17 Frédéric Wang <fred.wang@free.fr> 2 3 Ensure inferred mrows for msqrt, mstyle, merror, mphantom and math. 4 https://bugs.webkit.org/show_bug.cgi?id=124841 5 6 Reviewed by Darin Adler. 7 8 * mathml/presentation/inferred-mrow-baseline-expected.txt: Added. 9 * mathml/presentation/inferred-mrow-baseline.html: Added. 10 * mathml/presentation/inferred-mrow-stretchy-expected.txt: Added. 11 * mathml/presentation/inferred-mrow-stretchy.html: Added. 12 1 13 2013-12-17 Brent Fulgham <bfulgham@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r160704 r160711 1 2013-12-17 Frédéric Wang <fred.wang@free.fr> 2 3 Ensure inferred mrows for msqrt, mstyle, merror, mphantom and math. 4 https://bugs.webkit.org/show_bug.cgi?id=124841 5 6 Reviewed by Darin Adler. 7 8 Tests: mathml/presentation/inferred-mrow-baseline.html 9 mathml/presentation/inferred-mrow-stretchy.html 10 11 * css/mathml.css: make merror, mphantom and mstyle behave like an mrow. 12 (mo, mrow, mfenced, mfrac, msub, msup, msubsup, mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot, merror, mphantom, mstyle): 13 (math, mrow, mfenced, msqrt, mroot, merror, mphantom, mstyle): 14 * mathml/MathMLInlineContainerElement.cpp: ditto 15 (WebCore::MathMLInlineContainerElement::createRenderer): 16 * mathml/mathtags.in: ditto 17 * rendering/mathml/RenderMathMLOperator.cpp: 18 (WebCore::RenderMathMLOperator::paint): fix failure in mathml/presentation/phantom.html now that phantom can stretch operators. 19 1 20 2013-12-17 Simon Pena <simon.pena@samsung.com> 2 21 -
trunk/Source/WebCore/css/mathml.css
r160005 r160711 33 33 } 34 34 35 mo, mrow, mfenced, mfrac, msub, msup, msubsup, mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot {35 mo, mrow, mfenced, mfrac, msub, msup, msubsup, mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot, merror, mphantom, mstyle { 36 36 display: -webkit-inline-flex !important; 37 37 } 38 38 39 math, mrow, mfenced, msqrt, mroot {39 math, mrow, mfenced, msqrt, mroot, merror, mphantom, mstyle { 40 40 -webkit-align-items: baseline; 41 41 } -
trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp
r160005 r160711 59 59 if (hasLocalName(annotation_xmlTag)) 60 60 return new RenderMathMLRow(*this, std::move(style)); 61 if (hasLocalName(m rowTag))61 if (hasLocalName(merrorTag) || hasLocalName(mphantomTag) || hasLocalName(mrowTag) || hasLocalName(mstyleTag)) 62 62 return new RenderMathMLRow(*this, std::move(style)); 63 63 if (hasLocalName(msubTag)) -
trunk/Source/WebCore/mathml/mathtags.in
r160005 r160711 11 11 mfenced interfaceName=MathMLInlineContainerElement 12 12 msubsup interfaceName=MathMLInlineContainerElement 13 merror interfaceName=MathMLInlineContainerElement 14 mphantom interfaceName=MathMLInlineContainerElement 13 15 mrow interfaceName=MathMLInlineContainerElement 14 mstyle interfaceName=MathML Element16 mstyle interfaceName=MathMLInlineContainerElement 15 17 mover interfaceName=MathMLInlineContainerElement 16 18 munder interfaceName=MathMLInlineContainerElement -
trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp
r159219 r160711 361 361 RenderMathMLBlock::paint(info, paintOffset); 362 362 363 if (info.context->paintingDisabled() || info.phase != PaintPhaseForeground )363 if (info.context->paintingDisabled() || info.phase != PaintPhaseForeground || style().visibility() != VISIBLE) 364 364 return; 365 365
Note: See TracChangeset
for help on using the changeset viewer.