Changeset 194462 in webkit
- Timestamp:
- Dec 31, 2015 11:33:56 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194461 r194462 1 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 3 Simple line layout: Text with stroke width is not positioned correctly. 4 https://bugs.webkit.org/show_bug.cgi?id=152614 5 6 Reviewed by Simon Fraser. 7 8 Visual overflow should not affect text position. 9 10 * fast/text/simple-line-layout-text-position-with-stroke-expected.html: Added. 11 * fast/text/simple-line-layout-text-position-with-stroke.html: Added. 12 1 13 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r194461 r194462 1 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 3 Simple line layout: Text with stroke width is not positioned correctly. 4 https://bugs.webkit.org/show_bug.cgi?id=152614 5 6 Reviewed by Simon Fraser. 7 8 Visual overflow should not affect text position. 9 10 Test: fast/text/simple-line-layout-text-position-with-stroke.html 11 12 * rendering/SimpleLineLayoutFunctions.cpp: 13 (WebCore::SimpleLineLayout::paintFlow): 14 1 15 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 16 -
trunk/Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp
r193934 r194462 90 90 91 91 FloatRect rect = run.rect(); 92 rect.inflate(strokeOverflow); 93 if (paintRect.y() > rect.maxY() || paintRect.maxY() < rect.y()) 92 FloatRect visualOverflowRect = rect; 93 visualOverflowRect.inflate(strokeOverflow); 94 if (paintRect.y() > visualOverflowRect.maxY() || paintRect.maxY() < visualOverflowRect.y()) 94 95 continue; 95 96
Note: See TracChangeset
for help on using the changeset viewer.