Closed Bug 435361 Opened 16 years ago Closed 16 years ago

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

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kbwood, Unassigned)

References

()

Details

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
Closed: 16 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.