Description was changed from ========== Reland of Don't pass subpixel offsets through non-translation transforms (patchset ...
3 years, 7 months ago
(2017-05-04 23:32:00 UTC)
#3
Description was changed from
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...TBR=chrishtr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=717882
==========
to
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...TBR=chrishtr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=717882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org to run a CQ dry run
3 years, 7 months ago
(2017-05-04 23:32:10 UTC)
#4
Description was changed from ========== Reland of Don't pass subpixel offsets through non-translation transforms (patchset ...
3 years, 7 months ago
(2017-05-05 00:02:18 UTC)
#17
Description was changed from
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...TBR=chrishtr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=717882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...
# Skipping CQ checks because original CL landed less than 1 days ago.
BUG=717882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org to run a CQ dry run
3 years, 7 months ago
(2017-05-05 00:02:26 UTC)
#18
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/445794)
3 years, 7 months ago
(2017-05-05 01:24:21 UTC)
#21
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 16:04:44, chrishtr wrote: > ...
3 years, 7 months ago
(2017-05-05 16:14:51 UTC)
#30
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right):
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if
(!StyleRef().Preserves3D()) {
On 2017/05/05 16:04:44, chrishtr wrote:
> Why remove the SPv2 condition here?
MapToVisualRectInAncestorSpace() is still used on SPv2 for non-painting
purposes. Without EnclosingBoundingBox() the result will mismatch where we
paint.
For example,
<div style="transform: scale(50)">
<div style="position: relative; left: 0.7px; width: 100px; height:
100px"></div>
</div>
we'll paint the inner div at (50,0 100x100) which is snapped to pixels in the
transformed space. Without EnclosingBoundingBox() here we'll get visual rect
(35,0 100x100) which mismatches where we paint. With EnclosingBoundingBox()
we'll get (0,0 200x100) which covers the painted area.
In some cases PaintPropertyTreeBulderTest also expects this behavior with
slop_factor.
Xianzhu
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 16:14:51, Xianzhu wrote: > ...
3 years, 7 months ago
(2017-05-05 16:16:03 UTC)
#31
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right):
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if
(!StyleRef().Preserves3D()) {
On 2017/05/05 16:14:51, Xianzhu wrote:
> On 2017/05/05 16:04:44, chrishtr wrote:
> > Why remove the SPv2 condition here?
>
> MapToVisualRectInAncestorSpace() is still used on SPv2 for non-painting
> purposes. Without EnclosingBoundingBox() the result will mismatch where we
> paint.
>
> For example,
> <div style="transform: scale(50)">
> <div style="position: relative; left: 0.7px; width: 100px; height:
> 100px"></div>
> </div>
> we'll paint the inner div at (50,0 100x100) which is snapped to pixels in the
> transformed space. Without EnclosingBoundingBox() here we'll get visual rect
> (35,0 100x100) which mismatches where we paint. With EnclosingBoundingBox()
> we'll get (0,0 200x100) which covers the painted area.
>
> In some cases PaintPropertyTreeBulderTest also expects this behavior with
> slop_factor.
Correction: with width and height of the inner div should be 2px instead of
100px.
chrishtr
lgtm https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 at 16:14:51, Xianzhu ...
3 years, 7 months ago
(2017-05-05 16:17:19 UTC)
#32
lgtm
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right):
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if
(!StyleRef().Preserves3D()) {
On 2017/05/05 at 16:14:51, Xianzhu wrote:
> On 2017/05/05 16:04:44, chrishtr wrote:
> > Why remove the SPv2 condition here?
>
> MapToVisualRectInAncestorSpace() is still used on SPv2 for non-painting
purposes. Without EnclosingBoundingBox() the result will mismatch where we
paint.
>
> For example,
> <div style="transform: scale(50)">
> <div style="position: relative; left: 0.7px; width: 100px; height:
100px"></div>
> </div>
> we'll paint the inner div at (50,0 100x100) which is snapped to pixels in the
transformed space. Without EnclosingBoundingBox() here we'll get visual rect
(35,0 100x100) which mismatches where we paint. With EnclosingBoundingBox()
we'll get (0,0 200x100) which covers the painted area.
>
> In some cases PaintPropertyTreeBulderTest also expects this behavior with
slop_factor.
Ah, right. Ok.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 7 months ago
(2017-05-05 17:24:33 UTC)
#33
Dry run: Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/4225)
3 years, 7 months ago
(2017-05-05 17:24:34 UTC)
#34
CQ is committing da patch. Bot data: {"patchset_id": 340001, "attempt_start_ts": 1494017486835350, "parent_rev": "6779a04e21ebe7424ed2edae270f3303894104dc", "commit_rev": "34718d4879fbba5182af5611438da97f17058142"}
3 years, 7 months ago
(2017-05-05 21:29:39 UTC)
#37
CQ is committing da patch.
Bot data: {"patchset_id": 340001, "attempt_start_ts": 1494017486835350,
"parent_rev": "6779a04e21ebe7424ed2edae270f3303894104dc", "commit_rev":
"34718d4879fbba5182af5611438da97f17058142"}
commit-bot: I haz the power
CQ is committing da patch. Bot data: {"patchset_id": 340001, "attempt_start_ts": 1494017486835350, "parent_rev": "6779a04e21ebe7424ed2edae270f3303894104dc", "commit_rev": "34718d4879fbba5182af5611438da97f17058142"}
3 years, 7 months ago
(2017-05-05 21:30:25 UTC)
#38
CQ is committing da patch.
Bot data: {"patchset_id": 340001, "attempt_start_ts": 1494017486835350,
"parent_rev": "6779a04e21ebe7424ed2edae270f3303894104dc", "commit_rev":
"34718d4879fbba5182af5611438da97f17058142"}
commit-bot: I haz the power
Description was changed from ========== Reland of Don't pass subpixel offsets through non-translation transforms (patchset ...
3 years, 7 months ago
(2017-05-05 21:30:28 UTC)
#39
Message was sent while issue was closed.
Description was changed from
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...
# Skipping CQ checks because original CL landed less than 1 days ago.
BUG=717882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Reland of Don't pass subpixel offsets through non-translation transforms
(patchset #1 id:1 of https://codereview.chromium.org/2859483004/ )
Reason for revert:
Just to create a CL for the base of relanding.
Original issue's description:
> Revert of Don't pass subpixel offsets through non-translation transforms
(patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ )
>
> Reason for revert:
> BUG=717882
>
> Original issue's description:
> > Don't pass subpixel offsets through non-translation transforms
> >
> > Non-translation transforms will change direction and/or scale, etc.
> > of offsets thus making subpixel accumulation through the transform
> > meaningless.
> >
> > This CL addresses the issue in PaintLayerPainter and
> > PaintPropertyTreeBuilder. We still need to address the issue in
> > CompositedLayerMapping (crbug.com/716163).
> >
> > BUG=710665
> >
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> >
> > Review-Url: https://codereview.chromium.org/2847873002
> > Cr-Commit-Position: refs/heads/master@{#468516}
> > Committed:
https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de7...
>
> TBR=chrishtr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=710665
>
> Review-Url: https://codereview.chromium.org/2859483004
> Cr-Commit-Position: refs/heads/master@{#469054}
> Committed:
https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4...
# Skipping CQ checks because original CL landed less than 1 days ago.
BUG=717882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2862053002
Cr-Commit-Position: refs/heads/master@{#469772}
Committed:
https://chromium.googlesource.com/chromium/src/+/34718d4879fbba5182af5611438d...
==========
commit-bot: I haz the power
Committed patchset #4 (id:340001) as https://chromium.googlesource.com/chromium/src/+/34718d4879fbba5182af5611438da97f17058142
3 years, 7 months ago
(2017-05-05 21:30:28 UTC)
#40
Issue 2862053002: Reland of Don't pass subpixel offsets through non-translation transforms
(Closed)
Created 3 years, 7 months ago by Xianzhu
Modified 3 years, 7 months ago
Reviewers: chrishtr
Base URL:
Comments: 5