document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVG","1.1") returns false

RESOLVED INVALID

Status

()

RESOLVED INVALID
10 years ago
10 years ago

People

(Reporter: kbwood, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0

In FF2 this JavaScript returns true:

document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVG","1.1")

whereas in FF3rc1 it returns false, even though SVG is supported.

In FF3b? this JavaScript returned true

document.implementation.hasFeature("org.w3c.svg", "1.1")

whereas in FF3rc1 it now returns false.

Reproducible: Always

Steps to Reproduce:
1. Add following JavaScript to a page and open it:
<script type="text/javascript">
alert('svg11 ' + document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVG","1.1"));
alert('w3c ' + document.implementation.hasFeature("org.w3c.svg", "1.1"));
</script>

Actual Results:  
svg11 false
w3c false

Expected Results:  
svg11 true
w3c (don't care)
SVG may be supported but the implementation is incomplete. Firefox 2 should not have made this claim.
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Component: SVG → General
Resolution: --- → INVALID
Component: General → SVG
You need to log in before you can comment on or make changes to this bug.