svg2: ACTION-3492: Make foreignObject a graphics element

details:   https://svgwg.org/hg/svg2/rev/dd542102ef56
branches:  
changeset: 493:dd542102ef56
user:      Erik Dahlstrom <ed@opera.com>
date:      Fri May 17 14:52:23 2013 +0200
description:
ACTION-3492: Make foreignObject a graphics element

Also updated changes appendix to highlight changes since last WD.

diffstat:

 master/changes.html    |  66 ++++++++++++++++++++++++++-----------------------
 master/definitions.xml |   2 +-
 master/extend.html     |   2 +-
 3 files changed, 37 insertions(+), 33 deletions(-)

diffs (296 lines):

diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -18,17 +18,17 @@
 <body>
 
 <h1>Changes from SVG 1.1</h1>
 
 <p class="normativity"><em>This appendix is informative, not normative.</em></p>
 
 <p>This appendix summarizes the changes that have been made since the
 <a href="http://www.w3.org/TR/2011/REC-SVG11-20110816/">SVG 1.1 Second Edition Recommendation</a>.
-Changes made since the last <a href="http://www.w3.org/TR/2012/WD-SVG2-20120828/">SVG 2 Working Draft</a> are highlighted.
+Changes made since the last <a href="http://www.w3.org/TR/2013/WD-SVG2-20130409/">SVG 2 Working Draft</a> are highlighted.
 </p>
 
 <h2 id="editorial">Editorial changes</h2>
 
 <p>A number of stylistic changes have been made to the specification to make it more readable. These include the following:</p>
 
 <ul>
   <li>A change towards using styling similar to contemporary CSS specifications.</li>
@@ -44,96 +44,96 @@ have been made.</p>
 
 <h3 id="whole">Across the whole document</h3>
 
 <ul>
   <li>References to the SVG DTD have been removed.</li>
 
   <li>IDL has been updated to use Web IDL syntax.</li>
 
-  <li><div class="added-since-last-wd">Added "length" attribute and indexed property access to all list interfaces.</div></li>
+  <li>Added "length" attribute and indexed property access to all list interfaces.</li>
 
-  <li><div class="added-since-last-wd">Remove definition of <a>&lt;angle&gt;</a> type and reference CSS3-values.</div></li>
+  <li>Remove definition of <a>&lt;angle&gt;</a> type and reference CSS3-values.</li>
 
-  <li><div class="added-since-last-wd">Change all coordinate types to <a>&lt;length&gt;</a> in preparation for referencing css3-values..</div></li>
+  <li>Change all coordinate types to <a>&lt;length&gt;</a> in preparation for referencing css3-values..</li>
 </ul>
 
 <h3 id="rendering">Rendering Model chapter</h3>
 <ul>
-  <li><div class="added-since-last-wd">Update rendering model to refer to <a href="http://www.w3.org/TR/compositing/">Compositing and Blending Specification</a>.</div></li>
+  <li>Update rendering model to refer to <a href="http://www.w3.org/TR/compositing/">Compositing and Blending Specification</a>.</li>
 </ul>
 
 <h3 id="types">Basic Data Types and Interfaces chapter</h3>
 
 <ul>
   <li>Removed the SVGStylable and SVGLangSpace interfaces and moved all of their members on to <a>SVGElement</a>.</li>
 
-  <li><div class="added-since-last-wd">Turned SVGLocatable and SVGTransformable into <a>SVGGraphicsElement</a>,
-  which directly inherits from <a>SVGElement</a>.</div></li>
+  <li>Turned SVGLocatable and SVGTransformable into <a>SVGGraphicsElement</a>,
+  which directly inherits from <a>SVGElement</a>.</li>
 
-  <li><div class="added-since-last-wd">Added an <a>SVGGraphicsElement</a> interface.</div></li>
+  <li>Added an <a>SVGGraphicsElement</a> interface.</li>
 
-  <li><div class="added-since-last-wd">Added an <a>SVGGeometryElement</a> interface with isPointInFill and isPointInStroke methods.</div></li>
+  <li>Added an <a>SVGGeometryElement</a> interface with isPointInFill and isPointInStroke methods.</li>
 
   <li>Removed the SVGExternalResourcesRequired interface.</li>
 
-  <li><div class="added-since-last-wd">Added constructors to <a>SVGNumber</a>, <a>SVGLength</a>, <a>SVGAngle</a> and <a>SVGRect</a>.</div></li>
+  <li>Added constructors to <a>SVGNumber</a>, <a>SVGLength</a>, <a>SVGAngle</a> and <a>SVGRect</a>.</li>
 
-  <li><div class="added-since-last-wd">Added <a href="types.html#__svg__SVGGraphicsElement__getStrokeBBox">getStrokeBBox</a> to get the tight stroke bounding box.</div></li>
+  <li>Added <a href="types.html#__svg__SVGGraphicsElement__getStrokeBBox">getStrokeBBox</a> to get the tight stroke bounding box.</li>
 
-  <li><div class="added-since-last-wd">Added base value accessors on <a>SVGAnimatedLength</a> and <a>SVGAnimatedLengthList</a> for each of the CSS length units supported.</div></li>
+  <li>Added base value accessors on <a>SVGAnimatedLength</a> and <a>SVGAnimatedLengthList</a> for each of the CSS length units supported.</li>
 
-  <li><div class="added-since-last-wd">Make viewportElement and ownerSVGElement on <a>SVGElement</a> nullable.</div></li>
+  <li>Make viewportElement and ownerSVGElement on <a>SVGElement</a> nullable.</li>
 </ul>
 
 <h3 id="structure">Document Structure chapter</h3>
 
 <ul>
   <li>Deprecated the <code>suspendRedraw</code>, <code>unsuspendRedraw</code> and <code>unsuspendRedrawAll</code> methods in the SVGSVGElement interface.</li>
 
   <li>Removed the <span class="attr-name">'externalResourcesRequired'</span> attribute.</li>
 
   <li>Added the <a>'discard'</a> element and the <span class="attr-name">'timelineBegin'</span> and <span class="attr-name">'playbackOrder'</span> attributes on the <a>'svg'</a> element, as defined in SVG Tiny 1.2.</li>
 
-  <li><div class="added-since-last-wd">Added the ability to use <span class="attr-value">'auto'</span> for the <a>'image/x'</a> and <a>'image/y'</a> attributes on <a>'image'</a>.</div></li>
+  <li>Added the ability to use <span class="attr-value">'auto'</span> for the <a>'image/x'</a> and <a>'image/y'</a> attributes on <a>'image'</a>.</li>
 
-  <li><div class="added-since-last-wd">Lifted the restriction on <a>'use'</a> not being able to reference an entire document.</div></li>
+  <li>Lifted the restriction on <a>'use'</a> not being able to reference an entire document.</li>
 
-  <li><div class="added-since-last-wd">Added <a>'lang'</a> attribute on <a>'desc'</a> and <a>'title'</a> elements.</div></li>
+  <li>Added <a>'lang'</a> attribute on <a>'desc'</a> and <a>'title'</a> elements.</li>
 
-  <li><div class="added-since-last-wd">Added section on WAI-ARIA attributes.</div></li>
+  <li>Added section on WAI-ARIA attributes.</li>
 </ul>
 
 <h3 id="styling">Styling chapter</h3>
 
 <ul>
   <li>Removed the <span class="attr-name">'contentStyleType'</span> attribute.</li>
 </ul>
 
 <h3 id="coords">Coordinate Systems, Transformations and Units chapter</h3>
 
 <ul>
-  <li><div class="added-since-last-wd">Added constructors to <a>SVGPoint</a>, <a>SVGMatrix</a> and <a>SVGTransform</a>.</div></li>
-  <li><div class="added-since-last-wd">Make <a>SVGMatrix</a>.skew{X,Y} throw an exception on bad values.</div></li>
+  <li>Added constructors to <a>SVGPoint</a>, <a>SVGMatrix</a> and <a>SVGTransform</a>.</li>
+  <li>Make <a>SVGMatrix</a>.skew{X,Y} throw an exception on bad values.</li>
 </ul>
 
 <h3 id="text">Text chapter</h3>
 
 <ul>
   <li>Added a number of missing attributes to the element summary boxes of the
   <a>'text'</a>, <a>'textPath'</a> and <a>'tref'</a> elements.</li>
 
   <li>Added <a>'text/width'</a> attribute to <a>'text'</a>, and a
   section about <a>'text-overflow'</a> processing.</li>
 
   <li>Added <a>'white-space'</a> property and deprecated <a>'xml:space'</a> attribute.</li>
 
   <li>Removed the <span class='property'>'kerning'</span> property.</li>
 
