|
|
Chromium Code Reviews
DescriptionOutput svg foreign object paint offset in paint properties
This fixes svg foreign object layout tests in slimmngPaintInvalidation
mode.
BUG=646176
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/71436559155dd9bd562431dbfb0d2104e0d0c9a1
Cr-Commit-Position: refs/heads/master@{#421744}
Patch Set 1 #Patch Set 2 : paint offset #
Total comments: 3
Patch Set 3 : - #Patch Set 4 : - #Messages
Total messages: 27 (19 generated)
Description was changed from ========== Remove special case for svg foreign object transform in property tree This makes all svg foriegn object layout tests pass in slimmingPaintInvalidation mode. BUG=646176 ========== to ========== Remove special case for svg foreign object transform in property tree This makes all svg foriegn object layout tests pass in slimmingPaintInvalidation mode. 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: 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...)
Description was changed from ========== Remove special case for svg foreign object transform in property tree This makes all svg foriegn object layout tests pass in slimmingPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. 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...
Description was changed from ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
wangxianzhu@chromium.org changed reviewers: + pdr@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
LGTM https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:221: // SVG (other than SVGForeign object) does not use paint offset internally. I think LayoutSVGText uses this too (the comment in LayoutSVGForeignObject::layout alerted me to this). No need to fix that now, but can you add "TODO(wangxianzhu): Investigate whether LayoutSVGText should use paint offset too." Nit: "SVG (other than SVGForeignObject) does not use paint offset internally."
https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:221: // SVG (other than SVGForeign object) does not use paint offset internally. On 2016/09/29 01:26:34, pdr. wrote: > I think LayoutSVGText uses this too (the comment in > LayoutSVGForeignObject::layout alerted me to this). No need to fix that now, but > can you add "TODO(wangxianzhu): Investigate whether LayoutSVGText should use > paint offset too." > > Nit: "SVG (other than SVGForeignObject) does not use paint offset internally." Done.
The CQ bit was checked by wangxianzhu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from pdr@chromium.org Link to the patchset: https://codereview.chromium.org/2378833002/#ps40001 (title: "-")
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 wangxianzhu@chromium.org
The CQ bit was checked by wangxianzhu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from pdr@chromium.org Link to the patchset: https://codereview.chromium.org/2378833002/#ps60001 (title: "-")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2378833002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:221: // SVG (other than SVGForeign object) does not use paint offset internally. On 2016/09/29 01:26:34, pdr. wrote: > I think LayoutSVGText uses this too (the comment in > LayoutSVGForeignObject::layout alerted me to this). No need to fix that now, but > can you add "TODO(wangxianzhu): Investigate whether LayoutSVGText should use > paint offset too." > Just looked into LayoutSVGText and found that it's different from LayoutSVGForeignObject. LayoutSVGText's offset is fully implemented in SVG hierarchy, while LayoutSVGForeignObject's viewport offset is baked into its LayoutBox::location(). This seems the reason that we must exclude LayoutSVGForeignObject's viewport offset from its transform. Perhaps we can change that to make all non-root SVG objects behave in the same way about transforms and paint offsets. The FIXME at line 227 below should cover this.
Message was sent while issue was closed.
Description was changed from ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation 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 #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Output svg foreign object paint offset in paint properties This fixes svg foreign object layout tests in slimmngPaintInvalidation mode. BUG=646176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/71436559155dd9bd562431dbfb0d2104e0d0c9a1 Cr-Commit-Position: refs/heads/master@{#421744} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/71436559155dd9bd562431dbfb0d2104e0d0c9a1 Cr-Commit-Position: refs/heads/master@{#421744} |
