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

Issue 1072403010: SVG Text should respect non-scaling-stroke. (Closed)

Created:
5 years, 8 months ago by Shanmuga Pandi
Modified:
5 years, 8 months ago
CC:
blink-reviews, dshwang, slimming-paint-reviews_chromium.org, blink-reviews-paint_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

SVG Text should respect non-scaling-stroke. Stroke thickness of SVG text should be depends on non-scaling-stroke. BUG=475203 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194496

Patch Set 1 #

Total comments: 12

Patch Set 2 : Added test with paint server #

Total comments: 4

Patch Set 3 : Added repaint test #

Patch Set 4 : fixed nits #

Total comments: 5

Patch Set 5 : Align with review comments #

Patch Set 6 : changed from expected.html to expected.txt #

Total comments: 5

Patch Set 7 : fixed review comments #

Patch Set 8 : changed stroke-width #

Total comments: 2

Patch Set 9 : increased stroke-width #

Patch Set 10 : Add TestExpectations #

Patch Set 11 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html View 1 2 3 4 5 6 7 8 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/svg/stroke/non-scaling-stroke-gradient-text-expected.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/svg/stroke/non-scaling-stroke-text.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/svg/stroke/non-scaling-stroke-text-expected.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/paint/SVGInlineTextBoxPainter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
Shanmuga Pandi
Please review it
5 years, 8 months ago (2015-04-22 11:57:41 UTC) #2
fs
> SVG Text non-scaling-stroke doesn't work. Please use a better description (this is just the ...
5 years, 8 months ago (2015-04-22 12:15:55 UTC) #3
Shanmuga Pandi
https://codereview.chromium.org/1072403010/diff/1/LayoutTests/svg/stroke/non-scaling-stroke-attribute-text.svg File LayoutTests/svg/stroke/non-scaling-stroke-attribute-text.svg (right): https://codereview.chromium.org/1072403010/diff/1/LayoutTests/svg/stroke/non-scaling-stroke-attribute-text.svg#newcode1 LayoutTests/svg/stroke/non-scaling-stroke-attribute-text.svg:1: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> On 2015/04/22 12:15:54, fs wrote: > ...
5 years, 8 months ago (2015-04-22 13:08:35 UTC) #4
fs
I almost forgot, but also need to test that repaints are correct with non-scaling-stroke. https://codereview.chromium.org/1072403010/diff/1/Source/core/paint/SVGInlineTextBoxPainter.cpp ...
5 years, 8 months ago (2015-04-22 13:31:41 UTC) #5
Shanmuga Pandi
Added repaint test case. https://codereview.chromium.org/1072403010/diff/1/Source/core/paint/SVGInlineTextBoxPainter.cpp File Source/core/paint/SVGInlineTextBoxPainter.cpp (right): https://codereview.chromium.org/1072403010/diff/1/Source/core/paint/SVGInlineTextBoxPainter.cpp#newcode281 Source/core/paint/SVGInlineTextBoxPainter.cpp:281: // FIXME: Non-scaling stroke is ...
5 years, 8 months ago (2015-04-22 14:00:06 UTC) #6
fs
https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html (right): https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html#newcode1 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html:1: <!DOCTYPE html> This is not a proper reference for ...
5 years, 8 months ago (2015-04-22 14:05:05 UTC) #7
Shanmuga Pandi
https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html (right): https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html#newcode1 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html:1: <!DOCTYPE html> On 2015/04/22 14:05:05, fs wrote: > This ...
5 years, 8 months ago (2015-04-22 14:31:03 UTC) #8
fs
https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html (right): https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html#newcode1 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html:1: <!DOCTYPE html> On 2015/04/22 14:31:02, Shanmuga Pandi wrote: > ...
5 years, 8 months ago (2015-04-22 14:48:48 UTC) #9
Shanmuga Pandi
On 2015/04/22 14:48:48, fs wrote: > https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html > File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html > (right): > > https://codereview.chromium.org/1072403010/diff/60001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.html#newcode1 ...
5 years, 8 months ago (2015-04-23 05:46:40 UTC) #10
fs
https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html (right): https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html#newcode21 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html:21: <g transform="scale(2 2)"> Make this 0.5 instead so that ...
5 years, 8 months ago (2015-04-23 08:24:22 UTC) #11
Shanmuga Pandi
https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html (right): https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html#newcode21 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html:21: <g transform="scale(2 2)"> On 2015/04/23 08:24:22, fs wrote: > ...
5 years, 8 months ago (2015-04-23 08:51:33 UTC) #12
fs
https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html (right): https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html#newcode21 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html:21: <g transform="scale(2 2)"> On 2015/04/23 08:51:33, Shanmuga Pandi wrote: ...
5 years, 8 months ago (2015-04-23 09:11:33 UTC) #13
Shanmuga Pandi
On 2015/04/23 09:11:33, fs wrote: > https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html > File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html (right): > > https://codereview.chromium.org/1072403010/diff/100001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html#newcode21 > ...
5 years, 8 months ago (2015-04-23 09:23:44 UTC) #14
fs
I'll start a try-bot for you (I'm a bit interested in how the gradient TC ...
5 years, 8 months ago (2015-04-23 09:31:40 UTC) #15
Shanmuga Pandi
https://codereview.chromium.org/1072403010/diff/140001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt (right): https://codereview.chromium.org/1072403010/diff/140001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt#newcode13 LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt:13: [11, 15, 42, 24], On 2015/04/23 09:31:40, fs wrote: ...
5 years, 8 months ago (2015-04-23 10:03:52 UTC) #16
Shanmuga Pandi
On 2015/04/23 10:03:52, Shanmuga Pandi wrote: > https://codereview.chromium.org/1072403010/diff/140001/LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt > File LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt > (right): > > ...
5 years, 8 months ago (2015-04-23 11:04:24 UTC) #17
fs
On 2015/04/23 11:04:24, Shanmuga Pandi wrote: > On 2015/04/23 10:03:52, Shanmuga Pandi wrote: > > ...
5 years, 8 months ago (2015-04-23 11:09:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072403010/160001
5 years, 8 months ago (2015-04-23 11:22:43 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/60494)
5 years, 8 months ago (2015-04-23 17:06:09 UTC) #22
fs
On 2015/04/23 17:06:09, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-24 08:37:30 UTC) #23
Shanmuga Pandi
On 2015/04/24 08:37:30, fs wrote: > On 2015/04/23 17:06:09, I haz the power (commit-bot) wrote: ...
5 years, 8 months ago (2015-04-27 05:59:48 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072403010/180001
5 years, 8 months ago (2015-04-27 06:02:55 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/43097)
5 years, 8 months ago (2015-04-27 06:05:51 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072403010/200001
5 years, 8 months ago (2015-04-27 06:17:19 UTC) #33
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 07:33:12 UTC) #34
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194496

Powered by Google App Engine
This is Rietveld 408576698