Changeset 74326 in webkit
- Timestamp:
- Dec 19, 2010 1:29:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r74321 r74326 1 2010-12-19 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Cameron Zwarich. 4 5 Text emphasis marks are not repainted correctly in flipped writing modes 6 https://bugs.webkit.org/show_bug.cgi?id=51307 7 8 * fast/repaint/text-emphasis-h-expected.checksum: Added. 9 * fast/repaint/text-emphasis-h-expected.png: Added. 10 * fast/repaint/text-emphasis-h-expected.txt: Added. 11 * fast/repaint/text-emphasis-h.html: Added. 12 * fast/repaint/text-emphasis-v-expected.checksum: Added. 13 * fast/repaint/text-emphasis-v-expected.png: Added. 14 * fast/repaint/text-emphasis-v-expected.txt: Added. 15 * fast/repaint/text-emphasis-v.html: Added. 16 1 17 2010-12-18 Tom Sepez <tsepez@chromium.org> 2 18 -
trunk/WebCore/ChangeLog
r74325 r74326 1 2010-12-19 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Cameron Zwarich. 4 5 Text emphasis marks are not repainted correctly in flipped writing modes 6 https://bugs.webkit.org/show_bug.cgi?id=51307 7 8 Tests: fast/repaint/text-emphasis-h.html 9 fast/repaint/text-emphasis-v.html 10 11 * rendering/InlineFlowBox.cpp: 12 (WebCore::InlineFlowBox::addTextBoxVisualOverflow): Added flippedness check. 13 1 14 2010-12-19 Rob Buis <rwlbuis@gmail.com> 2 15 -
trunk/WebCore/rendering/InlineFlowBox.cpp
r74281 r74326 748 748 if (style->textEmphasisMark() != TextEmphasisMarkNone) { 749 749 int emphasisMarkHeight = style->font().emphasisMarkHeight(style->textEmphasisMarkString()); 750 if ( style->textEmphasisPosition() == TextEmphasisPositionOver)750 if ((style->textEmphasisPosition() == TextEmphasisPositionOver) == (!style->isFlippedLinesWritingMode())) 751 751 topGlyphOverflow = min(topGlyphOverflow, -emphasisMarkHeight); 752 752 else
Note: See TracChangeset
for help on using the changeset viewer.