HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2406

File a bug

SVNBugCommentTime (UTC)
2406[Gecko] [Webkit] Define pixelratio='' for values <= 0.2008-11-17 01:06
Index: source
===================================================================
--- source	(revision 2405)
+++ source	(revision 2406)
@@ -18020,10 +18020,10 @@
   <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
@@ -18319,8 +18319,8 @@
    <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>
 

|