Skip to content

Commit

Permalink
Fix missing minimum print size in Print page command
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed Oct 9, 2024
1 parent 91b29b2 commit f8760bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11253,9 +11253,12 @@ <h3><dfn>Print Page</dfn></h3>
default of <code>27.94</code> from <var>page</var>.

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

<p class=note>The minimum page size is <code>1</code> point, which is
<code>(2.54 / 72)</code> as per <a>absolute lengths</a>.

<li><p>Let <var>margin</var> be the result of <a>getting a property
with default</a> named "<code>margin</code>" and with a default of an
empty <a>Object</a> from <var>parameters</var>.
Expand Down Expand Up @@ -11862,6 +11865,7 @@ <h2>Index</h2>
<dd>The following terms are defined in
the CSS Values and Units Module Level 3 specification: [[CSS3-VALUES]]
<ul>
<!-- absolute lengths --> <li><dfn><a href=https://www.w3.org/TR/css-values-3/#absolute-lengths>absolute lengths</a></dfn>
<!-- CSS pixels --> <li><dfn><a href=https://www.w3.org/TR/css-values-3/#px>CSS pixels</a></dfn>
</ul>

Expand Down

0 comments on commit f8760bb

Please sign in to comment.