Changeset 193829 in webkit
- Timestamp:
- Dec 9, 2015 6:46:11 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r193825 r193829 1 2015-12-09 Frederic Wang <fred.wang@free.fr> 2 3 Bad position of large operators inside an munderover element 4 https://bugs.webkit.org/show_bug.cgi?id=151916 5 6 Reviewed by Alejandro G. Castro. 7 8 * mathml/opentype/large-operators-munderover-expected.txt: Added. 9 * mathml/opentype/large-operators-munderover.html: Added. 10 11 Add a test to verify the position and size of a large operator used as an munderover base. 12 1 13 2015-12-09 Joanmarie Diggs <jdiggs@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r193828 r193829 1 2015-12-09 Frederic Wang <fred.wang@free.fr> 2 3 Bad position of large operators inside an munderover element 4 https://bugs.webkit.org/show_bug.cgi?id=151916 5 6 Reviewed by Alejandro G. Castro. 7 8 Test: mathml/opentype/large-operators-munderover.html 9 10 * rendering/mathml/RenderMathMLOperator.h: 11 (WebCore::RenderMathMLOperator::isVertical): Expose the direction of the operator. 12 * rendering/mathml/RenderMathMLUnderOver.cpp: 13 (WebCore::RenderMathMLUnderOver::layout): Remove call to horizontal stretching for vertical operators. 14 1 15 2015-12-09 Zan Dobersek <zdobersek@igalia.com> 2 16 -
trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h
r183857 r193829 72 72 // FIXME: The displaystyle property is not implemented (https://bugs.webkit.org/show_bug.cgi?id=118737). 73 73 bool isLargeOperatorInDisplayStyle() const { return !hasOperatorFlag(MathMLOperatorDictionary::Stretchy) && hasOperatorFlag(MathMLOperatorDictionary::LargeOp); } 74 bool isVertical() const { return m_isVertical; } 74 75 75 76 virtual void updateStyle() override final; -
trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp
r181398 r193829 81 81 if (is<RenderMathMLBlock>(child)) { 82 82 if (auto renderOperator = downcast<RenderMathMLBlock>(*child).unembellishedOperator()) { 83 renderOperator->resetStretchSize(); 84 renderOperators.append(renderOperator); 83 if (!renderOperator->isVertical()) { 84 renderOperator->resetStretchSize(); 85 renderOperators.append(renderOperator); 86 } 85 87 } 86 88 }
Note: See TracChangeset
for help on using the changeset viewer.