ACTION-3492: Make foreignObject a graphics element
authorErik Dahlstrom <ed@opera.com>
Fri, 17 May 2013 14:52:23 +0200
changeset 493 dd542102ef56
parent 492 e014e18bcd62
child 494 cccc74b0ff54
ACTION-3492: Make foreignObject a graphics element

Also updated changes appendix to highlight changes since last WD.
master/changes.html
master/definitions.xml
master/extend.html
--- a/master/changes.html	Wed May 01 15:17:58 2013 -0500
+++ b/master/changes.html	Fri May 17 14:52:23 2013 +0200
@@ -23,7 +23,7 @@
 
 <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>
@@ -49,16 +49,16 @@
 
   <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>
@@ -66,22 +66,22 @@
 <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>
@@ -93,13 +93,13 @@
 
   <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>
@@ -111,8 +111,8 @@
 <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>
@@ -128,7 +128,7 @@
 
   <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>
@@ -151,18 +151,18 @@
   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>
@@ -190,7 +190,6 @@
 </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>
@@ -200,7 +199,6 @@
   </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>
@@ -211,7 +209,7 @@
 <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>
@@ -232,6 +230,12 @@
   <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>
@@ -284,7 +288,7 @@
 <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>
--- a/master/definitions.xml	Wed May 01 15:17:58 2013 -0500
+++ b/master/definitions.xml	Fri May 17 14:52:23 2013 +0200
@@ -743,7 +743,7 @@
   <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'/>
--- a/master/extend.html	Wed May 01 15:17:58 2013 -0500
+++ b/master/extend.html	Fri May 17 14:52:23 2013 +0200
@@ -94,7 +94,7 @@
 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,