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

Issue 2531943002: Unify HTML and SVG coordinates of LayoutSVGText (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unify HTML and SVG coordinates of LayoutSVGText LayoutSVGText inherits from LayoutBlockFlow. During layout, at first SVG text fragments are laid out in physical coordinates in local SVG coordinates of LayoutSVGText, then the underlying LayoutBlockFlow and inline boxes are laid out in the coordinate space of the bounding box of the text fragments. The difference between HTML and SVG coordinates of LayoutSVGText causes some compexities, such as inconsistent coordinate space of SVG inline box calculateBoundaries(), complicated paint offset situations for outline and text when building paint property tree and painting (about text fragments painted in coordinates with paint offset baked in while outline painted with explicit paint offset), etc. Unifying the two coordinates can avoid the complexities. BUG=666416 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/b4ece262ce1150e23a18ad661aa5e1b213f95f51 Cr-Commit-Position: refs/heads/master@{#434885}

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 1

Patch Set 4 : Rebaseline for spv2 (anti-alias differences about caret) #

Patch Set 5 : Adjust CL dependency #

Patch Set 6 : - #

Messages

Total messages: 37 (28 generated)
Xianzhu
https://codereview.chromium.org/2531943002/diff/40001/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h File third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h (right): https://codereview.chromium.org/2531943002/diff/40001/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h#newcode51 third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h:51: IncludeBlockVisualOverflowOrNot) const override; This is to override LayoutBlock's addOutlineRects ...
4 years ago (2016-11-27 18:13:34 UTC) #12
pdr.
This change looks good but the test change seems unexpected. What's causing that change in ...
4 years ago (2016-11-28 03:33:48 UTC) #15
Xianzhu
On 2016/11/28 03:33:48, pdr. wrote: > This change looks good but the test change seems ...
4 years ago (2016-11-28 17:54:11 UTC) #17
pdr.
On 2016/11/28 at 17:54:11, wangxianzhu wrote: > On 2016/11/28 03:33:48, pdr. wrote: > > This ...
4 years ago (2016-11-28 19:09:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531943002/100001
4 years ago (2016-11-29 00:30:57 UTC) #29
commit-bot: I haz the power
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_swarming_rel/builds/75726) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years ago (2016-11-29 00:36:54 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531943002/100001
4 years ago (2016-11-29 00:47:20 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-29 04:13:36 UTC) #35
commit-bot: I haz the power
4 years ago (2016-11-29 04:18:02 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b4ece262ce1150e23a18ad661aa5e1b213f95f51
Cr-Commit-Position: refs/heads/master@{#434885}

Powered by Google App Engine
This is Rietveld 408576698