@@ -92921,6 +92921,12 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
92921
92921
<li><p>If either <var>sw</var> or <var>sh</var> is given and is 0, then return <var>p</var>
92922
92922
rejected with a <code data-x="js-RangeError">RangeError</code>.</p></li>
92923
92923
92924
+ <li><p>If either <var>options</var>'s <dfn><code
92925
+ data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code></dfn> or <var>options</var>'s
92926
+ <dfn><code data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code></dfn> is present and
92927
+ is 0, then return <var>p</var> rejected with an <span>"<code>InvalidStateError</code>"</span>
92928
+ <code>DOMException</code>.</p></li>
92929
+
92924
92930
<li><p>Let <var>imageBitmap</var> be a new <code>ImageBitmap</code> object.</p></li>
92925
92931
92926
92932
<li>
@@ -92936,11 +92942,11 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
92936
92942
<code>DOMException</code>.</p></li>
92937
92943
92938
92944
<li><p>If <var>image</var>'s media data has no <span>intrinsic dimensions</span> (e.g., it's
92939
- a vector graphic with no specified content size), and both or either of the <dfn> <code
92940
- data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code></dfn> and <dfn> <code
92941
- data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code></dfn> options are not
92942
- specified, then return <var>p</var> rejected with an
92943
- <span>"<code>InvalidStateError</code>"</span> < code>DOMException</code>.</p></li>
92945
+ a vector graphic with no specified content size) and either <var>options</var>'s <code
92946
+ data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code> or <var>options</var>'s <code
92947
+ data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code> is not present, then return
92948
+ <var>p</var> rejected with an <span>"<code>InvalidStateError</code>"</span>
92949
+ <code>DOMException</code>.</p></li>
92944
92950
92945
92951
<li><p>If <var>image</var>'s media data has no <span>intrinsic dimensions</span> (e.g., it's
92946
92952
a vector graphics with no specified content size), it should be rendered to a bitmap of the
@@ -93143,11 +93149,6 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
93143
93149
<li><p>Let <var>input</var> be the <span data-x="concept-ImageBitmap-bitmap-data">bitmap
93144
93150
data</span> being transformed.</p></li>
93145
93151
93146
- <li><p>If either or both of <code data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code>
93147
- and <code data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code> members of
93148
- <var>options</var> are less than or equal to 0, then return a promise rejected with
93149
- <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
93150
-
93151
93152
<li>
93152
93153
93153
93154
<p>If <var>sx</var>, <var>sy</var>, <var>sw</var> and <var>sh</var> are specified, let
0 commit comments