You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm logging this issue to report what I think is a regression with newer media query css changes: @media query screen CSS seem to be ignored. This can be noticed when rendering Wikipedia's home page.
Matches printers, and devices intended to reproduce a printed display, such as a web browser showing a document in “Print Preview”.
To confirm the behavior there, if you try to print the Wikipedia home page in Chrome/Safari, the blue/green background colors disappear in the print preview. So the intent by Wikipedia is that these backgrounds are only rendered on device, but not when printing the page.
Current master branch:
Hardcoding a match for media_type_screen in media_query.cpp:
Thank you for this project!
I'm logging this issue to report what I think is a regression with newer media query css changes: @media query
screen
CSS seem to be ignored. This can be noticed when rendering Wikipedia's home page.According to the linked media queries doc,
screen
should be:And
print
is:To confirm the behavior there, if you try to print the Wikipedia home page in Chrome/Safari, the blue/green background colors disappear in the print preview. So the intent by Wikipedia is that these backgrounds are only rendered on device, but not when printing the page.
Current master branch:
Hardcoding a match for
media_type_screen
in media_query.cpp:The CSS on the wikipedia page looks like:
Can also replicate it with the following test page, which doesn't render any of the styling:
The text was updated successfully, but these errors were encountered: