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

Issue 233653007: Remove contentStyleType and contentScriptType from SVGSVGElement (Closed)

Created:
6 years, 8 months ago by rwlbuis
Modified:
6 years, 7 months ago
CC:
blink-reviews, krit, arv+blink, watchdog-blink-watchlist_google.com, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Inactive, Stephen Chennney, kouhei+svg_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove contentStyleType and contentScriptType from SVGSVGElement These are marked for removal in the changes section: http://www.w3.org/TR/SVG2/changes.html Note that Mozilla has already removed these two. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171813

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Also remove contentScriptType #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -46 lines) Patch
M LayoutTests/html5lib/resources/tests11.dat View 1 2 8 chunks +4 lines, -12 lines 0 comments Download
M Source/core/svg/SVGAttributeNames.in View 1 2 1 chunk +0 lines, -2 lines 1 comment Download
M Source/core/svg/SVGSVGElement.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 1 2 1 chunk +0 lines, -24 lines 0 comments Download
M Source/core/svg/SVGSVGElement.idl View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
rwlbuis
PTAL. Do we need an intent for this?
6 years, 8 months ago (2014-04-15 18:36:04 UTC) #1
pdr.
On 2014/04/15 18:36:04, rwlbuis wrote: > PTAL. Do we need an intent for this? Codechange: ...
6 years, 8 months ago (2014-04-15 18:46:09 UTC) #2
rwlbuis
On 2014/04/15 18:46:09, pdr wrote: > On 2014/04/15 18:36:04, rwlbuis wrote: > > PTAL. Do ...
6 years, 8 months ago (2014-04-15 20:06:05 UTC) #3
Erik Dahlström (inactive)
https://codereview.chromium.org/233653007/diff/40001/Source/core/svg/SVGAttributeNames.in File Source/core/svg/SVGAttributeNames.in (left): https://codereview.chromium.org/233653007/diff/40001/Source/core/svg/SVGAttributeNames.in#oldcode37 Source/core/svg/SVGAttributeNames.in:37: contentStyleType Should we also drop the other removed attributes ...
6 years, 8 months ago (2014-04-16 11:44:19 UTC) #4
rwlbuis
On 2014/04/16 11:44:19, Erik Dahlström wrote: > https://codereview.chromium.org/233653007/diff/40001/Source/core/svg/SVGAttributeNames.in > File Source/core/svg/SVGAttributeNames.in (left): > > https://codereview.chromium.org/233653007/diff/40001/Source/core/svg/SVGAttributeNames.in#oldcode37 ...
6 years, 8 months ago (2014-04-16 15:13:12 UTC) #5
Erik Dahlström (inactive)
On 2014/04/16 15:13:12, rwlbuis wrote: > On 2014/04/16 11:44:19, Erik Dahlström wrote: > > > ...
6 years, 8 months ago (2014-04-16 15:47:00 UTC) #6
rwlbuis
On 2014/04/16 15:47:00, Erik Dahlström wrote: > On 2014/04/16 15:13:12, rwlbuis wrote: > > On ...
6 years, 8 months ago (2014-04-16 17:10:27 UTC) #7
pdr.
I think there's agreement that this is good to go, and we'll address other attributes ...
6 years, 8 months ago (2014-04-16 21:43:43 UTC) #8
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 8 months ago (2014-04-16 21:47:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/233653007/40001
6 years, 8 months ago (2014-04-16 21:47:59 UTC) #10
commit-bot: I haz the power
Change committed as 171813
6 years, 8 months ago (2014-04-16 22:54:10 UTC) #11
fs
On 2014/04/16 21:43:43, pdr wrote: > I think there's agreement that this is good to ...
6 years, 8 months ago (2014-04-17 07:31:48 UTC) #12
pdr.
6 years, 7 months ago (2014-04-30 19:12:16 UTC) #13
Message was sent while issue was closed.
On 2014/04/17 07:31:48, fs wrote:
> On 2014/04/16 21:43:43, pdr wrote:
> > I think there's agreement that this is good to go, and we'll address other
> > attributes in a followup.
> 
> FWIW, Gecko only removed the IDL attribute, so running something like:
> 
> <!DOCTYPE html>
> <svg height=0><script contentscripttype></script></svg>
> <script>
> var scriptElm = document.querySelector('script');
> var attrs = ['contentscripttype', 'contentScriptType'];
> for (var i in attrs)
>   document.write('<p>hasAttribute(' + attrs[i] + '): ' +
> scriptElm.hasAttribute(attrs[i]) + '</p>');
> </script>
> 
> will still give the "expected" result in a recent enough FF, while it'll give
> the inverted result in Blink (now, with this patch). (Not that _I_ think it
> matters much in this particular case, but...)

Just FYI: these have now been removed from the spec:
http://html5.org/tools/web-apps-tracker?from=8591&to=8592

Powered by Google App Engine
This is Rietveld 408576698