You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <code>canvas</code> element has two attributes to control the size of the element's bitmap:
59251
-
<dfn><code data-x="attr-canvas-width">width</code></dfn> and <dfn><code data-x="attr-canvas-height">height</code></dfn>. These attributes, when specified, must have
59251
+
<dfn><code data-x="attr-canvas-width">width</code></dfn> and <dfn><code
59252
+
data-x="attr-canvas-height">height</code></dfn>. These attributes, when specified, must have
59252
59253
values that are <span data-x="valid non-negative integer">valid non-negative integers</span>. <span
59253
-
w-nodev>The <span>rules for parsing non-negative integers</span> must be used to obtain their
59254
-
numericvalues. If an attribute is missing, or if parsing its value returns an error, then the
59255
-
default value must be used instead.</span> The <code data-x="attr-canvas-width">width</code>
59256
-
attribute defaults to 300, and the <code data-x="attr-canvas-height">height</code> attribute
59257
-
defaults to 150.</p>
59254
+
w-nodev>The <span>rules for parsing non-negative integers</span> must be used to <dfn
59255
+
data-x="obtain-numeric-values">obtain their numeric values</dfn>. If an attribute is missing,
59256
+
or if parsing its value returns an error, then the default value must be used instead.</span>
59257
+
The <code data-x="attr-canvas-width">width</code> attribute defaults to 300, and the
59258
+
<code data-x="attr-canvas-height">height</code> attribute defaults to 150.</p>
59258
59259
59259
59260
<p>When setting the value of the <code data-x="attr-canvas-width">width</code> or <code
59260
59261
data-x="attr-canvas-height">height</code> attribute, if the <span
0 commit comments