Skip to content

Commit

Permalink
createImageBitmap(): stop clipping sourceRect to source's dimensions
Browse files Browse the repository at this point in the history
It has been found in #6306 that this was an oversight at the time of its introduction. Current behavior goes against author expectations and no implementer has opposed the change to "no-clip".

Tests: web-platform-tests/wpt#27040.

Closes #6306.
  • Loading branch information
Kaiido authored Feb 4, 2021
1 parent 01574f3 commit b43cdf4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -95199,8 +95199,6 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
<var>sy</var>) point.</p>
</li>

<li><p>Clip <var>sourceRectangle</var> to the dimensions of <var>input</var>.</p></li>

<li>
<p>Let <var>outputWidth</var> be determined as follows:</p>

Expand Down

0 comments on commit b43cdf4

Please sign in to comment.