Skip to content

Commit

Permalink
Don't set intrinsic width from sizes since that's bogus. Don't set th…
Browse files Browse the repository at this point in the history
…e intrinsic resolution here; we return the density and the HTML spec handles the resolution with 'current pixel density'. Fixes ResponsiveImagesCG#121 Fixes ResponsiveImagesCG#107
  • Loading branch information
zcorpan committed Apr 9, 2014
1 parent cb05464 commit e9c06ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,6 @@ Selecting an Image Source</h4>
choose one <a>image source</a> from <var>source set</var>.
Let this be <var>selected source</var>.

<li>
The intrinsic width of <var>el</var> is <var>source set</var>'s <a>source size</a>.
The intrinsic resolution of <var>el</var> is the density associated with <var>selected source</var>.

<li>
Return <var>selected source</var> and its associated pixel density.
</ol>
Expand Down
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1060,10 +1060,6 @@ <h4 class="heading settled heading" data-level=3.1.1 id=select-image-source><spa
choose one <a data-link-type=dfn href=#image-source title="image source">image source</a> from <var>source set</var>.
Let this be <var>selected source</var>.

<li>
The intrinsic width of <var>el</var> is <var>source set</var>’s <a data-link-type=dfn href=#source-size title="source size">source size</a>.
The intrinsic resolution of <var>el</var> is the density associated with <var>selected source</var>.

<li>
Return <var>selected source</var> and its associated pixel density.
</ol>
Expand Down

0 comments on commit e9c06ea

Please sign in to comment.