Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324549 - Support of svg namespace in xhtml file
Summary: Support of svg namespace in xhtml file
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: wst.html CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-06 03:15 EDT by Sarika Sinha CLA
Modified: 2020-06-25 00:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarika Sinha CLA 2010-09-06 03:15:40 EDT
Build Identifier: M20100811-0800

xhtml file should support the svg namespace

Reproducible: Always

Steps to Reproduce:
xmlns:svg="http://www.w3.org/2000/svg" should be supported in xhtml files and the syntax of svg should be validated in the editor.

Example 1: <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:svg="http://www.w3.org/2000/svg">
<body >
  <svg:svg height="0">
    <svg:clipPath id="c1" clipPathUnits="objectBoundingBox">
      <svg:circle1 cx="0.25" cy="0.25" r="0.25" id="circle"/>
      <svg:rect x="0.5" y="0.2" width="0.5" height="0.8"/>
    </svg:clipPath>
  </svg:svg>
</body>
</html>
Example 2:
<html xmlns="http://www.w3.org/1999/xhtml">
 
<body >
    <p>This page uses frames. The current browser you are using does not support frames.</p>
    <svg xmlns="http://www.w3.org/2000/svg" version="1.1"  >  
     <rect x="0" y="0" width="100" height="100" style="fill:url(#gradient)" />  
   	 <circle cx="50" cy="50" r="30" style="fill:url(#gradient)" />  
   </svg>  
</body>
</html>