- From: poot <cvsmail@w3.org>
- Date: Tue, 29 Sep 2009 10:21:27 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: remove newlines near <pre> and </pre> tags. (whatwg r4020) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3181&r2=1.3182&f=h http://html5.org/tools/web-apps-tracker?from=4019&to=4020 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3181 retrieving revision 1.3182 diff -u -d -r1.3181 -r1.3182 --- Overview.html 29 Sep 2009 01:14:12 -0000 1.3181 +++ Overview.html 29 Sep 2009 01:21:05 -0000 1.3182 @@ -4317,15 +4317,13 @@ </dl></div><h4 id="interfaces-for-url-manipulation"><span class="secno">2.5.3 </span>Interfaces for URL manipulation</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>An interface that has a complement of <dfn id="url-decomposition-idl-attributes">URL decomposition IDL attributes</dfn> will have seven attributes with the following - definitions:<pre class="idl extract"> - attribute DOMString <a href="#dom-uda-protocol" title="dom-uda-protocol">protocol</a>; + definitions:<pre class="idl extract"> attribute DOMString <a href="#dom-uda-protocol" title="dom-uda-protocol">protocol</a>; attribute DOMString <a href="#dom-uda-host" title="dom-uda-host">host</a>; attribute DOMString <a href="#dom-uda-hostname" title="dom-uda-hostname">hostname</a>; attribute DOMString <a href="#dom-uda-port" title="dom-uda-port">port</a>; attribute DOMString <a href="#dom-uda-pathname" title="dom-uda-pathname">pathname</a>; attribute DOMString <a href="#dom-uda-search" title="dom-uda-search">search</a>; - attribute DOMString <a href="#dom-uda-hash" title="dom-uda-hash">hash</a>; -</pre><dl class="domintro"><dt><var title="">o</var> . <code title="dom-uda-protocol"><a href="#dom-uda-protocol">protocol</a></code> [ = <var title="">value</var> ]</dt> + attribute DOMString <a href="#dom-uda-hash" title="dom-uda-hash">hash</a>;</pre><dl class="domintro"><dt><var title="">o</var> . <code title="dom-uda-protocol"><a href="#dom-uda-protocol">protocol</a></code> [ = <var title="">value</var> ]</dt> <dd> <p>Returns the current scheme of the underlying URL.</p> <p>Can be set, to change the underlying URL's scheme.</p> @@ -6083,8 +6081,7 @@ attribute <a href="#function">Function</a> <a href="#handler-onvolumechange" title="handler-onvolumechange">onvolumechange</a>; attribute <a href="#function">Function</a> <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>; }; -<span>Document</span> implements <a href="#htmldocument">HTMLDocument</a>; -</pre><p>Since the <code><a href="#htmldocument">HTMLDocument</a></code> interface holds methods and +<span>Document</span> implements <a href="#htmldocument">HTMLDocument</a>;</pre><p>Since the <code><a href="#htmldocument">HTMLDocument</a></code> interface holds methods and attributes related to a number of disparate features, the members of this interface are described in various different sections.<h4 id="security"><span class="secno">3.1.2 </span>Security</h4><p>User agents <span class="impl">must</span> raise a <code><a href="#security_err">SECURITY_ERR</a></code> exception whenever any of the members of @@ -7344,16 +7341,14 @@ <p>If a Web page wanted an element to represent a space ship, e.g. as part of a game, it would have to use the <code class="attr-class">class</code> attribute along with <code title="attr-data-*"><a href="#attr-data">data-*</a></code> attributes:</p> - <pre> -<div class="spaceship" data-id="92432" + <pre><div class="spaceship" data-id="92432" data-weapons="laser 2" data-shields="50%" data-x="30" data-y="10" data-z="90"> <button class="fire" onclick="spaceships[this.parentNode.dataset.id].fire()"> Fire </button> -</div> -</pre> +</div></pre> </div><p>Authors should carefully design such extensions so that when the attributes are ignored and any associated CSS dropped, the page is @@ -9238,8 +9233,7 @@ ... <h1>Introduction</h1> <p>This companion guide to the highly successful - <cite>Introduction to Medieval Bee-Keeping</cite> book is... -</pre> + <cite>Introduction to Medieval Bee-Keeping</cite> book is...</pre> <p>The next page might be a part of the same site. Note how the title describes the subject matter unambiguously, while the first @@ -15257,8 +15251,7 @@ <div class="example"> <p>The following markup:</p> - <pre> -<h3>Suggested groups</h3> + <pre><h3>Suggested groups</h3> <menu type="toolbar"> <a href="?cmd=hsg" onclick="hideSuggestedGroups()">Hide suggested groups</a> </menu> @@ -15280,8 +15273,7 @@ <a href="/group/mozilla.dev.general/subscribe">join</a></p> <p><strong><meter value="0.25">Low activity,</meter></strong> Usenet, 66 subscribers</p> </li> -</ul> -</pre> +</ul></pre> <p>Might be rendered as follows:</p> <p><img alt="With the <meter> elements rendered as inline green bars of varying lengths." src="images/sample-meter.png"></p> </div> @@ -19033,8 +19025,7 @@ <p>The <dfn id="dom-media-src" title="dom-media-src"><code>src</code></dfn> IDL attribute on <a href="#media-element" title="media element">media elements</a> must - <a href="#reflect">reflect</a> the respective content attribute of the same - name.</p> + <a href="#reflect">reflect</a> the content attribute of the same name.</p> </div><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-currentSrc"><a href="#dom-media-currentsrc">currentSrc</a></code></dt> @@ -21357,8 +21348,7 @@ </div><div class="example"> <p>Only one square appears to be drawn in the following example:</p> - <pre> - // canvas is a reference to a <canvas> element + <pre> // canvas is a reference to a <canvas> element var context = canvas.getContext('2d'); context.fillRect(0,0,50,50); canvas.setAttribute('width', '300'); // clears the canvas @@ -24748,6 +24738,7 @@ readonly attribute <a href="#htmlcollection">HTMLCollection</a> <a href="#dom-table-rows" title="dom-table-rows">rows</a>; <a href="#htmlelement">HTMLElement</a> <a href="#dom-table-insertrow" title="dom-table-insertRow">insertRow</a>(in optional long index); void <a href="#dom-table-deleterow" title="dom-table-deleteRow">deleteRow</a>(in long index); + attribute DOMString <a href="#dom-table-summary" title="dom-table-summary">summary</a>; };</pre> </dd> </dl><p>The <code><a href="#the-table-element">table</a></code> element <a href="#represents">represents</a> data with @@ -24912,8 +24903,7 @@ <td> Passing </table> </dd> -</figure> -</pre></div> +</figure></pre></div> </dd> <dt>Next to the table, in a <code><a href="#the-figure-element">figure</a></code>'s <code><a href="#the-dt-element">dt</a></code></dt> @@ -24944,8 +24934,7 @@ <td> Passing </table> </dd> -</figure> -</pre></div> +</figure></pre></div> </dd> </dl><p>Authors may also use other techniques, or combinations of the @@ -25262,7 +25251,11 @@ <li><p>Otherwise, the method must remove the <var title="">index</var>th element in the <code title="dom-table-rows"><a href="#dom-table-rows">rows</a></code> collection from its parent.</p> - </ol></div><h4 id="the-caption-element"><span class="secno">4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i><dl class="element"><dt>Categories</dt> + </ol><p>The <dfn id="dom-table-summary" title="dom-table-summary"><code>summary</code></dfn> IDL + attribute must <a href="#reflect">reflect</a> the content attribute of the + same name.</p> + + </div><h4 id="the-caption-element"><span class="secno">4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i><dl class="element"><dt>Categories</dt> <dd>None.</dd> <dt>Contexts in which this element may be used:</dt> <dd>As the first element child of a <code><a href="#the-table-element">table</a></code> element.</dd> @@ -25353,9 +25346,8 @@ <a href="#table-model">table model</a>.</p> <p>The <dfn id="dom-colgroup-span" title="dom-colgroup-span"><code>span</code></dfn> IDL - attribute must <a href="#reflect">reflect</a> the respective content attribute - of the same name. The value must be <a href="#limited-to-only-positive-non-zero-numbers">limited to only positive - non-zero numbers</a>.</p> + attribute must <a href="#reflect">reflect</a> thelimited to only positive + non-zero numbers.</p> </div><h4 id="the-col-element"><span class="secno">4.9.4 </span>The <dfn><code>col</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i><dl class="element"><dt>Categories</dt> <dd>None.</dd> @@ -31512,12 +31504,10 @@ such as in a tooltip or read out by assistive technology when the control gains focus.<div class="example"> <p>For example, the following snippet:</p> - <pre> -<label> Part number: + <pre><label> Part number: <input pattern="[0-9][A-Z]{3}" name="part" title="A part number is a digit followed by three uppercase letters."/> -</label> -</pre> +</label></pre> <p>...could cause the UA to display an alert such as:</p> <pre><samp>A part number is a digit followed by three uppercase letters. You cannot complete this form until the field is correct.</samp></pre> @@ -41009,8 +40999,7 @@ <code><a href="#the-address-element">address</a></code> element) containing an address with two street components:</p> - <pre> -<address item=vcard> + <pre><address item=vcard> <strong title="fn">Alfred Person</strong> <br> <span itemprop="adr" item> <span itemprop="street-address">1600 Amphitheatre Parkway</span> <br> @@ -43676,8 +43665,7 @@ attribute <a href="#function">Function</a> <a href="#handler-onvolumechange" title="handler-onvolumechange">onvolumechange</a>; attribute <a href="#function">Function</a> <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>; }; -<a href="#window">Window</a> implements <span>EventTarget</span>; -</pre><!-- for more features to add here, look here: +<a href="#window">Window</a> implements <span>EventTarget</span>;</pre><!-- for more features to add here, look here: http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp http://www.mozilla.org/docs/dom/domref/dom_window_ref.html http://lxr.mozilla.org/mozilla/source/dom/public/idl/base/nsIDOMWindow.idl - scrollBy, etc @@ -65239,8 +65227,7 @@ li { display: list-item; } ruby { display: ruby; } -rt { display: ruby-text; } -</pre> +rt { display: ruby-text; }</pre> <!-- del, ins, and map are inline. --> @@ -65612,9 +65599,7 @@ table[rules=cols] > tfoot > tr > td, table[rules=cols] > tfoot > tr > th, table[rules=all] > tfoot > tr > td, table[rules=all] > tfoot > tr > th { border-color: black; -} - -</pre> +}</pre> <hr><p>The initial value for the 'color' property is expected to be black. The initial value for the 'background-color' property is @@ -68553,11 +68538,10 @@ attribute DOMString <a href="#dom-table-cellspacing" title="dom-table-cellSpacing">cellSpacing</a>; attribute DOMString <a href="#dom-table-frame" title="dom-table-frame">frame</a>; attribute DOMString <a href="#dom-table-rules" title="dom-table-rules">rules</a>; - attribute DOMString <a href="#dom-table-summary" title="dom-table-summary">summary</a>; attribute DOMString <a href="#dom-table-width" title="dom-table-width">width</a>; };</pre> - <p>The <dfn id="dom-table-align" title="dom-table-align"><code>align</code></dfn>, <dfn id="dom-table-border" title="dom-table-border"><code>border</code></dfn>, <dfn id="dom-table-frame" title="dom-table-frame"><code>frame</code></dfn>, <dfn id="dom-table-rules" title="dom-table-rules"><code>rules</code></dfn>, <dfn id="dom-table-summary" title="dom-table-summary"><code>summary</code></dfn>, and <dfn id="dom-table-width" title="dom-table-width"><code>width</code></dfn>, IDL attributes of + <p>The <dfn id="dom-table-align" title="dom-table-align"><code>align</code></dfn>, <dfn id="dom-table-border" title="dom-table-border"><code>border</code></dfn>, <dfn id="dom-table-frame" title="dom-table-frame"><code>frame</code></dfn>, <dfn id="dom-table-rules" title="dom-table-rules"><code>rules</code></dfn>, and <dfn id="dom-table-width" title="dom-table-width"><code>width</code></dfn>, IDL attributes of the <code><a href="#the-table-element">table</a></code> element must <a href="#reflect">reflect</a> the respective content attributes of the same name.</p>
Received on Tuesday, 29 September 2009 01:22:08 UTC