Skip to content

Commit db06684

Browse files
juliandescottesjgraham
authored andcommitted
Fix missing minimum print size in Print page command
1 parent 91b29b2 commit db06684

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11253,9 +11253,12 @@ <h3><dfn>Print Page</dfn></h3>
1125311253
default of <code>27.94</code> from <var>page</var>.
1125411254

1125511255
<li><p>If either of <var>pageWidth</var> or <var>pageHeight</var> is
11256-
not a <a>Number</a>, or is less then 0, return <a>error</a>
11256+
not a <a>Number</a>, or is less than <code>(2.54 / 72)</code>, return <a>error</a>
1125711257
with <a>error code</a> <a>invalid argument</a>.
1125811258

11259+
<p class=note>The minimum page size is <code>1</code> point, which is
11260+
<code>(2.54 / 72)</code> as per <a>absolute lengths</a>.
11261+
1125911262
<li><p>Let <var>margin</var> be the result of <a>getting a property
1126011263
with default</a> named "<code>margin</code>" and with a default of an
1126111264
empty <a>Object</a> from <var>parameters</var>.
@@ -11862,6 +11865,7 @@ <h2>Index</h2>
1186211865
<dd>The following terms are defined in
1186311866
the CSS Values and Units Module Level 3 specification: [[CSS3-VALUES]]
1186411867
<ul>
11868+
<!-- absolute lengths --> <li><dfn><a href=https://www.w3.org/TR/css-values-3/#absolute-lengths>absolute lengths</a></dfn>
1186511869
<!-- CSS pixels --> <li><dfn><a href=https://www.w3.org/TR/css-values-3/#px>CSS pixels</a></dfn>
1186611870
</ul>
1186711871

0 commit comments

Comments
 (0)