Browse files

[gw] (2) Define pixelratio='' for values <= 0.

git-svn-id: http://svn.whatwg.org/webapps@2406 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 64f6157 commit a1314c30058fe7e1d8596d9ef62ba9314eaddd60 @Hixie Hixie committed Nov 17, 2008
Showing with 13 additions and 13 deletions.
  1. +7 −7 index
  2. +6 −6 source
View
14 index
@@ -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-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 15 November 2008</h2>
+ <h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 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 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<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 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<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>
View
12 source
@@ -18020,10 +18020,10 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
<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 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
<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>

0 comments on commit a1314c3

Please sign in to comment.