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

@page { size: A3 landscape !important; } - This doesnt seem to work on Safari, but works with Chrome and Firefox #23292

Open
ankithashetty-specbee opened this issue Jun 6, 2024 · 0 comments
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@ankithashetty-specbee
Copy link

ankithashetty-specbee commented Jun 6, 2024

What type of issue is this?

Browser bug (a bug with a feature that may impact site compatibility)

What information was incorrect, unhelpful, or incomplete?

The size is compatible with Safari

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

Added a style tag under
It works on other browser expect for chrome
<style type="text/css"> @page { size: A3 landscape !important; }</style>

Print the page, you will see a A3 page and landscape is chosen by default on Print screen for all browsers expect for Safari.

Did you test this? If so, how?

Added a style tag under
It works on other browser expect for chrome
<style type="text/css"> @page { size: A3 landscape !important; }</style>

Print the page, you will see a A3 page and landscape is chosen by default on the Print screen for all browsers expect for Safari.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size

MDN metadata

MDN page report details
  • Query: css.at-rules.page.size
  • Report started: 2024-06-06T08:04:16.344Z
@queengooborg queengooborg changed the title <style type="text/css"> @page { size: A3 landscape !important; }</style> - This doesnt seem to work on Safari, but works with Chrome and Firefox @page { size: A3 landscape !important; } - This doesnt seem to work on Safari, but works with Chrome and Firefox Jun 6, 2024
@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

No branches or pull requests

3 participants
@queengooborg @ankithashetty-specbee and others