Closed
Bug 825749
Opened 12 years ago
Closed 12 years ago
Convert SVG gradient elements to WebIDL
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
Attachments
(1 file)
54.61 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•12 years ago
|
||
I've been avoiding subclasses of SVGDefinitionElement until the WG decides which elements SVGTests should actually be implemented on.
Assignee | ||
Comment 2•12 years ago
|
||
Looks like we already implement SVGTests on those, so I just kept it.
Attachment #696993 -
Flags: review?(bzbarsky)
Comment 3•12 years ago
|
||
The trouble is that the current SVG Specification says both that SVGTests should and shouldn't work on gradients in different sections. The most likely outcome is that SVGTests will get removed from gradients, patterns, filters and clipPaths.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Robert Longson from comment #3)
> The trouble is that the current SVG Specification says both that SVGTests
> should and shouldn't work on gradients in different sections. The most
> likely outcome is that SVGTests will get removed from gradients, patterns,
> filters and clipPaths.
Sure. But AFAICT, we currently support SVGTests on gradients, and I have no intention of changing that in this bug.
Comment 5•12 years ago
|
||
(In reply to :Ms2ger from comment #4)
>
> Sure. But AFAICT, we currently support SVGTests on gradients, and I have no
> intention of changing that in this bug.
We do, I'm planning to change it in bug 825411 as soon as Cameron confirms that's what should happen.
![]() |
||
Comment 6•12 years ago
|
||
Comment on attachment 696993 [details] [diff] [review]
Patch v1
> /* readonly attribute nsISupports gradientTransform; */
Fix the comment?
>+/* readonly attribute nsIDOMSVGAnimatedLength cx; */
>+NS_IMETHODIMP SVGLinearGradientElement::GetX1(nsIDOMSVGAnimatedLength * *aX1)
Unbreak the comment?
>+/* readonly attribute nsIDOMSVGAnimatedLength cy; */
>+NS_IMETHODIMP SVGLinearGradientElement::GetY1(nsIDOMSVGAnimatedLength * *aY1)
Likewise.
>+/* readonly attribute nsIDOMSVGAnimatedLength rx; */
>+NS_IMETHODIMP SVGLinearGradientElement::GetX2(nsIDOMSVGAnimatedLength * *aX2)
And here.
>+/* readonly attribute nsIDOMSVGAnimatedLength ry; */
>+NS_IMETHODIMP SVGLinearGradientElement::GetY2(nsIDOMSVGAnimatedLength * *aY2)
And here.
r=me with those comment fixes
Attachment #696993 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•