Require that IDL fragments be interpreted as Web IDL.
authorCameron McCormack <cam@mcc.id.au>
Sun, 05 Aug 2012 20:42:27 +1000
changeset 259 494cfbc1a0e7
parent 258 f2862c10b7ac
child 260 b201818a9ebb
Require that IDL fragments be interpreted as Web IDL.
Remove some unneccessary text from the SVG DOM appendix.
master/changes.html
master/refs.html
master/struct.html
master/svgdom.html
master/text.html
--- a/master/changes.html	Sun Aug 05 20:29:10 2012 +1000
+++ b/master/changes.html	Sun Aug 05 20:42:27 2012 +1000
@@ -153,6 +153,10 @@
 <h3 id="svgdom">SVG Document Object Model (DOM)</h3>
 
 <ul>
+  <li>Added text to require IDL fragments be interpreted as Web IDL.</li>
+
+  <li>Removed some unnecessary text.</li>
+
   <li>Removed mention of read only nodes in the DOM, since that concept no longer
   exists in DOM4.</li>
 </ul>
@@ -162,6 +166,10 @@
 <ul>
   <li>Removed normative reference to CSS2.</li>
 
+  <li>Removed informative reference to DOM Level 3 Core.</li>
+
+  <li>Changed normative reference to DOM Level 1 Core to be informative.</li>
+
   <li>Changed normative reference from DOM Level 2 Core to DOM4.</li>
 
   <li>Added normative references to CSS3 Color, CSS3 Fonts, CSS3 Transforms, CSS3 UI, CSS4 Images, Filter Effects, WOFF, Web IDL.</li>
--- a/master/refs.html	Sun Aug 05 20:29:10 2012 +1000
+++ b/master/refs.html	Sun Aug 05 20:42:27 2012 +1000
@@ -114,16 +114,6 @@
   </dd>
 </dl>
 
-  <dt id="ref-DOM1" class="normref">[DOM1]</dt>
-  <dd>
-    <cite class="w3crec"><a href="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/">Document Object Model (DOM) Level 1 Specification</a></cite>,
-    V.  Apparao, S. Byrne, M. Champion, S. Isaacs, I. Jacobs, A. Le Hors, G. Nicol, J. Robie, R. Sutor, C. Wilson, L. Wood, eds.
-    World Wide Web Consortium, 01 October 1998.
-    <br/>This edition of DOM Level 1 is http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/.
-    <br/>The <a href="http://www.w3.org/TR/REC-DOM-Level-1/">latest edition of DOM Level 1</a> is available at
-    http://www.w3.org/TR/REC-DOM-Level-1/.
-  </dd>
-
   <dt id="ref-DOM2EVENTS" class="normref">[DOM2EVENTS]</dt>
   <dd>
     <cite class="w3crec"><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/">Document Object Model (DOM) Level 2 Events Specification</a></cite>,
@@ -498,14 +488,14 @@
     <br/>Available at http://dublincore.org/.
   </dd>
 
-  <dt id="ref-DOM3" class="informref">[DOM3]</dt>
+  <dt id="ref-DOM1" class="normref">[DOM1]</dt>
   <dd>
-    <cite class="w3crec"><a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/">Document Object Model (DOM) Level 3 Core Specification</a></cite>,
-    A. Le Hors, P. Le Hégaret, L. Wood, G. Nicol, J.  Robie, M. Champion, S. Byrne, eds.
-    World Wide Web Consortium, 07 April 2004.
-    <br/>This edition of DOM 3 Core is http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/.
-    <br/>The <a href="http://www.w3.org/TR/DOM-Level-3-Core/">latest edition of DOM 3 Core</a> is available at
-    http://www.w3.org/TR/DOM-Level-3-Core/.
+    <cite class="w3crec"><a href="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/">Document Object Model (DOM) Level 1 Specification</a></cite>,
+    V.  Apparao, S. Byrne, M. Champion, S. Isaacs, I. Jacobs, A. Le Hors, G. Nicol, J. Robie, R. Sutor, C. Wilson, L. Wood, eds.
+    World Wide Web Consortium, 01 October 1998.
+    <br/>This edition of DOM Level 1 is http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/.
+    <br/>The <a href="http://www.w3.org/TR/REC-DOM-Level-1/">latest edition of DOM Level 1</a> is available at
+    http://www.w3.org/TR/REC-DOM-Level-1/.
   </dd>
 
   <dt id="ref-FOLEY-VANDAM" class="informref">[FOLEY-VANDAM]</dt>
--- a/master/struct.html	Sun Aug 05 20:29:10 2012 +1000
+++ b/master/struct.html	Sun Aug 05 20:42:27 2012 +1000
@@ -1650,8 +1650,11 @@
 Object Model (HTML) Level 1</a> chapter of the
 [<a href="refs.html#ref-DOM1">DOM1</a>] specification.
 </p>
