Changeset 168778 in webkit
- Timestamp:
- May 13, 2014 9:13:47 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r168750 r168778 1 2014-05-13 Hans Muller <hmuller@adobe.com> 2 3 [CSS Shapes] line height grows around polygon and incorrectly causes text to wrap to next line 4 https://bugs.webkit.org/show_bug.cgi?id=131622 5 6 Reviewed by Bem Jones-Bey. 7 8 * fast/shapes/shape-outside-floats/shape-outside-edge-case-expected.html: Added. 9 * fast/shapes/shape-outside-floats/shape-outside-edge-case.html: Added. 10 1 11 2014-05-13 Myles C. Maxfield <litherum@gmail.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r168777 r168778 1 2014-05-13 Hans Muller <hmuller@adobe.com> 2 3 [CSS Shapes] line height grows around polygon and incorrectly causes text to wrap to next line 4 https://bugs.webkit.org/show_bug.cgi?id=131622 5 6 Reviewed by Bem Jones-Bey. 7 8 Corrected an earlier PolygonShape fix https://bugs.webkit.org/show_bug.cgi?id=132132 9 When the top or bottom of a layout line is coincident with a polygon edge vertex, we 10 only consider it an intersection if the edge extends into the line. 11 12 Test: fast/shapes/shape-outside-floats/shape-outside-edge-case.html 13 14 * rendering/shapes/PolygonShape.cpp: 15 (WebCore::OffsetPolygonEdge::clippedEdgeXRange): 16 1 17 2014-05-13 Beth Dakin <bdakin@apple.com> 2 18 -
trunk/Source/WebCore/rendering/shapes/PolygonShape.cpp
r167931 r168778 67 67 FloatShapeInterval OffsetPolygonEdge::clippedEdgeXRange(float y1, float y2) const 68 68 { 69 if (!overlapsYRange(y1, y2) || (y1 == maxY() && vertex2().y() < vertex1().y()))69 if (!overlapsYRange(y1, y2) || (y1 == maxY() && minY() <= y1) || (y2 == minY() && maxY() >= y2)) 70 70 return FloatShapeInterval(); 71 71
Note: See TracChangeset
for help on using the changeset viewer.