-  <li><div class="added-since-last-wd">Added <a>'textPath/d'</a> attribute to <a>'textPath'</a>.</div></li>
+  <li>Added <a>'textPath/d'</a> attribute to <a>'textPath'</a>.</li>
 </ul>
 
 <h3 id="painting">Painting chapter</h3>
 
 <ul>
   <li>Added more detail to the descriptions of the stroke properties and added algorithms
   defining the exact shape a stroke must have.</li>
 
@@ -146,28 +146,28 @@ have been made.</p>
   to the Filter Effects specification.</li>
 
   <li>Added the <a>'buffered-rendering'</a> property.</li>
 
   <li>Added <a>SVGMarkerList</a> and <a>SVGMarkerInstance</a> interfaces to represent the
   markers painted on a given <a>markable element</a>, and an <a>SVGMarkableElement</a>
   interface to expose that list on <a>markable elements</a>.</li>
 
-  <li><div class="added-since-last-wd">Added the <span class="prop-value">context-fill</span> and <span class="prop-value">context-stroke</span>
-  paint values.</div></li>
+  <li>Added the <span class="prop-value">context-fill</span> and <span class="prop-value">context-stroke</span>
+  paint values.</li>
 
-  <li><div class="added-since-last-wd">Allowed <a>&lt;paint&gt;</a> values and marker properties to take the
+  <li>Allowed <a>&lt;paint&gt;</a> values and marker properties to take the
   <span class="prop-value">child</span> keyword and
-  <a>&lt;child-selector&gt;</a> values to support ID-less referencing.</div></li>
+  <a>&lt;child-selector&gt;</a> values to support ID-less referencing.</li>
 
-  <li><div class="added-since-last-wd">Added <a>'vector-effect'</a> property to support non-scaling stroke.</div></li>
+  <li>Added <a>'vector-effect'</a> property to support non-scaling stroke.</li>
 
-  <li><div class="added-since-last-wd">Add <a>&lt;gradient&gt;</a> as possible value for <a>&lt;paint&gt;</a></div></li>
+  <li>Add <a>&lt;gradient&gt;</a> as possible value for <a>&lt;paint&gt;</a></li>
 
-  <li><div class="added-since-last-wd">Added arcs value on <a>'stroke-linejoin'</a>.</div></li>
+  <li>Added arcs value on <a>'stroke-linejoin'</a>.</li>
 </ul>
 
 <h3 id="color">Color chapter</h3>
 
 <ul>
   <li>Added requirements for images to be color managed.</li>
 
   <li>Added new color syntaxes from the SVG Color specification: RGBA colors, HSL colors,
@@ -185,38 +185,36 @@ have been made.</p>
   <li>Added an <a>'radialGradient/fr'</a> attribute to the <a>'radialGradient'</a> element,
   which allows specifying the radius of the focal circle.</li>
 
   <li>Added a section for mesh gradients, defining the <a>'meshGradient'</a>, <a>'meshRow'</a>
   and <a>'meshPatch'</a> elements.</li>
 </ul>
 
 <h3 id="masking">Clipping, Masking and Compositing chapter</h3>
-<div class="added-since-last-wd">
 <ul>
   <li>SVG now references CSS Masking [<a href="refs.html#ref-CSS-MASKING">CSS-MASKING</a>] specification.
     <ul>
       <li>Removed definition of clipping/masking properties and elements.</li>
       <li>Keep short introduction to clipping/masking and add reference to CSS Masking</li>
     </ul>
   </li>
   <li>Added reference to Compositing and Blending spec. Simple alpha compositing it mandatory.</li>
 </ul>
-</div>
 <h3 id="filters">Filter Effects chapter</h3>
 
 <ul>
   <li>Removed the body of this chapter and replaced it with a link to the
   Filter Effect specification.</li>
 </ul>
 
 <h3 id="linking">Linking chapter</h3>
 
 <ul>
-  <li><div class="added-since-last-wd">Removed the restriction on <a>'tref'</a> only being able to reference SVG elements.</div></li>
+  <li>Removed the restriction on <a>'tref'</a> only being able to reference SVG elements.</li>
 </ul>
 
 <h3 id="script">Scripting chapter</h3>
 
 <ul>
   <li>Removed the <span class="attr-name">'contentScriptType'</span> attribute.</li>
 </ul>
 
@@ -227,16 +225,22 @@ have been made.</p>
 </ul>
 
 <h3 id="fonts">Fonts chapter</h3>
 
 <ul>
   <li>Added WOFF requirement, rearranged content.</li>
 </ul>
 
