Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce 1pt minimum size for Print page command #1842

Closed
juliandescottes opened this issue Oct 9, 2024 · 1 comment
Closed

Enforce 1pt minimum size for Print page command #1842

juliandescottes opened this issue Oct 9, 2024 · 1 comment

Comments

@juliandescottes
Copy link
Contributor

In WebDriver BiDi, the minimum width / height is currently set to 1pt (this was updated in w3c/webdriver-bidi#522)

It would make sense to do the same for WebDriver Classic, especially if we want to be able to use Classic via BiDi in the future.

Note that there is one wpt test which is currently attempting to set a 1px x 1px print size and would need to be updated to 1pt x 1pt. https://github.com/web-platform-tests/wpt/blob/12caf1f938/webdriver/tests/classic/print/background.py

@juliandescottes
Copy link
Contributor Author

Actually already filed as #1835

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant