- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Thu, 10 Apr 2014 08:19:00 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/52cad72e3144 branches: changeset: 654:52cad72e3144 user: Erik Dahlstr?m <ed@opera.com> date: Thu Apr 10 17:16:14 2014 +0200 description: Removed 'baseProfile' and 'version'. diffstat: master/animate.html | 6 +- master/changes.html | 5 +- master/coords.html | 10 +- master/definitions.xml | 2 - master/embedded.html | 2 +- master/extend.html | 4 +- master/images/coords/Nested.svg | 2 +- master/images/coords/NewCoordSys.svg | 2 +- master/images/coords/OrigCoordSys.svg | 2 +- master/images/coords/PreserveAspectRatio.svg | 2 +- master/images/coords/RotateScale.svg | 2 +- master/images/coords/Skew.svg | 2 +- master/images/coords/Units.svg | 2 +- master/images/coords/ViewBox-Width150.svg | 2 +- master/images/coords/ViewBox.svg | 2 +- master/images/coords/geocoord1.svg | 2 +- master/images/coords/geocoord2.svg | 2 +- master/images/coords/geocoord3.svg | 2 +- master/images/painting/non-scaling-stroke.svg | 2 +- master/images/pservers/gradient_vector_and_normal_alt.svg | 1 - master/images/pservers/radgrad01.svg | 1 - master/images/struct/Use04.svg | 2 +- master/images/styling/ExternalCSSStyleSheet.svg | 2 +- master/images/styling/InternalCSSStyleSheet.svg | 2 +- master/images/styling/PresentationAttributes.svg | 2 +- master/images/styling/StyleAttribute.svg | 2 +- master/metadata.html | 2 +- master/painting.html | 4 +- master/script.html | 2 +- master/struct.html | 64 +-------------- master/styling.html | 4 +- master/text.html | 4 +- 32 files changed, 44 insertions(+), 103 deletions(-) diffs (892 lines): diff --git a/master/animate.html b/master/animate.html --- a/master/animate.html +++ b/master/animate.html @@ -236,17 +236,17 @@ processing</a>).</p> <div class="example"> <p id="ExampleAnim01"><span class="example-ref">Example anim01</span> below demonstrates each of SVG's five animation elements.</p> <pre><![CDATA[ <?xml version="1.0" standalone="no"?> <svg width="8cm" height="3cm" viewBox="0 0 800 300" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example anim01 - demonstrate animation elements</desc> <rect x="1" y="1" width="798" height="298" fill="none" stroke="blue" stroke-width="2" /> <!-- The following illustrates the use of the 'animate' element to animate a rectangles x, y, and width attributes so that the rectangle grows to ultimately fill the viewport. --> <rect id="RectElement" x="300" y="100" width="300" height="100" fill="rgb(255,255,0)" > @@ -2103,17 +2103,17 @@ In particular, see <a href="http://www.w transformation matrices that are computed during a motion path animation.</p> <p id="ExampleAnimMotion01"><span class="example-ref">Example animMotion01</span> shows a triangle moving along a motion path.</p> <pre><![CDATA[ <?xml version="1.0" standalone="no"?> <svg width="5cm" height="3cm" viewBox="0 0 500 300" - xmlns="http://www.w3.org/2000/svg" version="1.1" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" > <desc>Example animMotion01 - demonstrate motion animation computations</desc> <rect x="1" y="1" width="498" height="298" fill="none" stroke="blue" stroke-width="2" /> <!-- Draw the outline of the motion path in blue, along with three small circles at the start, middle and end. --> <path id="path1" d="M100,250 C 100,50 400,50 400,250" fill="none" stroke="blue" stroke-width="7.06" /> @@ -2630,17 +2630,17 @@ the given attribute or property is defin <div class="example"> <p><span class="example-ref">Example dom01</span> shows a simple animation using the DOM.</p> <pre><![CDATA[ <?xml version="1.0" standalone="no"?> <svg width="4cm" height="2cm" viewBox="0 0 400 200" xmlns="http://www.w3.org/2000/svg" - onload="StartAnimation(evt)" version="1.1"> + onload="StartAnimation(evt)"> <script type="application/ecmascript">]]><![CDATA[<![CDATA[ var timevalue = 0; var timer_increment = 50; var max_time = 5000; var text_element; function StartAnimation(evt) { text_element = evt.target.ownerDocument.getElementById("TextElement"); ShowAndGrowElement(); diff --git a/master/changes.html b/master/changes.html --- a/master/changes.html +++ b/master/changes.html @@ -123,17 +123,20 @@ have been made.</p> <li>Removed the <code>SVGElementInstance</code> and <code>SVGElementInstanceList</code> interfaces, and the corresponding attributes on the <a>SVGUseElement</a> interface.</li> <li>Changed the <a>'use'</a> element event flow to follow the Shadow DOM spec.</li> <li>Clarified that the <a>'switch'</a> element does not affect processing of <a>'script'</a> elements.</li> <li>Made the <a>'svg/width'</a> and <a>'svg/height'</a> attributes on the <a>'svg'</a> element presentation attributes, and changed the lacuna value to - <span class="attr-value">auto</span>.</li> + <span class="attr-value">auto</span>. + </li> + + <li>Removed the <span class="attr-name">baseProfile</span> and <span class="attr-name">version</span> attributes from the <a>'svg'</a> element.</li> </ul> <h3 id="styling">Styling chapter</h3> <ul> <li>Removed the <span class="attr-name">'contentStyleType'</span> attribute.</li> </ul> diff --git a/master/coords.html b/master/coords.html --- a/master/coords.html +++ b/master/coords.html @@ -176,17 +176,17 @@ the <span class="attr-value">width="100p determine the size of the initial viewport:</p> <pre> <?xml version="1.0" standalone="yes"?> <parent xmlns="http://some.url"> <!-- SVG graphic --> <svg xmlns='http://www.w3.org/2000/svg' - width="100px" height="200px" version="1.1"> + width="100px" height="200px"> <path d="M100,100 Q200,400,300,100"/> <!-- rest of SVG graphic would go here --> </svg> </parent> </pre> </div> @@ -412,17 +412,17 @@ value of zero disables rendering of the <p id="ExampleViewBox"><span class="example-ref">Example ViewBox</span> illustrates the use of the <a>'viewBox'</a> attribute on the <a>outermost svg element</a> to specify that the SVG content should stretch to fit bounds of the viewport.</p> <pre> <?xml version="1.0" standalone="no"?> -<svg width="300px" height="200px" version="1.1" +<svg width="300px" height="200px" viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"> <desc>Example ViewBox - uses the viewBox attribute to automatically create an initial user coordinate system which causes the graphic to scale to fit into the viewport no matter what size the viewport is.</desc> <!-- This rectangle goes from (0,0) to (1500,1000) in user space. Because of the viewBox attribute above, @@ -477,34 +477,34 @@ rectangle in user space to the bounds of the left, with viewport dimensions of 300 by 200 pixels, the user agent needs to automatically insert a transformation which scales both X and Y by 0.2. The effect is equivalent to having a viewport of size 300px by 200px and the following supplemental transformation in the document, as follows:</p> <pre> <?xml version="1.0" standalone="no"?> -<svg width="300px" height="200px" version="1.1" +<svg width="300px" height="200px" xmlns="http://www.w3.org/2000/svg"> <strong><g transform="scale(0.2)"></strong> <!-- Rest of document goes here --> <strong></g></strong> </svg> </pre> <p>To achieve the effect of the example on the right, with viewport dimensions of 150 by 200 pixels, the user agent needs to automatically insert a transformation which scales X by 0.1 and Y by 0.2. The effect is equivalent to having a viewport of size 150px by 200px and the following supplemental transformation in the document, as follows:</p> <pre> <?xml version="1.0" standalone="no"?> -<svg width="150px" height="200px" version="1.1" +<svg width="150px" height="200px" xmlns="http://www.w3.org/2000/svg"> <strong><g transform="scale(0.1 0.2)"></strong> <!-- Rest of document goes here --> <strong></g></strong> </svg> </pre> <p>(Note: in some cases the user agent will need to supply a @@ -803,17 +803,17 @@ in the new viewport coordinate system an coordinate system are the same size as a single unit in the current user coordinate system for the element establishing the viewport.</p> <p>Here is an example:</p> <pre> <?xml version="1.0" standalone="no"?> -<svg width="4in" height="3in" version="1.1" +<svg width="4in" height="3in" xmlns="http://www.w3.org/2000/svg"> <desc>This SVG drawing embeds another one, thus establishing a new viewport </desc> <!-- The following statement establishing a new viewport and renders SVG drawing B into that viewport --> <svg x="25%" y="25%" width="50%" height="50%"> <!-- drawing B goes here --> diff --git a/master/definitions.xml b/master/definitions.xml --- a/master/definitions.xml +++ b/master/definitions.xml @@ -703,18 +703,16 @@ elements='a, altGlyphDef, clipPath, cursor, filter, font, font-face, foreignObject, image, marker, mask, script, style, switch, text, view' attributecategories='aria, navigation, conditional processing, core, document event, graphical event, presentation, style' attributes='viewBox, preserveAspectRatio, zoomAndPan' interfaces='SVGSVGElement'> <attribute name='x' href='struct.html#SVGElementXAttribute' animatable='yes'/> <attribute name='y' href='struct.html#SVGElementYAttribute' animatable='yes'/> <attribute name='width' href='struct.html#SVGElementWidthAttribute' animatable='yes' presentation='yes'/> <attribute name='height' href='struct.html#SVGElementHeightAttribute' animatable='yes' presentation='yes'/> - <attribute name='version' href='struct.html#SVGElementVersionAttribute'/> - <attribute name='baseProfile' href='struct.html#SVGElementBaseProfileAttribute'/> <attribute name='playbackOrder' href='struct.html#SVGElementPlaybackOrderAttribute' animatable='no'/> <attribute name='timelineBegin' href='struct.html#SVGElementTimelineBeginAttribute' animatable='no'/> </element> <element name='switch' href='struct.html#SwitchElement' contentmodel='anyof' diff --git a/master/embedded.html b/master/embedded.html --- a/master/embedded.html +++ b/master/embedded.html @@ -280,17 +280,17 @@ elements within an SVG file.</p> See the definition of <a>'preserveAspectRatio'</a> for details.</p> </dd> </dl> <p>An example:</p> <pre> <?xml version="1.0" standalone="no"?> -<svg width="4in" height="3in" version="1.1" +<svg width="4in" height="3in" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <desc>This graphic links to an external image </desc> <image x="200" y="200" width="100px" height="100px" xlink:href="myimage.png"> <title>My image</title> </image> </svg> diff --git a/master/extend.html b/master/extend.html --- a/master/extend.html +++ b/master/extend.html @@ -51,17 +51,17 @@ the following purposes:</p> <p>To illustrate, a business graphics authoring application might want to include some private data within an SVG document so that it could properly reassemble the chart (a pie chart in this case) upon reading it back in:</p> <pre><![CDATA[ <?xml version="1.0" standalone="yes"?> -<svg width="4in" height="3in" version="1.1" +<svg width="4in" height="3in" xmlns = 'http://www.w3.org/2000/svg'> <defs> <myapp:piechart xmlns:myapp="http://example.org/myapp" title="Sales by Region"> <myapp:pieslice label="Northern Region" value="1.23"/> <myapp:pieslice label="Eastern Region" value="2.53"/> <myapp:pieslice label="Southern Region" value="3.89"/> <myapp:pieslice label="Western Region" value="2.04"/> @@ -176,17 +176,17 @@ available.</p> </edit:with> <h2 id="AnExample">An example</h2> <p>Here is an example:</p> <pre><![CDATA[ <?xml version="1.0" standalone="yes"?> -<svg width="4in" height="3in" version="1.1" +<svg width="4in" height="3in" xmlns = 'http://www.w3.org/2000/svg'> <desc>This example uses the 'switch' element to provide a fallback graphical representation of an paragraph, if XMHTML is not supported.</desc> <!-- The 'switch' element will process the first child element whose testing attributes evaluate to true.--> <switch> <!-- Process the embedded XHTML if the requiredExtensions attribute diff --git a/master/images/coords/Nested.svg b/master/images/coords/Nested.svg --- a/master/images/coords/Nested.svg +++ b/master/images/coords/Nested.svg @@ -1,10 +1,10 @@ <?xml version="1.0" standalone="no"?> -<svg width="400px" height="150px" version="1.1" +<svg width="400px" height="150px" xmlns="http://www.w3.org/2000/svg"> <desc>Example Nested - Nested transformations</desc> <g fill="none" stroke="black" stroke-width="3" > <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="150" /> </g> <!-- First, a translate --> diff --git a/master/images/coords/NewCoordSys.svg b/master/images/coords/NewCoordSys.svg --- a/master/images/coords/NewCoordSys.svg +++ b/master/images/coords/NewCoordSys.svg @@ -1,11 +1,11 @@ <?xml version="1.0" standalone="no"?> <svg width="400px" height="150px" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example NewCoordSys - New user coordinate system</desc> <g fill="none" stroke="black" stroke-width="3" > <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="150" /> </g> <g> <text x="30" y="30" font-size="20" font-family="Verdana" > diff --git a/master/images/coords/OrigCoordSys.svg b/master/images/coords/OrigCoordSys.svg --- a/master/images/coords/OrigCoordSys.svg +++ b/master/images/coords/OrigCoordSys.svg @@ -1,11 +1,11 @@ <?xml version="1.0" standalone="no"?> <svg width="400px" height="150px" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example OrigCoordSys - Simple transformations: original picture</desc> <g fill="none" stroke="black" stroke-width="3" > <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="150" /> </g> <g> <text x="30" y="30" font-size="20" font-family="Verdana" > diff --git a/master/images/coords/PreserveAspectRatio.svg b/master/images/coords/PreserveAspectRatio.svg --- a/master/images/coords/PreserveAspectRatio.svg +++ b/master/images/coords/PreserveAspectRatio.svg @@ -10,17 +10,17 @@ </g> "> <!ENTITY Viewport1 "<rect x='.5' y='.5' width='49' height='29' fill='none' stroke='blue'/>"> <!ENTITY Viewport2 "<rect x='.5' y='.5' width='29' height='59' fill='none' stroke='blue'/>"> ]> -<svg width="450px" height="300px" version="1.1" +<svg width="450px" height="300px" xmlns="http://www.w3.org/2000/svg"> <desc>Example PreserveAspectRatio - illustrates preserveAspectRatio attribute</desc> <rect x="1" y="1" width="448" height="298" fill="none" stroke="blue"/> <g font-size="9"> <text x="10" y="30">SVG to fit</text> <g transform="translate(20,40)">&Smile;</g> <text x="10" y="110">Viewport 1</text> diff --git a/master/images/coords/RotateScale.svg b/master/images/coords/RotateScale.svg --- a/master/images/coords/RotateScale.svg +++ b/master/images/coords/RotateScale.svg @@ -1,10 +1,10 @@ <?xml version="1.0" standalone="no"?> -<svg width="400px" height="120px" version="1.1" +<svg width="400px" height="120px" xmlns="http://www.w3.org/2000/svg"> <desc>Example RotateScale - Rotate and scale transforms</desc> <g fill="none" stroke="black" stroke-width="3" > <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="120" /> </g> <!-- Establish a new coordinate system whose origin is at (50,30) diff --git a/master/images/coords/Skew.svg b/master/images/coords/Skew.svg --- a/master/images/coords/Skew.svg +++ b/master/images/coords/Skew.svg @@ -1,10 +1,10 @@ <?xml version="1.0" standalone="no"?> -<svg width="400px" height="120px" version="1.1" +<svg width="400px" height="120px" xmlns="http://www.w3.org/2000/svg"> <desc>Example Skew - Show effects of skewX and skewY</desc> <g fill="none" stroke="black" stroke-width="3" > <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="120" /> </g> <!-- Establish a new coordinate system whose origin is at (30,30) diff --git a/master/images/coords/Units.svg b/master/images/coords/Units.svg --- a/master/images/coords/Units.svg +++ b/master/images/coords/Units.svg @@ -1,11 +1,11 @@ <?xml version="1.0" standalone="no"?> <svg width="400px" height="200px" viewBox="0 0 4000 2000" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <title>Example Units</title> <desc>Illustrates various units options</desc> <!-- Frame the picture --> <rect x="5" y="5" width="3990" height="1990" fill="none" stroke="blue" stroke-width="10"/> <g fill="blue" stroke="red" font-family="Verdana" font-size="150"> diff --git a/master/images/coords/ViewBox-Width150.svg b/master/images/coords/ViewBox-Width150.svg --- a/master/images/coords/ViewBox-Width150.svg +++ b/master/images/coords/ViewBox-Width150.svg @@ -1,12 +1,12 @@ <?xml version="1.0" standalone="no"?> <svg width="150px" height="200px" viewBox="0 0 1500 1000" preserveAspectRatio="none" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example ViewBox - uses the viewBox attribute to automatically create an initial user coordinate system which causes the graphic to scale to fit into the viewport no matter what size the viewport is.</desc> <!-- This rectangle goes from (0,0) to (1500,1000) in user space. Because of the viewBox attribute above, the rectangle will end up filling the entire area diff --git a/master/images/coords/ViewBox.svg b/master/images/coords/ViewBox.svg --- a/master/images/coords/ViewBox.svg +++ b/master/images/coords/ViewBox.svg @@ -1,12 +1,12 @@ <?xml version="1.0" standalone="no"?> <svg width="300px" height="200px" viewBox="0 0 1500 1000" preserveAspectRatio="none" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example ViewBox - uses the viewBox attribute to automatically create an initial user coordinate system which causes the graphic to scale to fit into the viewport no matter what size the viewport is.</desc> <!-- This rectangle goes from (0,0) to (1500,1000) in user space. Because of the viewBox attribute above, the rectangle will end up filling the entire area diff --git a/master/images/coords/geocoord1.svg b/master/images/coords/geocoord1.svg --- a/master/images/coords/geocoord1.svg +++ b/master/images/coords/geocoord1.svg @@ -1,10 +1,10 @@ <?xml version="1.0"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 1000 1000"> <desc>An example that references coordinate data.</desc> <metadata> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:crs="http://www.ogc.org/crs" xmlns:svg="http://www.w3.org/2000/svg"> diff --git a/master/images/coords/geocoord2.svg b/master/images/coords/geocoord2.svg --- a/master/images/coords/geocoord2.svg +++ b/master/images/coords/geocoord2.svg @@ -1,10 +1,10 @@ <?xml version="1.0"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 1000 1000"> <desc>Example using a well known coordinate system.</desc> <metadata> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:crs="http://www.ogc.org/crs" xmlns:svg="http://www.w3.org/2000/svg"> diff --git a/master/images/coords/geocoord3.svg b/master/images/coords/geocoord3.svg --- a/master/images/coords/geocoord3.svg +++ b/master/images/coords/geocoord3.svg @@ -1,10 +1,10 @@ <?xml version="1.0"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 1000 1000"> <desc>Coordinate metadata defined within the SVG document</desc> <metadata> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:crs="http://www.ogc.org/crs" xmlns:svg="http://www.w3.org/2000/svg"> diff --git a/master/images/painting/non-scaling-stroke.svg b/master/images/painting/non-scaling-stroke.svg --- a/master/images/painting/non-scaling-stroke.svg +++ b/master/images/painting/non-scaling-stroke.svg @@ -1,10 +1,10 @@ <?xml version="1.0"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" +<svg xmlns="http://www.w3.org/2000/svg" width="6cm" height="4cm" viewBox="0 0 600 400" viewport-fill="rgb(255,150,200)"> <desc>Example non-scaling stroke</desc> <rect x="1" y="1" width="598" height="398" fill="none" stroke="black"/> <g transform="scale(9,1)"> <line stroke="black" stroke-width="5" x1="10" y1="50" x2="10" y2="350"/> diff --git a/master/images/pservers/gradient_vector_and_normal_alt.svg b/master/images/pservers/gradient_vector_and_normal_alt.svg --- a/master/images/pservers/gradient_vector_and_normal_alt.svg +++ b/master/images/pservers/gradient_vector_and_normal_alt.svg @@ -1,15 +1,14 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" - version="1.1" width="600" height="300"> <defs> <marker refX="0" refY="0" orient="auto" id="Arrow2Mend" diff --git a/master/images/pservers/radgrad01.svg b/master/images/pservers/radgrad01.svg --- a/master/images/pservers/radgrad01.svg +++ b/master/images/pservers/radgrad01.svg @@ -1,11 +1,10 @@ <?xml version="1.0" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" - version="1.1" viewBox="0 0 300 200" > <title>Example radgrad01</title> <desc>Fill a rectangle by referencing a radial gradient paint server.</desc> <defs> <radialGradient id="MyGradient" gradientUnits="userSpaceOnUse" cx="150" cy="100" diff --git a/master/images/struct/Use04.svg b/master/images/struct/Use04.svg --- a/master/images/struct/Use04.svg +++ b/master/images/struct/Use04.svg @@ -1,10 +1,10 @@ <?xml version="1.0" standalone="no"?> -<svg width="12cm" height="3cm" viewBox="0 0 1200 300" version="1.1" +<svg width="12cm" height="3cm" viewBox="0 0 1200 300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <desc>Example Use04 - 'use' with CSS styling</desc> <defs style=" /* rule 9 */ stroke-miterlimit: 10" > <path id="MyPath" d="M300 50 L900 50 L900 250 L300 250" class="MyPathClass" style=" /* rule 10 */ stroke-dasharray:300,100" /> </defs> <style type="text/css"> diff --git a/master/images/styling/ExternalCSSStyleSheet.svg b/master/images/styling/ExternalCSSStyleSheet.svg --- a/master/images/styling/ExternalCSSStyleSheet.svg +++ b/master/images/styling/ExternalCSSStyleSheet.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> <?xml-stylesheet href="mystyle.css" type="text/css"?> <svg width="10cm" height="5cm" viewBox="0 0 1000 500" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <rect x="200" y="100" width="600" height="300"/> </svg> diff --git a/master/images/styling/InternalCSSStyleSheet.svg b/master/images/styling/InternalCSSStyleSheet.svg --- a/master/images/styling/InternalCSSStyleSheet.svg +++ b/master/images/styling/InternalCSSStyleSheet.svg @@ -1,10 +1,10 @@ <?xml version="1.0" standalone="no"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="5cm" viewBox="0 0 1000 500"> <defs> <style type="text/css"><![CDATA[ rect { fill: red; stroke: blue; stroke-width: 3 } diff --git a/master/images/styling/PresentationAttributes.svg b/master/images/styling/PresentationAttributes.svg --- a/master/images/styling/PresentationAttributes.svg +++ b/master/images/styling/PresentationAttributes.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="5cm" viewBox="0 0 1000 500"> <rect x="200" y="100" width="600" height="300" fill="red" stroke="blue" stroke-width="3"/> </svg> diff --git a/master/images/styling/StyleAttribute.svg b/master/images/styling/StyleAttribute.svg --- a/master/images/styling/StyleAttribute.svg +++ b/master/images/styling/StyleAttribute.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="5cm" viewBox="0 0 1000 500"> <rect x="200" y="100" width="600" height="300" style="fill: red; stroke: blue; stroke-width: 3"/> </svg> diff --git a/master/metadata.html b/master/metadata.html --- a/master/metadata.html +++ b/master/metadata.html @@ -94,17 +94,17 @@ elements for processing it should choose <p>Here is an example of how metadata can be included in an SVG document. The example uses the Dublin Core version 1.1 schema. (Other XML-compatible metadata languages, including ones not based on RDF, can be used also.)</p> <pre><![CDATA[ <?xml version="1.0" standalone="yes"?> -<svg width="4in" height="3in" version="1.1" +<svg width="4in" height="3in" xmlns = 'http://www.w3.org/2000/svg'> <desc xmlns:myfoo="http://example.org/myfoo"> <myfoo:title>This is a financial report</myfoo:title> <myfoo:descr>The global description uses markup from the <myfoo:emph>myfoo</myfoo:emph> namespace.</myfoo:descr> <myfoo:scene><myfoo:what>widget $growth</myfoo:what> <myfoo:contains>$three $graph-bar</myfoo:contains> <myfoo:when>1998 $through 2000</myfoo:when> </myfoo:scene> diff --git a/master/painting.html b/master/painting.html --- a/master/painting.html +++ b/master/painting.html @@ -3377,17 +3377,17 @@ because they are part of the formal docu cannot be applied to the (conceptually) cloned DOM tree because its contents are not part of the formal document structure.</p> <p>For illustrative purposes, we'll repeat the marker example shown earlier:</p> <pre> <?xml version="1.0" standalone="no"?> <svg width="4in" height="2in" - viewBox="0 0 4000 2000" version="1.1" + viewBox="0 0 4000 2000" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="Triangle" viewBox="0 0 10 10" refX="0" refY="5" markerUnits="strokeWidth" markerWidth="4" markerHeight="3" orient="auto"> <path d="M 0 0 L 10 5 L 0 10 z" /> @@ -3404,17 +3404,17 @@ contents are not part of the formal docu </pre> <p>The rendering effect of the above file will be visually identical to the following:</p> <pre> <?xml version="1.0" standalone="no"?> <svg width="4in" height="2in" - viewBox="0 0 4000 2000" version="1.1" + viewBox="0 0 4000 2000" xmlns="http://www.w3.org/2000/svg"> <desc>File which produces the same effect as the marker example file, but without using markers. </desc> <rect x="10" y="10" width="3980" height="1980" fill="none" stroke="blue" stroke-width="10" /> <!-- The path draws as before, but without the marker properties --> diff --git a/master/script.html b/master/script.html --- a/master/script.html +++ b/master/script.html @@ -74,17 +74,17 @@ the result after clicking on the circle. <p id="ScriptElementExecution">Before attempting to execute the <a>'script'</a> element the resolved media type value for <a>'script/type'</a> must be inspected. If the <a>SVG user agent</a> does not support the scripting language then the <a>'script'</a> element must not be executed.</p> <pre class="xml"><![CDATA[ <?xml version="1.0" standalone="no"?> <svg width="6cm" height="5cm" viewBox="0 0 600 500" - xmlns="http://www.w3.org/2000/svg" version="1.1"> + xmlns="http://www.w3.org/2000/svg"> <desc>Example script01 - invoke an ECMAScript function from an onclick event </desc> <!-- ECMAScript to change the radius with each click --> <script type="application/ecmascript"> ]]><![CDATA[<![CDATA[ function circle_click(evt) { var circle = evt.target; var currentRadius = circle.getAttribute("r"); if (currentRadius == 100) diff --git a/master/struct.html b/master/struct.html --- a/master/struct.html +++ b/master/struct.html @@ -42,17 +42,17 @@ content embedded inline as a fragment wi Note the use of XML namespaces to indicate that the <a>'svg'</a> and <a>'ellipse'</a> elements belong to the SVG namespace:</p> <pre class='xml'><![CDATA[ <?xml version="1.0" standalone="yes"?> <parent xmlns="http://example.org" xmlns:svg="http://www.w3.org/2000/svg"> <!-- parent contents here --> - <svg:svg width="4cm" height="8cm" version="1.1"> + <svg:svg width="4cm" height="8cm"> <svg:ellipse cx="2cm" cy="4cm" rx="2cm" ry="1cm" /> </svg:svg> <!-- ... --> </parent> ]]></pre> <p>This example shows a slightly more complex (i.e., it contains multiple rectangles) stand-alone, self-contained SVG document:</p> @@ -207,18 +207,16 @@ create SVG fragments.</p> </tr> <tr> <th>Specific attributes:</th> <td> <span class="attr-name"><a href="struct.html#SVGElementXAttribute"><span>x</span></a></span>, <span class="attr-name"><a href="struct.html#SVGElementYAttribute"><span>y</span></a></span>, <span class="attr-name"><a href="struct.html#SVGElementWidthAttribute"><span>width</span></a></span>, <span class="attr-name"><a href="struct.html#SVGElementHeightAttribute"><span>height</span></a></span>, - <span class="attr-name"><a href="struct.html#SVGElementVersionAttribute"><span>version</span></a></span>, - <span class="attr-name"><a href="struct.html#SVGElementBaseProfileAttribute"><span>baseProfile</span></a></span>, <span class="attr-name"><a href="struct.html#SVGElementPlaybackOrderAttribute"><span>playbackOrder</span></a></span>, <span class="attr-name"><a href="struct.html#SVGElementTimelineBeginAttribute"><span>timelineBegin</span></a></span>, <span class="attr-name"><a href="interact.html#ZoomAndPanAttribute"><span>zoomAndPan</span></a></span> </td> </tr> <tr> <th>DOM Interface:</th> <td> @@ -284,72 +282,16 @@ create SVG fragments.</p> <table class="propdef attrdef"> <tr> <th>Name</th> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> - <td><dfn id="SVGElementVersionAttribute">version</dfn></td> - <td><a><number></a></td> - <td>(none)</td> - <td>no</td> - </tr> - </table> - </dt> - <dd> - <p>Indicates the SVG language version to which this - document fragment conforms.</p> - <p>In <a href='http://www.w3.org/TR/2001/REC-SVG-20010904/'>SVG 1.0</a> [<a href='refs.html#ref-SVG10'>SVG10</a>], - this attribute was fixed to the value <span class='attr-value'>'1.0'</span>. - For SVG 1.1, the attribute should have the value - <span class='attr-value'>'1.1'</span>.</p> - <p class="issue">What are we doing with the <a>'version'</a> - attribute? It's not clear whether it is useful to keep.</p> - </dd> - <dt> - <table class="propdef attrdef"> - <tr> - <th>Name</th> - <th>Value</th> - <th>Lacuna value</th> - <th>Animatable</th> - </tr> - <tr> - <td><dfn id="SVGElementBaseProfileAttribute">baseProfile</dfn></td> - <td><a><anything></a></td> - <td>none</td> - <td>no</td> - </tr> - </table> - </dt> - <dd> - <p>Describes the minimum SVG language profile that the - author believes is necessary to correctly render the - content. The attribute does not specify any processing - restrictions; It can be considered metadata. For example, - the value of the attribute could be used by an authoring - tool to warn the user when they are modifying the document - beyond the scope of the specified base profile. Each SVG - profile should define the text that is appropriate for this - attribute.</p> - <p class="issue">It's unlikely SVG 2 will have profiles as - 1.0 and 1.1 did. Do we keep the attribute in case others - wish to profile SVG? (Or should we be discouraging that?)</p> - </dd> - <dt> - <table class="propdef attrdef"> - <tr> - <th>Name</th> - <th>Value</th> - <th>Lacuna value</th> - <th>Animatable</th> - </tr> - <tr> <td><dfn data-dfn-type="element-attr" data-dfn-for="svg" id="SVGElementXAttribute">x</dfn>, <dfn data-dfn-type="element-attr" data-dfn-for="svg" id="SVGElementYAttribute">y</dfn></td> <td><a><length></a></td> <td>0</td> <td>yes</td> </tr> </table> </dt> <dd> @@ -582,17 +524,17 @@ several purposes such as animation and r <edit:example href='images/struct/grouping01.svg' image='no' link='yes'/> <p>A <a>'g'</a> element can contain other <a>'g'</a> elements nested within it, to an arbitrary depth. Thus, the following is possible:</p> <pre class='xml'><![CDATA[ <?xml version="1.0" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" - version="1.1" width="4in" height="3in"> + width="4in" height="3in"> <desc>Groups can nest</desc> <g> <g> <g> </g> </g> </g> </svg> @@ -971,17 +913,17 @@ the glyph definition).</p> <p>The following is an example. In typical operation, the SVG user agent would not render the <a>'desc'</a> and <a>'title'</a> elements but would render the remaining contents of the <a>'g'</a> element.</p> <pre><![CDATA[ <?xml version="1.0" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" - version="1.1" width="4in" height="3in"> + width="4in" height="3in"> <g> <title>Company sales by region</title> <title lang="fr">Chiffre d'affaires par région</title> <desc>Bar chart which shows company sales by region.</desc> <desc lang="fr">Graphique illustrant les ventes par région.</desc> <!-- Bar chart defined as vector data --> </g> </svg> diff --git a/master/styling.html b/master/styling.html --- a/master/styling.html +++ b/master/styling.html @@ -480,17 +480,17 @@ rectangles to red and blue, respectively <svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="5cm"> <rect x="2cm" y="1cm" width="6cm" height="3cm"/> </svg> <strong>SVG content after applying mystyle.xsl</strong> <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" - width="10cm" height="5cm" version="1.1"> + width="10cm" height="5cm"> <rect x="2cm" y="1cm" width="6cm" height="3cm" fill="red" stroke="blue" stroke-width="3"/> </svg> </pre> <h2 id='StylingWithCSS'>Styling with CSS</h2> <p>SVG implementations that support CSS are required to support the following:</p> @@ -518,17 +518,17 @@ rect { fill: red; stroke: blue; stroke-width: 3 } <strong>SVG file referencing mystyle.css</strong> <?xml version="1.0" standalone="no"?> <?xml-stylesheet href="mystyle.css" type="text/css"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.1" +<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="5cm" viewBox="0 0 1000 500"> <rect x="200" y="100" width="600" height="300"/> </svg> </pre> <p class="view-as-svg"><a href="images/styling/ExternalCSSStyleSheet.svg">View this example as SVG (SVG-enabled browsers only)</a><br /> diff --git a/master/text.html b/master/text.html --- a/master/text.html +++ b/master/text.html @@ -5269,17 +5269,17 @@ swash forms, old-style figures etc. whil coordinate system for the current <a>'text'</a> element, including any adjustments to the current user coordinate system due to a possible <a>'transform'</a> property on the current <a>'text'</a> element. For example, the following fragment of SVG content: </p> <pre> <svg xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> + xmlns:xlink="http://www.w3.org/1999/xlink"> <g <span style="font-weight:bold; color:red">transform="translate(25,25)"</span>> <defs> <path id="path1" <span style="font-weight:bold; color:green">transform="scale(2)"</span> d="..." fill="none" stroke="red"/> </defs> </g> <text <span @@ -5290,17 +5290,17 @@ style="font-weight:bold; color:blue">tra </pre> <p> should have the same effect as the following: </p> <pre> <svg xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> + xmlns:xlink="http://www.w3.org/1999/xlink"> <g <span style="font-weight:bold; color:blue">transform="rotate(45)"</span>> <defs> <path id="path1" <span style="font-weight:bold; color:green">transform="scale(2)"</span> d="..." fill="none" stroke="red"/> </defs> <text> <textPath xlink:href="#path1">Text on a path1</textPath>
Received on Thursday, 10 April 2014 15:19:25 UTC