|
|
Chromium Code Reviews
Description[SPInvalidation] Don't flip local paint invalidation rect for non-root SVG
Writing-mode flipping doesn't apply to non-root SVG.
This fixes failures of the svg layout tests containing vertical text
in slimmingPaintInvalidation mode.
BUG=646176
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/ff856adbb42ddeef1b97fe45c0790ff270bca9ce
Cr-Commit-Position: refs/heads/master@{#421872}
Patch Set 1 #
Total comments: 2
Patch Set 2 : - #Messages
Total messages: 25 (15 generated)
Description was changed from ========== Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation. BUG=646176 ========== to ========== Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
The CQ bit was checked by wangxianzhu@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: This issue passed the CQ dry run.
wangxianzhu@chromium.org changed reviewers: + chrishtr@chromium.org
Description was changed from ========== Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
Description was changed from ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:48: if (!object.isSVG() || object.isSVGRoot()) { Can you point me to the equivalent SPv1 code?
The CQ bit was checked by wangxianzhu@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...
https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:48: if (!object.isSVG() || object.isSVGRoot()) { On 2016/09/29 16:41:59, chrishtr wrote: > Can you point me to the equivalent SPv1 code? https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... In SPv1, we are using a different path of paint invalidation rect calculation for SVG v1, so the flipping at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... won't apply to non-root SVG. I changed the comment to "Writing-mode flipping doesn't apply to non-root SVG".
On 2016/09/29 at 17:00:56, wangxianzhu wrote: > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): > > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:48: if (!object.isSVG() || object.isSVGRoot()) { > On 2016/09/29 16:41:59, chrishtr wrote: > > Can you point me to the equivalent SPv1 code? > > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... > > In SPv1, we are using a different path of paint invalidation rect calculation for SVG v1, so the flipping at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... won't apply to non-root SVG. Because it always uses the fast path? > > I changed the comment to "Writing-mode flipping doesn't apply to non-root SVG".
On 2016/09/29 at 17:02:11, chrishtr wrote: > On 2016/09/29 at 17:00:56, wangxianzhu wrote: > > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > > File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): > > > > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > > third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:48: if (!object.isSVG() || object.isSVGRoot()) { > > On 2016/09/29 16:41:59, chrishtr wrote: > > > Can you point me to the equivalent SPv1 code? > > > > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... > > > > In SPv1, we are using a different path of paint invalidation rect calculation for SVG v1, so the flipping at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... won't apply to non-root SVG. > > Because it always uses the fast path? > > > > > I changed the comment to "Writing-mode flipping doesn't apply to non-root SVG". Oh I see.
lgtm
Description was changed from ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG For non-root SVG, the local paint invalidation rect is already in physical coordinates, so no need to flip. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG Writing-mode flipping doesn't apply to non-root SVG. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
On 2016/09/29 17:02:11, chrishtr wrote: > On 2016/09/29 at 17:00:56, wangxianzhu wrote: > > > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > > File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): > > > > > https://codereview.chromium.org/2381793002/diff/1/third_party/WebKit/Source/c... > > third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:48: if > (!object.isSVG() || object.isSVGRoot()) { > > On 2016/09/29 16:41:59, chrishtr wrote: > > > Can you point me to the equivalent SPv1 code? > > > > > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... > > > > In SPv1, we are using a different path of paint invalidation rect calculation > for SVG v1, so the flipping at > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... > won't apply to non-root SVG. > > Because it always uses the fast path? > SVG has its own version of slow path: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/Pa... > > > > I changed the comment to "Writing-mode flipping doesn't apply to non-root > SVG".
The CQ bit was unchecked by wangxianzhu@chromium.org
The CQ bit was checked by wangxianzhu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG Writing-mode flipping doesn't apply to non-root SVG. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG Writing-mode flipping doesn't apply to non-root SVG. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG Writing-mode flipping doesn't apply to non-root SVG. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== [SPInvalidation] Don't flip local paint invalidation rect for non-root SVG Writing-mode flipping doesn't apply to non-root SVG. This fixes failures of the svg layout tests containing vertical text in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/ff856adbb42ddeef1b97fe45c0790ff270bca9ce Cr-Commit-Position: refs/heads/master@{#421872} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/ff856adbb42ddeef1b97fe45c0790ff270bca9ce Cr-Commit-Position: refs/heads/master@{#421872} |
