Bug 118178 - Introduce SVGGraphicsElement IDL interface
Summary: Introduce SVGGraphicsElement IDL interface
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://svgwg.org/svg2-draft/types.ht...
Keywords: BlinkMergeCandidate, WebExposed
Depends on:
Blocks: 118353
  Show dependency treegraph
 
Reported: 2013-06-28 02:46 PDT by Chris Dumez
Modified: 2013-07-03 04:35 PDT (History)
19 users (show)

See Also:


Attachments
Patch (148.12 KB, patch)
2013-06-28 03:51 PDT, Chris Dumez
haraken: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Attempt to fix mac-ews (154.52 KB, patch)
2013-06-28 04:36 PDT, Chris Dumez
buildbot: commit-queue-
Details | Formatted Diff | Diff
Another attempt to fix mac build (155.42 KB, patch)
2013-06-28 05:40 PDT, Chris Dumez
buildbot: commit-queue-
Details | Formatted Diff | Diff
Another attempt to fix mac build (159.70 KB, patch)
2013-06-28 06:27 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (164.47 KB, patch)
2013-06-28 06:56 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2013-06-28 02:46:53 PDT
We should merge SVGLocatable and SVGTransformable into a new SVGGraphicsElement IDL interface, which inherits SVGElement, as per the latest specification:
https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement

This is one step towards getting rid of multiple inheritance in SVG, which is not longer supported by Web IDL.

Corresponding Blink patch:
https://src.chromium.org/viewvc/blink?revision=153166&view=revision
Comment 1 Chris Dumez 2013-06-28 03:51:03 PDT
Created attachment 205694 [details]
Patch
Comment 2 Kentaro Hara 2013-06-28 04:13:49 PDT
Comment on attachment 205694 [details]
Patch

Looks OK.
Comment 3 Build Bot 2013-06-28 04:22:00 PDT
Comment on attachment 205694 [details]
Patch

Attachment 205694 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/974332
Comment 4 Chris Dumez 2013-06-28 04:36:18 PDT
Created attachment 205697 [details]
Attempt to fix mac-ews
Comment 5 Build Bot 2013-06-28 05:08:14 PDT
Comment on attachment 205697 [details]
Attempt to fix mac-ews

Attachment 205697 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/966735
Comment 6 Chris Dumez 2013-06-28 05:40:17 PDT
Created attachment 205704 [details]
Another attempt to fix mac build
Comment 7 Build Bot 2013-06-28 05:59:04 PDT
Comment on attachment 205704 [details]
Another attempt to fix mac build

Attachment 205704 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/981698
Comment 8 Chris Dumez 2013-06-28 06:27:44 PDT
Created attachment 205707 [details]
Another attempt to fix mac build
Comment 9 Chris Dumez 2013-06-28 06:56:54 PDT
Created attachment 205711 [details]
Patch
Comment 10 Chris Dumez 2013-06-28 06:58:54 PDT
Kentaro, could you please take another quick look?

I merged the fix from https://codereview.chromium.org/18054014/ (Moving SVGTests related code from SVGGraphics subclasses to SVGGraphics class) since this patch had not landed yet.

Mac build should be OK now too.
Comment 11 Kentaro Hara 2013-06-28 07:01:06 PDT
Comment on attachment 205711 [details]
Patch

LGTM
Comment 12 Dirk Schulze 2013-06-28 07:56:37 PDT
(In reply to comment #11)
> (From update of attachment 205711 [details])
> LGTM

Could you please give some more hours for reviewers familiar with this code? This is was a simple renaming and cleanup. But follow up patches need a lot more attention and I would like have some one with a bit more experience to look over it before it gets reviewed - or at least committed. Thank you.
Comment 13 Chris Dumez 2013-06-28 08:11:53 PDT
(In reply to comment #12)
> (In reply to comment #11)
> > (From update of attachment 205711 [details] [details])
> > LGTM
> 
> Could you please give some more hours for reviewers familiar with this code? This is was a simple renaming and cleanup. But follow up patches need a lot more attention and I would like have some one with a bit more experience to look over it before it gets reviewed - or at least committed. Thank you.

Sure. Let me know when this can be committed or if you have comments.
Comment 14 Dirk Schulze 2013-06-28 08:18:11 PDT
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > (From update of attachment 205711 [details] [details] [details])
> > > LGTM
> > 
> > Could you please give some more hours for reviewers familiar with this code? This is was a simple renaming and cleanup. But follow up patches need a lot more attention and I would like have some one with a bit more experience to look over it before it gets reviewed - or at least committed. Thank you.
> 
> Sure. Let me know when this can be committed or if you have comments.

Looked over it. Looks great for me. More worried when it comes to changing SVGLocatable elements to SVGGraphicsElements. This needs a lot of testing. Especially text related elements can be tricky.
Comment 15 Chris Dumez 2013-06-28 08:36:57 PDT
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > (In reply to comment #11)
> > > > (From update of attachment 205711 [details] [details] [details] [details])
> > > > LGTM
> > > 
> > > Could you please give some more hours for reviewers familiar with this code? This is was a simple renaming and cleanup. But follow up patches need a lot more attention and I would like have some one with a bit more experience to look over it before it gets reviewed - or at least committed. Thank you.
> > 
> > Sure. Let me know when this can be committed or if you have comments.
> 
> Looked over it. Looks great for me. More worried when it comes to changing SVGLocatable elements to SVGGraphicsElements. This needs a lot of testing. Especially text related elements can be tricky.

Ok, thanks for checking. I'll cc you from now on and give some time. I do agree that more complex patches are coming and help is welcome :)
Comment 16 WebKit Commit Bot 2013-06-28 08:58:37 PDT
Comment on attachment 205711 [details]
Patch

Clearing flags on attachment: 205711

Committed r152167: <http://trac.webkit.org/changeset/152167>
Comment 17 WebKit Commit Bot 2013-06-28 08:58:42 PDT
All reviewed patches have been landed.  Closing bug.