-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
Support media queries #494
Comments
Media queries are not supported at all for the moment, it's a good feature to have. |
Another use-case for media queries (just making my case to prioritize this issue): With |
My bad, it's not a good first issue at all:
|
I've pushed a Next steps:
|
I can't work anymore on this point for version 43, it's too long. If anyone is interested, I can help. |
We could even add a custom |
And left/right pages, and page numbers, and… |
I have the following line in a stylesheet:
When I use this with WeasyPrint I get the following warning:
From what I can tell, the
only
keyword is not being recognised, so perhaps unknown media types produce a parse error instead of a more descriptive warning andonly
is an unknown media type?only
is intended to filter out older browsers who don't support media queries but do support comma-separated media types.The text was updated successfully, but these errors were encountered: