Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Support matching CssPageRules #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zspitzer
Copy link
Contributor

extend the @media (type 4) support to also handle @page (type 6)

extend the @media (type 4) support to also handle @page (type 6)
@zspitzer
Copy link
Contributor Author

zspitzer commented Aug 15, 2016

this works in chrome for updating such rules, but setProperty on CssPageRules doesn't seem to work in FF or Edge.

If I enable css warnings in FF, I'm seeing Unknown property 'size'. Declaration dropped. for @page {size: a4 landscape;}

@zspitzer
Copy link
Contributor Author

Turns out size isn't supported yet in Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=851937

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

Successfully merging this pull request may close these issues.

None yet

1 participant