discovery-api/Overview.src.html
changeset 398 19eb703af1c9
parent 397 7d43f1efc56f
child 399 8b1d2cd4858d
     1.1 --- a/discovery-api/Overview.src.html	Wed Feb 27 15:27:46 2013 +0100
     1.2 +++ b/discovery-api/Overview.src.html	Mon Mar 11 05:25:35 2013 +0100
     1.3 @@ -54,50 +54,22 @@
     1.4                companyURL: "http://cablelabs.com/"
     1.5              }
     1.6            ],
     1.7 -          noIDLIn:      true,
     1.8 +
     1.9            wg:           "Device APIs Working Group",
    1.10            wgURI:        "http://www.w3.org/2009/dap/",
    1.11            wgPublicList: "public-device-apis",
    1.12 -          wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/43696/status"
    1.13 +          wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/43696/status",
    1.14 +
    1.15 +          extraCSS:     ["http://dvcs.w3.org/hg/dap/raw-file/tip/discovery-api/css/respec.nsd.css"],
    1.16 +//          inlineCSS:    true,
    1.17 +          noIDLIn:      true
    1.18 +
    1.19        };
    1.20      </script>
    1.21      <script src='http://www.w3.org/Tools/respec/respec-w3c-common'
    1.22            type="text/javascript"
    1.23            class='remove'
    1.24 -          async="">
    1.25 -</script>
    1.26 -    <style type="text/css">
    1.27 -/* Custom ReSpec CSS (by Rich Tibbett) */
    1.28 -
    1.29 -      /* Add better spacing to sections */
    1.30 -      section, .section { margin-bottom: 2em; }
    1.31 -
    1.32 -      /* Reduce note & issue render size */
    1.33 -      .note, .issue { font-size:0.8em; }
    1.34 -
    1.35 -      /* Add addition spacing to <ol> and <ul> for rule definition */
    1.36 -      ol.rule li, ul.rule li { padding:0.6em; }
    1.37 -
    1.38 -      pre.widl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; position: relative; }
    1.39 -      pre.widl :link, pre.widl :visited { color: #000; background: transparent; }
    1.40 -      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 }
    1.41 -
    1.42 -      div.example { border: solid thin red; background: #F7DFE5; color: black; padding: 0.5em 1em; position: relative; margin: 1em 0 1em 4.6em; width: auto; }
    1.43 -      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 }
    1.44 -
    1.45 -      dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
    1.46 -      hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
    1.47 -      dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
    1.48 -      dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
    1.49 -      dl.domintro dd p { margin: 0.5em 0; }
    1.50 -      dl.domintro code {font-size: inherit; font-style: italic; }
    1.51 -      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; }
    1.52 -
    1.53 -      table { border-collapse:collapse; border-style:hidden hidden none hidden }
    1.54 -      table thead { border-bottom:solid }
    1.55 -      table tbody th:first-child { border-left:solid }
    1.56 -      table td, table th { border-left:solid; border-right:solid; border-bottom:solid thin; vertical-align:top; padding:0.2em }
    1.57 -    </style>
    1.58 +          async=""></script>
    1.59    </head>
    1.60    <body>
    1.61      <section id='abstract'>
    1.62 @@ -667,8 +639,7 @@
    1.63            </dt>
    1.64            <dd>
    1.65              <p>
    1.66 -              Returns the current number of items in the current object's collection of <a href=
    1.67 -              "#networkservice"><code>NetworkService</code></a> objects.
    1.68 +              Returns the current number of <a>indexed properties</a> in the current object's collection.
    1.69              </p>
    1.70            </dd>
    1.71            <dt>
    1.72 @@ -690,7 +661,7 @@
    1.73            <p>
    1.74              The <dfn id="dom-networkservices-servicesavailable"><code>servicesAvailable</code></dfn> attribute MUST
    1.75              return the number of services in the <a>list of available service records</a> whose <code>type</code>
    1.76 -            attribute matches any of the <a>valid service type</a> tokens that was initially used to create the current
    1.77 +            attribute matches any of the <a>valid service type</a> tokens that were initially used to create the current
    1.78              <a href="#networkservices"><code>NetworkServices</code></a> object.
    1.79            </p>
    1.80          </div>
    1.81 @@ -729,10 +700,6 @@
    1.82            properties</a> cannot be added and <a>indexed properties</a> cannot be removed for the lifetime of a <a href=
    1.83            "#networkservices"><code>NetworkServices</code></a> object.
    1.84          </p>
    1.85 -        <p class="note">
    1.86 -          Each service in a <a href="#networkservices"><code>NetworkServices</code></a> object thus has an index; the
    1.87 -          first has the index 0, and each subsequent service is numbered one higher than the previous one.
    1.88 -        </p>
    1.89          <p>
    1.90            The <a href=
    1.91            "http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#supported-property-indices"
    1.92 @@ -741,6 +708,10 @@
    1.93               the number of the <a href="#networkservice"><code>NetworkService</code></a> objects in the collection
    1.94               minus one.
    1.95          </p>
    1.96 +        <p class="note">
    1.97 +          Each service in a <a href="#networkservices"><code>NetworkServices</code></a> object thus has an index; the
    1.98 +          first has the index 0, and each subsequent service is numbered one higher than the previous one.
    1.99 +        </p>
   1.100          <p>
   1.101            To <a href=
   1.102            "http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#determine-the-value-of-an-indexed-property"