[html5] r4020 - [e] (0) remove newlines near <pre> and </pre> tags.

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 28 18:29:21 PDT 2009


Author: ianh
Date: 2009-09-28 18:29:20 -0700 (Mon, 28 Sep 2009)
New Revision: 4020

Modified:
   index
   source
Log:
[e] (0) remove newlines near <pre> and </pre> tags.

Modified: index
===================================================================
--- index	2009-09-29 01:22:27 UTC (rev 4019)
+++ index	2009-09-29 01:29:20 UTC (rev 4020)
@@ -4806,15 +4806,13 @@
   attributes</dfn> will have seven attributes with the following
   definitions:</p>
 
-<pre class="idl extract">
-           attribute DOMString <a href=#dom-uda-protocol title=dom-uda-protocol>protocol</a>;
+<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>
+           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>
@@ -6727,8 +6725,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>
+<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
@@ -8213,16 +8210,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>
 
@@ -10371,8 +10366,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
@@ -17416,8 +17410,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>
@@ -17439,8 +17432,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>
@@ -21761,8 +21753,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>
 
@@ -24228,8 +24219,7 @@
 
   <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
@@ -27894,6 +27884,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
@@ -28078,8 +28069,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>
@@ -28110,8 +28100,7 @@
      <td> Passing
   </table>
  </dd>
-</figure>
-</pre></div>
+</figure></pre></div>
    </dd>
 
   </dl><p>Authors may also use other techniques, or combinations of the
@@ -28442,9 +28431,13 @@
 
    <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>
+  </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>
 
   <dl class=element><dt>Categories</dt>
@@ -28557,9 +28550,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>
 
@@ -35436,12 +35428,10 @@
 
   <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>
@@ -45770,8 +45760,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>
@@ -48586,8 +48575,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>
+<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
@@ -71619,8 +71607,7 @@
 li { display: list-item; }
 
 ruby { display: ruby; }
-rt { display: ruby-text; }
-</pre>
+rt { display: ruby-text; }</pre>
 
   <!-- del, ins, and map are inline. -->
 
@@ -72001,10 +71988,8 @@
 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
   expected to be 'transparent'. The canvas's background is expected to
@@ -75062,11 +75047,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>
 

Modified: source
===================================================================
--- source	2009-09-29 01:22:27 UTC (rev 4019)
+++ source	2009-09-29 01:29:20 UTC (rev 4020)
@@ -4424,15 +4424,13 @@
   attributes</dfn> will have seven attributes with the following
   definitions:</p>
 
-<pre class="idl extract">
-           attribute DOMString <span title="dom-uda-protocol">protocol</span>;
+<pre class="idl extract">           attribute DOMString <span title="dom-uda-protocol">protocol</span>;
            attribute DOMString <span title="dom-uda-host">host</span>;
            attribute DOMString <span title="dom-uda-hostname">hostname</span>;
            attribute DOMString <span title="dom-uda-port">port</span>;
            attribute DOMString <span title="dom-uda-pathname">pathname</span>;
            attribute DOMString <span title="dom-uda-search">search</span>;
-           attribute DOMString <span title="dom-uda-hash">hash</span>;
-</pre>
+           attribute DOMString <span title="dom-uda-hash">hash</span>;</pre>
 
   <dl class="domintro">
 
@@ -6651,8 +6649,7 @@
            attribute <span>Function</span> <span title="handler-onvolumechange">onvolumechange</span>;
            attribute <span>Function</span> <span title="handler-onwaiting">onwaiting</span>;
 };
-<span>Document</span> implements <span>HTMLDocument</span>;
-</pre>
+<span>Document</span> implements <span>HTMLDocument</span>;</pre>
 
   <p>Since the <code>HTMLDocument</code> interface holds methods and
   attributes related to a number of disparate features, the members of
@@ -8363,16 +8360,14 @@
    class="attr-class">class</code> attribute along with <code
    title="attr-data-*">data-*</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>
 
@@ -10821,8 +10816,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
@@ -18624,8 +18618,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>
@@ -18647,8 +18640,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 src="images/sample-meter.png" alt="With the <meter> elements rendered as inline green bars of varying lengths."></p>
   </div>
@@ -23402,8 +23394,7 @@
 
   <p>The <dfn title="dom-media-src"><code>src</code></dfn> IDL
   attribute on <span title="media element">media elements</span> must
