Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to unship: hasFeature() method on some SVG elements

66 views
Skip to first unread message

Cameron McCormack

unread,
May 2, 2019, 10:37:59 PM5/2/19
to dev-pl...@lists.mozilla.org
The hasFeature() method on some SVG elements comes from SVG 1.0 and was intended to be used as part of SVG's extension mechanisms. This function never returned anything other than false in browser implementations, and was removed in SVG 2. Chrome no longer supports this, although WebKit still does. I don't anticipate any issue removing this.

The removal is being done in https://bugzilla.mozilla.org/show_bug.cgi?id=1133175.

Thanks,

Cameron

Christopher Mills

unread,
May 3, 2019, 6:31:50 AM5/3/19
to Cameron McCormack, dev-platform
The referenced bug references SVGTests.hasExtension; what's the correct
one?

墨俊凱 / Cameron McCormack

unread,
May 3, 2019, 11:08:03 PM5/3/19
to Chris Mills, dev-platform
The method is defined on SVGTests, which is a mixin interface implemented by some specific SVG element interfaces (like SVGGraphicsElement).

Christopher Mills

unread,
May 4, 2019, 4:30:33 AM5/4/19
to 墨俊凱 / Cameron McCormack, dev-platform
On Sat, May 4, 2019 at 4:07 AM 墨俊凱 / Cameron McCormack <c...@mcc.id.au>
Oh, ok, I get it now. Thanks for your help.
0 new messages