dap commit: Minor editorial changes to NSD spec

changeset:   398:19eb703af1c9
tag:         tip
user:        Rich Tibbett <richt@opera.com>
date:        Mon Mar 11 05:25:35 2013 +0100
files:       discovery-api/Overview.src.html discovery-api/css/respec.nsd.css
description:
Minor editorial changes to NSD spec


diff -r 7d43f1efc56f -r 19eb703af1c9 discovery-api/Overview.src.html
--- a/discovery-api/Overview.src.html	Wed Feb 27 15:27:46 2013 +0100
+++ b/discovery-api/Overview.src.html	Mon Mar 11 05:25:35 2013 +0100
@@ -54,50 +54,22 @@
               companyURL: "http://cablelabs.com/"
             }
           ],
-          noIDLIn:      true,
+
           wg:           "Device APIs Working Group",
           wgURI:        "http://www.w3.org/2009/dap/",
           wgPublicList: "public-device-apis",
-          wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/43696/status"
+          wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/43696/status",
+
+          extraCSS:     ["http://dvcs.w3.org/hg/dap/raw-file/tip/discovery-api/css/respec.nsd.css"],
+//          inlineCSS:    true,
+          noIDLIn:      true
+
       };
     </script>
     <script src='http://www.w3.org/Tools/respec/respec-w3c-common'
           type="text/javascript"
           class='remove'
-          async="">
-</script>
-    <style type="text/css">
-/* Custom ReSpec CSS (by Rich Tibbett) */
-
-      /* Add better spacing to sections */
-      section, .section { margin-bottom: 2em; }
-
-      /* Reduce note & issue render size */
-      .note, .issue { font-size:0.8em; }
-
-      /* Add addition spacing to <ol> and <ul> for rule definition */
-      ol.rule li, ul.rule li { padding:0.6em; }
-
-      pre.widl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; position: relative; }
-      pre.widl :link, pre.widl :visited { color: #000; background: transparent; }
-      pre.widl:before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
-
-      div.example { border: solid thin red; background: #F7DFE5; color: black; padding: 0.5em 1em; position: relative; margin: 1em 0 1em 4.6em; width: auto; }
-      div.example:before { content: "EXAMPLE"; font: bold small sans-serif; padding: 0.5em; background: red; color: white; position: absolute; top: 0; margin: -1px 0 0 -7.6em; width: 5em; border: thin solid red; border-radius: 0 0 0 0.5em }
-
-      dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
-      hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
-      dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
-      dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
-      dl.domintro dd p { margin: 0.5em 0; }
-      dl.domintro code {font-size: inherit; font-style: italic; }
-      dl.domintro:before { display: table; margin: -1em -0.5em 0.5em auto; width: auto; content: 'This box is non-normative. Implementation requirements are given below this box.'; color: red; border: solid 2px; background: white; padding: 0 0.25em; }
-
-      table { border-collapse:collapse; border-style:hidden hidden none hidden }
-      table thead { border-bottom:solid }
-      table tbody th:first-child { border-left:solid }
-      table td, table th { border-left:solid; border-right:solid; border-bottom:solid thin; vertical-align:top; padding:0.2em }
-    </style>
+          async=""></script>
   </head>
   <body>
     <section id='abstract'>
@@ -667,8 +639,7 @@
           </dt>
           <dd>
             <p>
-              Returns the current number of items in the current object's collection of <a href=
-              "#networkservice"><code>NetworkService</code></a> objects.
+              Returns the current number of <a>indexed properties</a> in the current object's collection.
             </p>
           </dd>
           <dt>
@@ -690,7 +661,7 @@
           <p>
             The <dfn id="dom-networkservices-servicesavailable"><code>servicesAvailable</code></dfn> attribute MUST
             return the number of services in the <a>list of available service records</a> whose <code>type</code>
-            attribute matches any of the <a>valid service type</a> tokens that was initially used to create the current
+            attribute matches any of the <a>valid service type</a> tokens that were initially used to create the current
             <a href="#networkservices"><code>NetworkServices</code></a> object.
           </p>
         </div>
@@ -729,10 +700,6 @@
           properties</a> cannot be added and <a>indexed properties</a> cannot be removed for the lifetime of a <a href=
           "#networkservices"><code>NetworkServices</code></a> object.
         </p>
-        <p class="note">
-          Each service in a <a href="#networkservices"><code>NetworkServices</code></a> object thus has an index; the
-          first has the index 0, and each subsequent service is numbered one higher than the previous one.
-        </p>
         <p>
           The <a href=
           "http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#supported-property-indices"
@@ -741,6 +708,10 @@
              the number of the <a href="#networkservice"><code>NetworkService</code></a> objects in the collection
              minus one.
         </p>
+        <p class="note">
+          Each service in a <a href="#networkservices"><code>NetworkServices</code></a> object thus has an index; the
+          first has the index 0, and each subsequent service is numbered one higher than the previous one.
+        </p>
         <p>
           To <a href=
           "http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#determine-the-value-of-an-indexed-property"
diff -r 7d43f1efc56f -r 19eb703af1c9 discovery-api/css/respec.nsd.css
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/discovery-api/css/respec.nsd.css	Mon Mar 11 05:25:35 2013 +0100
@@ -0,0 +1,30 @@
+/* Custom ReSpec CSS (by Rich Tibbett) */
+
+/* Add better spacing to sections */
+section, .section { margin-bottom: 2em; }
+
+/* Reduce note & issue render size */
+.note, .issue { font-size:0.8em; }
+
+/* Add addition spacing to <ol> and <ul> for rule definition */
+ol.rule li, ul.rule li { padding:0.6em; }
+
+pre.widl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; position: relative; }
+pre.widl :link, pre.widl :visited { color: #000; background: transparent; }
+pre.widl:before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
+
+div.example { border: solid thin red; background: #F7DFE5; color: black; padding: 0.5em 1em; position: relative; margin: 1em 0 1em 4.6em; width: auto; }
+div.example:before { content: "EXAMPLE"; font: bold small sans-serif; padding: 0.5em; background: red; color: white; position: absolute; top: 0; margin: -1px 0 0 -7.6em; width: 5em; border: thin solid red; border-radius: 0 0 0 0.5em }
+
+dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
+hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
+dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
+dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
+dl.domintro dd p { margin: 0.5em 0; }
+dl.domintro code {font-size: inherit; font-style: italic; }
+dl.domintro:before { display: table; margin: -1em -0.5em 0.5em auto; width: auto; content: 'This box is non-normative. Implementation requirements are given below this box.'; color: red; border: solid 2px; background: white; padding: 0 0.25em; }
+
+table { border-collapse:collapse; border-style:hidden hidden none hidden }
+table thead { border-bottom:solid }
+table tbody th:first-child { border-left:solid }
+table td, table th { border-left:solid; border-right:solid; border-bottom:solid thin; vertical-align:top; padding:0.2em }

Received on Monday, 11 March 2013 04:25:26 UTC