Closed Bug 231171 Opened 21 years ago Closed 20 years ago

SVG doesn't work in HTML <embed> tag

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 240408

People

(Reporter: blue_prawn, Assigned: alex)

Details

User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031217

Mozilla should support both of them ! 
 
<embed src="./svg.xml" type="image/svg+xml" />  
<object data="./svg.xml" type="image/svg+xml" /> 
 
embed is for HTML 4 and 4.01 
object is for XHTML 1.0 and 1.1 
 

Reproducible: Always

Steps to Reproduce:
1. switch the DOCTYPE of XHTML1 to HTML4 
2. switch the tag to include the SVG image 
Actual Results:  
HTML does not work (only XHTML) 
 

Expected Results:  
interoperability with HTML (not only XHTML)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: in XHTML1.0 -> object tag /VS/ in HTML4.01 -> embed tag → SVG doesn't work in HTML <embed> tag
OS: Linux → All
Hardware: PC → All

*** This bug has been marked as a duplicate of 240408 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.