spec/Overview.html 1.2108 2943 Allow the dimension attributes to be set

Allow the dimension attributes to be set to zero. (credit: sp) (bug
6544) (whatwg r2943)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6544

4.8.2.1.10 An image not intended for the user
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#an-image-not-intended-for-the-user
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#status-of-this-document
4.8.2.1.11 An image in an e-mail or document intended for a specific person who is known to be able to view images
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#an-image-in-an-e-mail-or-document-intended-for-a-specific-person-who-is-known-to-be-able-to-view-images
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
4.8.17 Dimension attributes
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#dimension-attributes
W3C Working Draft 12 February 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2108.html#w3c-working-draft-12-february-year

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2107&r2=1.2108&f=h
http://html5.org/tools/web-apps-tracker?from=2942&to=2943

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2107
retrieving revision 1.2108
diff -u -d -r1.2107 -r1.2108
--- Overview.html 31 Mar 2009 23:59:40 -0000 1.2107
+++ Overview.html 1 Apr 2009 00:12:32 -0000 1.2108
@@ -146,7 +146,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=w3c-working-draft-12-february-year><!--ZZZ:--> W3C Working Draft 12 February 2009<!-- fix date ZZZ --><!-- Editor's Draft 31 March 2009 --><!--:ZZZ--></h2>
+   <h2 class="no-num no-toc" id=w3c-working-draft-12-february-year><!--ZZZ:--> W3C Working Draft 12 February 2009<!-- fix date ZZZ --><!-- Editor's Draft 1 April 2009 --><!--:ZZZ--></h2>
    <dl><!-- ZZZ: update the month/day (twice), uncomment out --><dt>This Version:</dt>
     <dd><a href=http://www.w3.org/TR/2009/WD-html5-20090212/>http://www.w3.org/TR/2009/WD-html5-20090212/</a></dd>
 <!-- :ZZZ -->
@@ -236,7 +236,7 @@
   track.
   <!--ZZZ:-->
   This specification is the 12 February 2009 Working Draft.
-  <!-- This specification is the 31 March 2009 Editor's Draft. -->
+  <!-- This specification is the 1 April 2009 Editor's Draft. -->
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -15425,7 +15425,9 @@
   for purposes other than showing images.<p>If an <code><a href=#the-img-element>img</a></code> element is being used for purposes other
   than showing an image, e.g. as part of a service to count page
   views, then the <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute must
-  be the empty string.<h6 id=an-image-in-an-e-mail-or-document-intended-for-a-specific-person-who-is-known-to-be-able-to-view-images><span class=secno>4.8.2.1.11 </span>An image in an e-mail or document intended for a specific person who is known to be able to view images</h6><p>When an image is included in a communication (such as an HTML
+  be the empty string.<p>In such cases, the <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and
+  <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes should both
+  be set to zero.<h6 id=an-image-in-an-e-mail-or-document-intended-for-a-specific-person-who-is-known-to-be-able-to-view-images><span class=secno>4.8.2.1.11 </span>An image in an e-mail or document intended for a specific person who is known to be able to view images</h6><p>When an image is included in a communication (such as an HTML
   e-mail) aimed at someone who is known to be able to view images,
   the <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute may be
   omitted. However, even in such cases it is strongly recommended
@@ -22286,7 +22288,7 @@
   respectively, relative to the nominal direction of the output
   medium), in CSS pixels. The attributes, if specified, must have
   values that are <a href=#valid-non-negative-integer title="valid non-negative integer">valid
-  non-negative integers</a> greater than zero.<p>The specified dimensions given may differ from the dimensions
+  non-negative integers</a>.<p>The specified dimensions given may differ from the dimensions
   specified in the resource itself, since the resource may have a
   resolution that differs from the CSS pixel resolution. (On screens,
   CSS pixels have a resolution of 96ppi, but in general the CSS pixel
@@ -22299,11 +22301,15 @@
              <var title="">specified width</var> / <var title="">target ratio</var> &le;
              <var title="">specified height</var> + 0.5</span></li>
 
+   <li><span title=""><var title="">specified height</var> = <var title="">specified width</var> = 0</span></li>
+
   </ul><p>The <var title="">target ratio</var> is the ratio of the
   intrinsic width to the intrinsic height in the resource. The <var title="">specified width</var> and <var title="">specified
   height</var> are the values of the <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes respectively.<p>The two attributes must be omitted if the resource in question
-  does not have both an intrinsic width and an intrinsic height.<p class=note>Basically, the dimension attributes can't be used to
-  stretch the image.<div class=impl>
+  does not have both an intrinsic width and an intrinsic height.<p>If the two attributes are both zero, it indicates that the
+  element is not intended for the user (e.g. it might be a part of a
+  service to count page views).<p class=note>The dimension attributes are not intended to be used
+  to stretch the image.<div class=impl>
 
   <p><strong>User agent requirements:</strong> User agents are
   expected to use these attributes <a href=#dimRendering>as hints

Received on Thursday, 2 April 2009 04:26:46 UTC