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

Issue 1234383003: Removing TreatNullAs=NullString from SVGAngle.valueAsString and SVGLength.valueAsString attributes (Closed)

Created:
5 years, 5 months ago by Paritosh Kumar
Modified:
5 years, 5 months ago
Reviewers:
pdr., philipj_slow
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Removing TreatNullAs=NullString from SVGAngle.valueAsString and SVGLength.valueAsString attributes As per specs these should not have TreatNullAs=NullString [1] http://www.w3.org/TR/SVG2/types.html#InterfaceSVGAngle [2] http://www.w3.org/TR/SVG2/types.html#InterfaceSVGLength Specs doesn't say anything about Null case. But, Behavior of FF & IE: IE and FF both throws SyntaxError in case of null as the parameter of setValueAsString. This cl also removes the TODO for constructor in SVGAngle and SVGLength BUG=460722 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199176

Patch Set 1 : Reviewed: 1 #

Total comments: 4

Patch Set 2 : Reviewed: 2 [LGTMed] #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M LayoutTests/svg/dom/SVGAngle-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/svg/dom/SVGLength-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/svg/dom/script-tests/SVGAngle.js View 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/svg/dom/script-tests/SVGLength.js View 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml View 1 chunk +0 lines, -14 lines 0 comments Download
M LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/svg/SVGAngle.idl View 2 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/svg/SVGLength.idl View 2 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Paritosh Kumar
Please have a look.
5 years, 5 months ago (2015-07-20 11:38:40 UTC) #2
philipj_slow
Can you please test and document the behavior in Firefox and IE? In cases like ...
5 years, 5 months ago (2015-07-20 11:47:02 UTC) #3
Paritosh Kumar
Thanks Philip I tested the behavior of IE and FF and found that, IE and ...
5 years, 5 months ago (2015-07-20 12:15:02 UTC) #4
philipj_slow
lgtm https://codereview.chromium.org/1234383003/diff/1/Source/core/svg/SVGAngle.idl File Source/core/svg/SVGAngle.idl (left): https://codereview.chromium.org/1234383003/diff/1/Source/core/svg/SVGAngle.idl#oldcode25 Source/core/svg/SVGAngle.idl:25: // TODO(philipj): SVGAngle should have constructors. crbug.com/366541 On ...
5 years, 5 months ago (2015-07-20 13:04:53 UTC) #5
Paritosh Kumar
On 2015/07/20 13:04:53, philipj wrote: > lgtm > > https://codereview.chromium.org/1234383003/diff/1/Source/core/svg/SVGAngle.idl > File Source/core/svg/SVGAngle.idl (left): > ...
5 years, 5 months ago (2015-07-20 13:40:09 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234383003/40001
5 years, 5 months ago (2015-07-20 13:40:38 UTC) #8
philipj_slow
Changed BUG= to BUG=460722. Just BUG= is never useful, so you can remove it if ...
5 years, 5 months ago (2015-07-20 13:41:57 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-20 15:02:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234383003/40001
5 years, 5 months ago (2015-07-20 17:57:59 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-07-20 18:06:28 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199176

Powered by Google App Engine
This is Rietveld 408576698