W3C home > Mailing lists > Public > www-svg@w3.org > July 2011

Re: stroke=gradient for lines or horizontal paths

From: Alex Danilo <alex@abbra.com>
Date: Wed, 13 Jul 2011 22:43:31 +1000
Message-Id: <JCV9OL.7B2Q793Q3074@abbra.com>
To: Robert Longson <longsonr@gmail.com>
Cc: www-svg@w3.org
Hi Robert,

--Original Message--:
>Alex,
>
>> Which of course begs the question - how do you get
>> the bounding box of a stroked object through the DOM?
>
>You can call getBoundingClientRect
>
>https://developer.mozilla.org/en/DOM/element.getBoundingClientRect
>
>This works on IE9 and Firefox. I'm not sure where else it is implemented.

Thanks.

But can you point me at the W3C spec. that defines this, or
is this another vendor specific extension?

Alex

>Best regards
>
>Robert
>
>
>
Received on Wednesday, 13 July 2011 12:44:03 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:48 GMT