-  <span>reflect</span> the respective content attribute of the same
-  name.</p>
+  <span>reflect</span> the content attribute of the same name.</p>
 
   </div>
 
@@ -26330,8 +26321,7 @@
 
   <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
@@ -30727,6 +30717,7 @@
   readonly attribute <span>HTMLCollection</span> <span title="dom-table-rows">rows</span>;
   <span>HTMLElement</span> <span title="dom-table-insertRow">insertRow</span>(in optional long index);
   void <span title="dom-table-deleteRow">deleteRow</span>(in long index);
+           attribute DOMString <span title="dom-table-summary">summary</span>;
 };</pre>
    </dd>
   </dl>
@@ -30924,8 +30915,7 @@
      <td> Passing
   </table>
  </dd>
-</figure>
-</pre></div>
+</figure></pre></div>
    </dd>
 
    <dt>Next to the table, in a <code>figure</code>'s <code>dt</code></dt>
@@ -30956,8 +30946,7 @@
      <td> Passing
   </table>
  </dd>
-</figure>
-</pre></div>
+</figure></pre></div>
    </dd>
 
   </dl>
@@ -31321,6 +31310,10 @@
 
   </ol>
 
+  <p>The <dfn title="dom-table-summary"><code>summary</code></dfn> IDL
+  attribute must <span>reflect</span> the content attribute of the
+  same name.</p>
+
   </div>
 
 
@@ -31452,7 +31445,7 @@
   <span>table model</span>.</p>
 
   <p>The <dfn title="dom-colgroup-span"><code>span</code></dfn> IDL
-  attribute must <span>reflect</span> the respective content attribute
+  attribute must <span>reflect</span> the< content attribute
   of the same name. The value must be <span>limited to only positive
   non-zero numbers</span>.</p>
 
@@ -39435,12 +39428,10 @@
 
   <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>
@@ -51298,8 +51289,7 @@
    <code>address</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>
@@ -54814,8 +54804,7 @@
            attribute <span>Function</span> <span title="handler-onvolumechange">onvolumechange</span>;
            attribute <span>Function</span> <span title="handler-onwaiting">onwaiting</span>;
 };
-<span>Window</span> implements <span>EventTarget</span>;
-</pre>
+<span>Window</span> 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
@@ -73520,16 +73509,14 @@
 
   <p>The following diagrams summarise the protocol:</p>
 
-  <pre>
-Handshake
+  <pre>Handshake
    |
   \|/
 Frame type byte <-------------------------------------.
    |      |                                           |
    |      `-- (0x00 .. 0x7F) --> Data... --> 0xFF -->-+
    |                                                  |
-   `-- (0x80 .. 0xFF) --> Length --> Data... ------->-'
-</pre>
+   `-- (0x80 .. 0xFF) --> Length --> Data... ------->-'</pre>
 
 
   <h6>Design philosophy</h6>
@@ -85062,8 +85049,7 @@
 li { display: list-item; }
 
 ruby { display: ruby; }
-rt { display: ruby-text; }
-</pre>
+rt { display: ruby-text; }</pre>
 
   <!-- del, ins, and map are inline. -->
 
@@ -85511,10 +85497,8 @@
 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
@@ -89105,15 +89089,13 @@
            attribute DOMString <span title="dom-table-cellSpacing">cellSpacing</span>;
            attribute DOMString <span title="dom-table-frame">frame</span>;
            attribute DOMString <span title="dom-table-rules">rules</span>;
-           attribute DOMString <span title="dom-table-summary">summary</span>;
            attribute DOMString <span title="dom-table-width">width</span>;
 };</pre>
 
   <p>The <dfn title="dom-table-align"><code>align</code></dfn>, <dfn
   title="dom-table-border"><code>border</code></dfn>, <dfn
   title="dom-table-frame"><code>frame</code></dfn>, <dfn
-  title="dom-table-rules"><code>rules</code></dfn>, <dfn
-  title="dom-table-summary"><code>summary</code></dfn>, and <dfn
+  title="dom-table-rules"><code>rules</code></dfn>, and <dfn
   title="dom-table-width"><code>width</code></dfn>, IDL attributes of
   the <code>table</code> element must <span>reflect</span> the
   respective content attributes of the same name.</p>




More information about the Commit-Watchers mailing list