|
[CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding
In order to get consistent results of the first fit position of the content in shapes,
firstIncludedIntervalLogicalTop should take a FloatSize rather than LayoutSize for
minLogicalIntervalSize, because LayoutSize clamps the float value to int, when subpixel-layout
is disabled, thus firstIncludedIntervalLogicalTop could end up calculating with an unprecize
value. This change modifies firstIncludedIntervalLogicalTop to take FloatSize consistently.
Merged WebKit revision: http://trac.webkit.org/changeset/161604
BUG= 333423
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164923
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+72 lines, -12 lines) |
Patch |
 |
A |
LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html
|
View
|
1
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/BoxShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/BoxShape.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/PolygonShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/PolygonShape.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RasterShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RasterShape.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RectangleShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RectangleShape.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/Shape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/ShapeInsideInfo.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/ShapeInsideInfo.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|