[html5] r1853 - [e] (1) Try to clean up the 'pixelratio' stuff.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 8 16:22:09 PDT 2008


Author: ianh
Date: 2008-07-08 16:22:08 -0700 (Tue, 08 Jul 2008)
New Revision: 1853

Modified:
   index
   source
Log:
[e] (1) Try to clean up the 'pixelratio' stuff.

Modified: index
===================================================================
--- index	2008-07-08 23:09:40 UTC (rev 1852)
+++ index	2008-07-08 23:22:08 UTC (rev 1853)
@@ -16777,9 +16777,6 @@
    attributes are <a href="#media8" title="media element attributes">the
    attributes common to all media elements</a>.
 
-  <p>The <code><a href="#video1">video</a></code> element supports <a
-   href="#dimension0">dimension attributes</a>.
-
   <p>The <dfn id=poster title=attr-video-poster><code>poster</code></dfn>
    attribute gives the address of an image file that the user agent can show
    while no video data is available. The attribute, if present, must contain
@@ -16802,16 +16799,6 @@
    title=attr-video-poster><a href="#poster">poster</a></code> content
    attribute.
 
-  <p>The <dfn id=videowidth
-   title=dom-video-videoWidth><code>videoWidth</code></dfn> DOM attribute
-   must return the native width of the video in CSS pixels. The <dfn
-   id=videoheight title=dom-video-videoHeight><code>videoHeight</code></dfn>
-   DOM attribute must return the native height of the video in CSS pixels. In
-   the absence of resolution information defining the mapping of pixels in
-   the video to physical dimensions, user agents may assume that one pixel in
-   the video corresponds to one CSS pixel. If no video data is available,
-   then the attributes must return 0.
-
   <hr>
 
   <p>When no video data is available (the element's <code
@@ -16874,6 +16861,19 @@
 
   <hr>
 
+  <p>The <code><a href="#video1">video</a></code> element supports <a
+   href="#dimension0">dimension attributes</a>.
+
+  <p>The <dfn id=videowidth
+   title=dom-video-videoWidth><code>videoWidth</code></dfn> DOM attribute
+   must return the intrinsic width of the video in CSS pixels. The <dfn
+   id=videoheight title=dom-video-videoHeight><code>videoHeight</code></dfn>
+   DOM attribute must return the intrinsic height of the video in CSS pixels.
+   In the absence of resolution information defining the mapping of pixels in
+   the video to physical dimensions, user agents may assume that one pixel in
+   the video corresponds to one CSS pixel. If no video data is available,
+   then the attributes must return 0.
+
   <p>Video content should be rendered inside the element's playback area such
    that the video content is shown centered in the playback area at the
    largest possible size that fits completely within it, with the video
@@ -17286,11 +17286,9 @@
    href="#media10" title="media resource">media resources</a> that do not
    self-describe their pixel ratio. The attribute value, if specified, must
    be a <a href="#valid2">valid floating point number</a> giving the ratio of
-   the correct rendered width of each pixel to the actual width of each pixel
-   in the image (i.e., the multiple by which the video's intrinsic width is
-   to be multiplied to obtain the rendered width that gives the correct
-   aspect ratio). The default value, if the attribute is omitted or cannot be
-   parsed, is 1.0.
+   the correct rendered width of each pixel to the actual height of each
+   pixel in the image. The default value, if the attribute is omitted or
+   cannot be parsed, is 1.0.
 
   <p class=note>The only way this default is used is in deciding what number
    the <code title=dom-source-pixelRatio><a

Modified: source
===================================================================
--- source	2008-07-08 23:09:40 UTC (rev 1852)
+++ source	2008-07-08 23:22:08 UTC (rev 1853)
@@ -14578,9 +14578,6 @@
   title="media element attributes">the attributes common to all media
   elements</span>.</p>
 
-  <p>The <code>video</code> element supports <span>dimension
-  attributes</span>.</p>
-
   <p>The <dfn title="attr-video-poster"><code>poster</code></dfn>
   attribute gives the address of an image file that the user agent can
   show while no video data is available. The attribute, if present,
@@ -14601,18 +14598,6 @@
   attribute must <span>reflect</span> the <code
   title="attr-video-poster">poster</code> content attribute.</p>
 
-  <p>The <dfn
-  title="dom-video-videoWidth"><code>videoWidth</code></dfn> DOM
-  attribute must return the native width of the video in CSS
-  pixels. The <dfn
-  title="dom-video-videoHeight"><code>videoHeight</code></dfn> DOM
-  attribute must return the native height of the video in CSS
-  pixels. In the absence of resolution information defining the
-  mapping of pixels in the video to physical dimensions, user agents
-  may assume that one pixel in the video corresponds to one CSS
-  pixel. If no video data is available, then the attributes must
-  return 0.</p>
-
   <hr>
 
   <p>When no video data is available (the element's <code
@@ -14676,6 +14661,21 @@
 
   <hr>
 
+  <p>The <code>video</code> element supports <span>dimension
+  attributes</span>.</p>
+
+  <p>The <dfn
+  title="dom-video-videoWidth"><code>videoWidth</code></dfn> DOM
+  attribute must return the intrinsic width of the video in CSS
+  pixels. The <dfn
+  title="dom-video-videoHeight"><code>videoHeight</code></dfn> DOM
+  attribute must return the intrinsic height of the video in CSS
+  pixels. In the absence of resolution information defining the
+  mapping of pixels in the video to physical dimensions, user agents
+  may assume that one pixel in the video corresponds to one CSS
+  pixel. If no video data is available, then the attributes must
+  return 0.</p>
+
   <p>Video content should be rendered inside the element's playback
   area such that the video content is shown centered in the playback
   area at the largest possible size that fits completely within it,
@@ -15043,11 +15043,9 @@
   <span title="media resource">media resources</span> that do not
   self-describe their pixel ratio. The attribute value, if specified,
   must be a <span>valid floating point number</span> giving the ratio
-  of the correct rendered width of each pixel to the actual width of
-  each pixel in the image (i.e., the multiple by which the video's
-  intrinsic width is to be multiplied to obtain the rendered width
-  that gives the correct aspect ratio). The default value, if the
-  attribute is omitted or cannot be parsed, is 1.0.</p>
+  of the correct rendered width of each pixel to the actual height of
+  each pixel in the image. The default value, if the attribute is
+  omitted or cannot be parsed, is 1.0.</p>
 
   <p class="note">The only way this default is used is in deciding
   what number the <code




More information about the Commit-Watchers mailing list