|
|
Chromium Code Reviews|
Created:
3 years, 7 months ago by chrishtr Modified:
3 years, 7 months ago Reviewers:
trchen CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1 Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionOnly adjust composited pagination position to account for lines offset of inlines.
BUG=719561
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2883083004
Cr-Commit-Position: refs/heads/master@{#473092}
Committed: https://chromium.googlesource.com/chromium/src/+/f4166640f3a4119cdb4b33e2f16ebdd28ef6ff7f
Patch Set 1 #Patch Set 2 : none #Patch Set 3 : none #
Total comments: 4
Patch Set 4 : none #
Total comments: 4
Patch Set 5 : none #Patch Set 6 : none #Patch Set 7 : none #Patch Set 8 : none #Patch Set 9 : Merge branch 'master' into paginatino #Patch Set 10 : none #
Messages
Total messages: 58 (42 generated)
Description was changed from ========== none none BUG= ========== to ========== none none BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
Description was changed from ========== none none BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Only adjust composited pagination position to account for lines offset of inlines. BUG=719561 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
chrishtr@chromium.org changed reviewers: + trchen@chromium.org
https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html (right): https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html:2: <script src="../../resources/testharness.js"></script> This test was previously broken, because the non-composited -expected.html file duplicated the regular one. I had to make it a pixel test to avoid subpixel rendering issues.
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html (right): https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html:2: <script src="../../resources/testharness.js"></script> On 2017/05/16 00:00:29, chrishtr wrote: > This test was previously broken, because the non-composited -expected.html file > duplicated the > regular one. I had to make it a pixel test to avoid subpixel rendering issues. lol. I think it is possible to keep it a ref-test by adding a solid background color. Or an alternative is to keep will-change:transform on the expectation, but use absolute position (instead of columns) to layout the test text. https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-outlined-box.html (right): https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-outlined-box.html:1: <!DOCTYPE html> Is it possible to reduce this further? (And make it a ref test.) https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:893: .LinesVisualOverflowBoundingBox() LinesVisualOverflowBoundingBox can be expensive (have to collect all descendant line boxes.). And I'm not sure we actually want to include visual overflow, as say, wouldn't top-left box shadow cause the same issue? How about .FirstLineBoxTopLeft() ? Feels like exactly what we want.
https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html (right): https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html:2: <script src="../../resources/testharness.js"></script> On 2017/05/16 at 23:26:47, trchen wrote: > On 2017/05/16 00:00:29, chrishtr wrote: > > This test was previously broken, because the non-composited -expected.html file > > duplicated the > > regular one. I had to make it a pixel test to avoid subpixel rendering issues. > > lol. I think it is possible to keep it a ref-test by adding a solid background color. Or an alternative is to keep will-change:transform on the expectation, but use absolute position (instead of columns) to layout the test text. I tried to make it a ref test, but failed (tried both of your suggestions). Ok to commit as is? https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-outlined-box.html (right): https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-outlined-box.html:1: <!DOCTYPE html> On 2017/05/16 at 23:26:47, trchen wrote: > Is it possible to reduce this further? (And make it a ref test.) Done. https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2883083004/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:893: .LinesVisualOverflowBoundingBox() On 2017/05/16 at 23:26:47, trchen wrote: > LinesVisualOverflowBoundingBox can be expensive (have to collect all descendant line boxes.). And I'm not sure we actually want to include visual overflow, as say, wouldn't top-left box shadow cause the same issue? > > How about .FirstLineBoxTopLeft() ? Feels like exactly what we want. Done, good idea.
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by chrishtr@chromium.org
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html (right): https://codereview.chromium.org/2883083004/diff/40001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html:2: <script src="../../resources/testharness.js"></script> On 2017/05/17 02:00:14, chrishtr wrote: > On 2017/05/16 at 23:26:47, trchen wrote: > > On 2017/05/16 00:00:29, chrishtr wrote: > > > This test was previously broken, because the non-composited -expected.html > file > > > duplicated the > > > regular one. I had to make it a pixel test to avoid subpixel rendering > issues. > > > > lol. I think it is possible to keep it a ref-test by adding a solid background > color. Or an alternative is to keep will-change:transform on the expectation, > but use absolute position (instead of columns) to layout the test text. > > I tried to make it a ref test, but failed (tried both of your suggestions). > Ok to commit as is? Hmm weird. Adding solid background worked for me, but I got 1 pixel difference with will-change:transform;position:absolute too. I uploaded my working ref test here for you to cherrypick: https://codereview.chromium.org/2892593004 lgtm either way. You make the call. :)
The CQ bit was checked by chrishtr@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from trchen@chromium.org Link to the patchset: https://codereview.chromium.org/2883083004/#ps140001 (title: "none")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from trchen@chromium.org Link to the patchset: https://codereview.chromium.org/2883083004/#ps160001 (title: "Merge branch 'master' into paginatino")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_te...)
The CQ bit was checked by chrishtr@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from trchen@chromium.org Link to the patchset: https://codereview.chromium.org/2883083004/#ps170001 (title: "none")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by chrishtr@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 170001, "attempt_start_ts": 1495161749466500,
"parent_rev": "ec66f57f3315293efbc78564b83895db814086f9", "commit_rev":
"f4166640f3a4119cdb4b33e2f16ebdd28ef6ff7f"}
Message was sent while issue was closed.
Description was changed from ========== Only adjust composited pagination position to account for lines offset of inlines. BUG=719561 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Only adjust composited pagination position to account for lines offset of inlines. BUG=719561 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2883083004 Cr-Commit-Position: refs/heads/master@{#473092} Committed: https://chromium.googlesource.com/chromium/src/+/f4166640f3a4119cdb4b33e2f16e... ==========
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as https://chromium.googlesource.com/chromium/src/+/f4166640f3a4119cdb4b33e2f16e... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
