Skip to content

Commit

Permalink
Require srcset parsing behavior for partial impls. Fixes #244
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Sep 29, 2014
1 parent 05a06a8 commit 0e65426
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,16 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<ol>

<li>

<p>If the user agent does not support the <code data-x="attr-img-sizes">sizes</code> attribute,
let <var>error</var> be <i>yes</i>.</p>

<p class="note">A conforming user agent will support the <code data-x="attr-img-sizes">sizes</code> attribute.
However, user agents typically implement and ship features in an incremental manner in practice.</p>

</li>

<li><p>If <var>width</var> and <var>density</var>
are not both <i>absent</i>,
then let <var>error</var> be <i>yes</i>.</p></li>
Expand Down

0 comments on commit 0e65426

Please sign in to comment.