+<h3 id="extend">Extensibility chapter</h3>
+
+<ul>
+  <li><div class="added-since-last-wd">Made <a>'foreignObject'</a> a <a>graphics element</a>.</div></li>
+</ul>
+
 <h3 id="svgdtd">Document Type Definition appendix</h3>
 
 <ul>
   <li>Removed this appendix, as SVG 2 is not defined in terms of a DTD.</li>
 </ul>
 
 <h3 id="svgdom">SVG Document Object Model (DOM) appendix</h3>
 
@@ -279,13 +283,13 @@ have been made.</p>
   <li>Added normative references to CSS3 Color, CSS3 Fonts, CSS3 Line Box, CSS3 Transforms, CSS3 UI, CSS3 Values and Units, CSS4 Images, Filter Effects, WOFF, Web IDL.</li>
 
   <li>Added informative references to CSS 3 Transitions and Animations.</li>
 </ul>
 
 <h3 id="idlindex">IDL Index appendix</h3>
 
 <ul>
-  <li><div class="added-since-last-wd">Added this appendix.</div></li>
+  <li>Added this appendix.</li>
 </ul>
 
 </body>
 </html>
diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -738,17 +738,17 @@
     interfaces='SVGVKernElement'/>
 
   <!-- ... element categories ............................................ -->
 
   <elementcategory name='animation' href='intro.html#TermAnimationElement' elements='animate, animateColor, animateMotion, animateTransform, discard, set'/>
   <elementcategory name='container' href='intro.html#TermContainerElement' elements='svg, g, defs, symbol, mask, pattern, marker, a, switch, glyph, missing-glyph'/>
   <elementcategory name='descriptive' href='intro.html#TermDescriptiveElement' elements='desc, title, metadata'/>
   <elementcategory name='gradient' href='intro.html#TermGradientElement' elements='linearGradient, radialGradient, meshGradient'/>
-  <elementcategory name='graphics' href='intro.html#TermGraphicsElement' elements='path, text, rect, circle, ellipse, line, polyline, polygon, image, use'/>
+  <elementcategory name='graphics' href='intro.html#TermGraphicsElement' elements='path, text, rect, circle, ellipse, line, polyline, polygon, image, use, foreignObject'/>
   <elementcategory name='graphics referencing' href='intro.html#TermGraphicsReferencingElement' elements='use, image'/>
   <elementcategory name='light source' href='intro.html#TermLightSourceElement' elements='feDistantLight, fePointLight, feSpotLight'/>
   <elementcategory name='markable' href='intro.html#TermMarkableElement' elements='path, line, polyline, polygon'/>
   <elementcategory name='paint server' href='intro.html#TermPaintServerElement' elements='solidColor, linearGradient, radialGradient, meshGradient, pattern'/>
   <elementcategory name='shape' href='intro.html#TermShapeElement' elements='circle, ellipse, line, path, polygon, polyline, rect'/>
   <elementcategory name='structural' href='intro.html#TermStructuralElement' elements='defs, g, svg, symbol, use'/>
   <elementcategory name='text content' href='intro.html#TermTextContentElement' elements='text, tspan, tref, textPath, altGlyph'/>
   <elementcategory name='text content child' href='intro.html#TermTextContentChildElement' elements='tspan, tref, textPath, altGlyph'/>
diff --git a/master/extend.html b/master/extend.html
--- a/master/extend.html
+++ b/master/extend.html
@@ -89,17 +89,17 @@ inserted into the middle of some SVG con
 is inserting a <a
 href="http://www.w3.org/TR/2003/REC-MathML2-20031021/">MathML</a> expression into
 an SVG drawing [<a href='refs.html#ref-MATHML'>MATHML</a>].</p>
 
 <p>The <a>'foreignObject'</a>
 element allows for inclusion of a foreign namespace which has
 its graphical content drawn by a different user agent. The
 included foreign graphical content is subject to SVG
-transformations and compositing.</p>
+transformations, filters, clipping, masking and compositing.</p>
 
 <p>The contents of <a>'foreignObject'</a> are assumed to be
 from a different namespace. Any SVG elements within a <a>'foreignObject'</a> will not be drawn,
 except in the situation where a properly defined SVG
 subdocument with a proper <span class="attr-name">'xmlns'</span>
 (see <a href="http://www.w3.org/TR/2006/REC-xml-names-20060816/"><cite>Namespaces in XML</cite></a>
 [<a href="refs.html#ref-XML-NS">XML-NS</a>])
 attribute specification is embedded recursively. One situation

Received on Friday, 17 May 2013 12:55:41 UTC