-<pre class="idl">interface <b>SVGDocument</b> : <a class="idlinterface"
-   href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#i-Document">Document</a> {
+
+<p class="issue">We shouldn't be shadowing URL from Document, we should just inherit it.
+HTML defines title, referrer and domain.</p>
+
+<pre class="idl">interface <b>SVGDocument</b> : <a>Document</a> {
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__title">title</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__referrer">referrer</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__domain">domain</a>;
--- a/master/svgdom.html	Sun Aug 05 20:29:10 2012 +1000
+++ b/master/svgdom.html	Sun Aug 05 20:42:27 2012 +1000
@@ -42,48 +42,17 @@
 
 <h2 id="SVGDOMOverview">SVG DOM overview</h2>
 
-<p>This appendix provides an introduction to the SVG DOM and
-discusses the relationship of the SVG DOM with the
-<a href="http://www.w3.org/TR/dom/"><cite>DOM4</cite></a>
-[<a href="refs.html#ref-DOM4">DOM4</a>]. The
-specific SVG DOM interfaces that correspond to particular
-sections of the SVG specification are defined at the end of
-corresponding chapters in this specification, as follows:</p>
+<p class="ready-for-wg-review">The SVG DOM is defined in terms of <a href="http://www.w3.org/TR/WebIDL">Web IDL</a>
+interfaces. All IDL fragments in this specification must be interpreted as
+required for <a href="http://www.w3.org/TR/WebIDL/#dfn-conforming-idl-fragment">conforming IDL fragments</a>,
+as described in the Web IDL specification. [<a href="refs.html#ref-WEBIDL">WEBIDL</a>]</p>
+
+<p>The SVG DOM builds upon a number of DOM specifications.  In particular:</p>
 
 <ul>
-  <li><a href="types.html#BasicDOMInterfaces">Basic DOM interfaces</a></li>
-  <li><a href="styling.html#DOMInterfaces">Styling interfaces</a></li>
-  <li><a href="struct.html#DOMInterfaces">Document Structure interfaces</a></li>
-  <li><a href="coords.html#DOMInterfaces">Coordinate Systems, Transformations and Units interfaces</a></li>
-  <li><a href="paths.html#DOMInterfaces">Paths interfaces</a></li>
-  <li><a href="shapes.html#DOMInterfaces">Basic Shapes interfaces</a></li>
-  <li><a href="text.html#DOMInterfaces">Text interfaces</a></li>
-  <li><a href="painting.html#DOMInterfaces">Painting: Filling, Stroking and Marker Symbols interfaces</a></li>
-  <li><a href="color.html#DOMInterfaces">Color interfaces</a></li>
-  <li><a href="pservers.html#DOMInterfaces">Gradients and Patterns interfaces</a></li>
-  <li><a href="masking.html#DOMInterfaces">Clipping, Masking and Compositing interfaces</a></li>
-  <li><a href="filters.html#DOMInterfaces">Filter Effects interfaces</a></li>
-  <li><a href="interact.html#DOMInterfaces">Interactivity interfaces</a></li>
-  <li><a href="linking.html#DOMInterfaces">Linking interfaces</a></li>
-  <li><a href="script.html#DOMInterfaces">Scripting interfaces</a></li>
-  <li><a href="animate.html#DOMInterfaces">Animation interfaces</a></li>
-  <li><a href="fonts.html#DOMInterfaces">Fonts interfaces</a></li>
-  <li><a href="metadata.html#DOMInterfaces">Metadata interfaces</a></li>
-  <li><a href="extend.html#DOMInterfaces">Extensibility interfaces</a></li>
-</ul>
-
-<p>The SVG DOM builds upon and is compatible with DOM4 and various parts of DOM Level 2. In particular:</p>
-
-<ul>
-  <li>The SVG DOM requires complete support for
-  <a href="http://www.w3.org/TR/dom/">DOM4</a>
+  <li>The SVG DOM requires complete support for <a href="http://www.w3.org/TR/dom/">DOM4</a>
   [<a href="refs.html#ref-DOM4">DOM4</a>]</li>
 
-  <li>Wherever appropriate, the SVG DOM is modeled after and
-  maintains consistency with the
-  <a href="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html.html">Document Object Model HTML</a>
-  ([<a href="refs.html#ref-DOM1">DOM1</a>], chapter 2).</li>
-
   <li>The SVG DOM requires complete support for 
   <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/">DOM Level 2 Views</a>
   [<a href="refs.html#ref-DOM2VIEWS">DOM2VIEWS</a>].</li>
--- a/master/text.html	Sun Aug 05 20:29:10 2012 +1000
+++ b/master/text.html	Sun Aug 05 20:42:27 2012 +1000
@@ -4715,10 +4715,9 @@
 the current element, which includes referenced characters from
 <a>'tref'</a> reference, regardless of whether they will be rendered.
 Effectively, this is equivalent to the length of the
-<a
-   href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Node3-textContent">Node::textContent</a>
-attribute from DOM Level 3 Core ([<a href="refs.html#ref-DOM3">DOM3</a>],
-section 1.4), if that attribute also expanded <a>'tref'</a>
+<a href="http://www.w3.org/TR/dom/#dom-node-textcontent">Node::textContent</a>
+attribute from DOM4 ([<a href="refs.html#ref-DOM4">DOM4</a>],
+section 5.3), if that attribute also expanded <a>'tref'</a>
 elements.