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

css.at-rules.page.size - Firefox and Safari don't actually support this #22946

Open
willo-icon opened this issue Apr 26, 2024 · 0 comments
Open
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@willo-icon
Copy link

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?

MDN shows that Safari and Firefox support the @page { size } rule with no caveats, but they actually don't seem to work. Here's caniuse's more accurate table:

CleanShot 2024-04-25 at 19 17 13@2x

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Either lack of support, or notes about partial support.

Did you test this? If so, how?

Tested myself in Chrome, Firefox, and Safari. Firefox shows it correctly in the PDF preview, but the PDF it saves does not have the correct page size. Safari neither previews nor saves a PDF with the correct size.

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

Here are bug trackers for support:

Caniuse page: https://caniuse.com/css-paged-media

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-04-26T00:13:12.445Z
@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Apr 26, 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

2 participants