HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2406[Gecko] [Webkit] Define pixelratio='' for values <= 0.2008-11-17 01:06
@@ -18013,24 +18013,24 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
   <span>media resource</span> is useful to the user before fetching
   it. Its value must be a valid <a href="#mq">media query</a>. <a
   href="#refsMQ">[MQ]</a></p>
 
   <p>The <dfn
   title="attr-source-pixelratio"><code>pixelratio</code></dfn>
   attribute allows the author to specify the pixel ratio of anamorphic
   <span title="media resource">media resources</span> that do not
   self-describe their <span title="concept-video-adjusted-ratio">pixel
   ratio</span>. 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 height of each
-  pixel in the image. The default value, if the attribute is omitted
-  or cannot be parsed, is 1.0.</p>
+  <span>valid floating point number</span> greater than zero giving
+  the ratio 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
   title="dom-source-pixelRatio">pixelRatio</code> DOM attribute will
   return if the content attribute is omitted or cannot be parsed. If
   the content attribute is omitted or cannot be parsed, then the user
   agent doesn't adjust the <span
   title="concept-video-intrinsic-width">intrinsic width</span> of the
   video at all; the intrinsic dimensions and the <span
   title="concept-video-pixel-ratio">pixel ratio</span> of the video
@@ -18312,22 +18312,22 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
    <li><p>Let <var title="">candidate</var> be the first
    <code>source</code> element child in the <span>media
    element</span>.</p></li>
 
    <li><p><i>Loop</i>: this is the start of the loop that looks at the
    <code>source</code> elements.</p></li>
 
    <li><p>If <var title="">candidate</var> has a <code
    title="attr-source-pixelratio">pixelratio</code> attribute, and the
    result of applying the <span>rules for parsing floating point
-   number values</span> to the value of that attribute is not an
-   error, then let the <var title="">candidate pixel ratio
+   number values</span> to the value of that attribute is a number
+   greater than zero, then let the <var title="">candidate pixel ratio
    override</var> be that result. Otherwise, let it be
    <i>none</i>.</p></li>
 
    <li>
 
     <p>If all the following conditions are true:</p>
 
     <ul>
 
      <li>The <var title="">candidate</var> element has a <code

|