w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
351 stars 38 forks source link

`browsingContext.print`: minimum page size: round down instead of up #536

Closed thiagowfx closed 11 months ago

thiagowfx commented 11 months ago

This is a small correction of #534.

The minimum page size is (2.54 / 72) = 0.03527...

We need to round it down to 0.0352 instead of up to 0.0353 in order to make 0.03527 (1x1 point) an acceptable value.


Preview | Diff