[html5] r2406 - [gw] (2) Define pixelratio='' for values <= 0.
whatwg at whatwg.org
whatwg at whatwg.org
Sun Nov 16 17:06:25 PST 2008
Author: ianh
Date: 2008-11-16 17:06:24 -0800 (Sun, 16 Nov 2008)
New Revision: 2406
Modified:
index
source
Log:
[gw] (2) Define pixelratio='' for values <= 0.
Modified: index
===================================================================
--- index 2008-11-15 19:34:34 UTC (rev 2405)
+++ index 2008-11-17 01:06:24 UTC (rev 2406)
@@ -17,7 +17,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 15 November 2008</h2>
+ <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 17 November 2008</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<dl><dt>Multiple-page version:</dt>
@@ -16800,10 +16800,10 @@
<a href=#media-resource title="media resource">media resources</a> that do not
self-describe their <a href=#concept-video-adjusted-ratio title=concept-video-adjusted-ratio>pixel
ratio</a>. The attribute value, if specified, must be a
- <a href=#valid-floating-point-number>valid floating point number</a> 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>
+ <a href=#valid-floating-point-number>valid floating point number</a> 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><a href=#dom-source-pixelratio>pixelRatio</a></code> DOM attribute will
@@ -17066,8 +17066,8 @@
<li><p>If <var title="">candidate</var> has a <code title=attr-source-pixelratio><a href=#attr-source-pixelratio>pixelratio</a></code> attribute, and the
result of applying the <a href=#rules-for-parsing-floating-point-number-values>rules for parsing floating point
- number values</a> to the value of that attribute is not an
- error, then let the <var title="">candidate pixel ratio
+ number values</a> 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>.</li>
Modified: source
===================================================================
--- source 2008-11-15 19:34:34 UTC (rev 2405)
+++ source 2008-11-17 01:06:24 UTC (rev 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>
More information about the Commit-Watchers
mailing list