Skip to content

Commit

Permalink
Cropping/resizing steps shouldn't abort just because cropping values …
Browse files Browse the repository at this point in the history
…aren't set.

Previously, resizing options would be ignored if cropping options weren't set.
  • Loading branch information
jakearchibald committed Jul 13, 2016
1 parent b5e6458 commit 64c4a95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -92457,7 +92457,10 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
<li><p>Let <var>input</var> be the <span data-x="concept-ImageBitmap-bitmap-data">bitmap
data</span> being cropped.</p></li>

<li><p>If the <var>sx</var>, <var>sy</var>, <var>sw</var>, and <var>sh</var> arguments are omitted, return <var>input</var>.</p></li>
<li><p>If the <var>sx</var>, <var>sy</var>, <var>sw</var>, and <var>sh</var> arguments are
omitted, and neither of the <code data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code>
or <code data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code> members of
<var>options</var> are specified, return <var>input</var>.</p></li>

<li><p>If either or both of <code data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code>
and <code data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code> members of
Expand Down

0 comments on commit 64c4a95

Please sign in to comment.