Clarify empty page vs empty content for "browsingContext.print" command #797
Labels
module-browsingContext
Browsing Context module
needs-discussion
Issues to be discussed by the working group
At the moment the
browsingContext.print
command has to raise ainvalid argument
error if the page dimensions are lower than 0.0352 in (2.54 / 72). This is fine, but we have tests under web-platform which assume the same behavior when the actual content area is below that threshold. In that specific case the margin is set to the page height, width or both.Test results can be seen at wpt.fyi.
Even through the content area is empty it doesn't affect the page size. And as such we basically should not raise an
invalid argument
error. This is probably an oversight when we landed those tests, and needs to be clarified by Google folks.@OrKoN can you please have a look? Thanks
CC @jgraham @juliandescottes @lutien @gsnedders
The text was updated successfully, but these errors were encountered: