Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 133123003: [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding (Closed)

Created:
6 years, 11 months ago by Zoltan
Modified:
6 years, 11 months ago
Visibility:
Public.

Description

[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

Patch Set 1 #

Total comments: 2

Patch Set 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

Messages

Total messages: 9 (0 generated)
Bem Jones-Bey (adobe)
lgtm
6 years, 11 months ago (2014-01-10 17:14:41 UTC) #1
Hans Muller
Converting the type of the firstIncludedIntervalLogicalTop() Shape::minLogicalIntervalSize() parameter from LayoutSize to FloatSize sounds like a ...
6 years, 11 months ago (2014-01-10 17:28:10 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/133123003/diff/1/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html File LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html (right): https://codereview.chromium.org/133123003/diff/1/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html#newcode35 LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html:35: <p>Bug <a href="http://webkit.org/b/126601">126601</a>: [CSS Shapes] First line gets incorrectly ...
6 years, 11 months ago (2014-01-10 21:56:52 UTC) #3
Zoltan
Added crbug and &s.
6 years, 11 months ago (2014-01-10 22:21:38 UTC) #4
leviw_travelin_and_unemployed
lgtm
6 years, 11 months ago (2014-01-10 22:23:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zoltan@adobe.com/133123003/90001
6 years, 11 months ago (2014-01-10 22:25:37 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=7200
6 years, 11 months ago (2014-01-10 23:39:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zoltan@adobe.com/133123003/90001
6 years, 11 months ago (2014-01-10 23:41:48 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-11 02:38:10 UTC) #9
Message was sent while issue was closed.
Change committed as 164923

Powered by Google App Engine
This is Rietveld 408576698