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

Issue 1073803002: SVG doesn't recognize ch units. (Closed)

Created:
5 years, 8 months ago by Shanmuga Pandi
Modified:
5 years, 8 months ago
CC:
blink-reviews, krit, blink-reviews-css, kouhei+svg_chromium.org, ed+blinkwatch_opera.com, fs, dglazkov+blink, apavlov+blink_chromium.org, darktears, gyuyoung2, f(malita), Stephen Chennney, pdr+svgwatchlist_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

SVG doesn't recognize ch units. Adds support for the 'ch' unit in SVG <length> values. BUG=368598 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193591

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changed font-familt from serif to Ahem and align with review comments #

Total comments: 2

Patch Set 3 : Align with review comments and rebased #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -14 lines) Patch
M LayoutTests/fast/svg/svglength.html View 4 chunks +6 lines, -2 lines 0 comments Download
A + LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html View 1 2 chunks +10 lines, -4 lines 0 comments Download
A LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change-expected.html View 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/svg/stroke/stroke-array-ch-type.svg View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + LayoutTests/svg/stroke/stroke-array-ch-type-expected.svg View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/svg/stroke/stroke-width-ch-type.svg View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + LayoutTests/svg/stroke/stroke-width-ch-type-expected.svg View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLength.h View 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/svg/SVGLength.cpp View 1 2 6 chunks +15 lines, -4 lines 0 comments Download
M Source/core/svg/SVGLengthContext.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/svg/SVGLengthContext.cpp View 1 2 3 3 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Shanmuga Pandi
Please review it.
5 years, 8 months ago (2015-04-09 14:10:05 UTC) #2
Erik Dahlström (inactive)
https://codereview.chromium.org/1073803002/diff/1/LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html File LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html (right): https://codereview.chromium.org/1073803002/diff/1/LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html#newcode19 LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html:19: <div id="rootdiv" style="font-size:10px; font-family:serif"> It would be better to ...
5 years, 8 months ago (2015-04-10 08:43:18 UTC) #3
Shanmuga Pandi
https://codereview.chromium.org/1073803002/diff/1/LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html File LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html (right): https://codereview.chromium.org/1073803002/diff/1/LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html#newcode19 LayoutTests/svg/repaint/svg-length-ch-unit-font-size-change.html:19: <div id="rootdiv" style="font-size:10px; font-family:serif"> On 2015/04/10 08:43:18, Erik Dahlström ...
5 years, 8 months ago (2015-04-10 11:46:16 UTC) #4
fs
https://codereview.chromium.org/1073803002/diff/20001/Source/core/svg/SVGLength.cpp File Source/core/svg/SVGLength.cpp (right): https://codereview.chromium.org/1073803002/diff/20001/Source/core/svg/SVGLength.cpp#newcode108 Source/core/svg/SVGLength.cpp:108: } else if (firstChar == 'c' && secondChar == ...
5 years, 8 months ago (2015-04-10 12:17:24 UTC) #6
Shanmuga Pandi
https://codereview.chromium.org/1073803002/diff/20001/Source/core/svg/SVGLength.cpp File Source/core/svg/SVGLength.cpp (right): https://codereview.chromium.org/1073803002/diff/20001/Source/core/svg/SVGLength.cpp#newcode108 Source/core/svg/SVGLength.cpp:108: } else if (firstChar == 'c' && secondChar == ...
5 years, 8 months ago (2015-04-10 13:09:19 UTC) #7
Erik Dahlström (inactive)
lgtm
5 years, 8 months ago (2015-04-10 13:48:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1073803002/40001
5 years, 8 months ago (2015-04-10 13:51:24 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/30994)
5 years, 8 months ago (2015-04-10 14:00:29 UTC) #12
fs
(rs-)lgtm
5 years, 8 months ago (2015-04-10 14:28:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1073803002/40001
5 years, 8 months ago (2015-04-11 06:03:03 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/51453)
5 years, 8 months ago (2015-04-11 06:07:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1073803002/60001
5 years, 8 months ago (2015-04-11 08:51:03 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-04-11 11:04:12 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193591

Powered by Google App Engine
This is Rietveld 408576698