Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

CSS parsing issue #3

Closed
stryju opened this issue Jun 23, 2014 · 4 comments
Closed

CSS parsing issue #3

stryju opened this issue Jun 23, 2014 · 4 comments

Comments

@stryju
Copy link
Contributor

stryju commented Jun 23, 2014

it seems that the used method has problems as soon as it encounter any @ rules (exmaple: @page)

a "better" way would be to inline styles, it seems - also, because styles could be inherited from other selectors, which would not be valid after "separating" the scope via image SVG

@exupero
Copy link
Owner

exupero commented Jun 24, 2014

What kind of problem are you encountering? Does it cause an error, or ignore the @page directive?

Also, if inlining styles, how would you include the @page directive?

@stryju
Copy link
Contributor Author

stryju commented Jun 24, 2014

it would crash - so a try {} catch would be in order, but that just makes it a bit... problematic

i had my take on that with inlining all styles - seems to work around this issue just fine

@exupero
Copy link
Owner

exupero commented Dec 15, 2014

What browser are you using? I haven't been able to reproduce this problem in either Firefox or Chrome.

@exupero
Copy link
Owner

exupero commented Feb 8, 2015

This problem may be fixed in newer version of the library. Closing due to inactivity.

@exupero exupero closed this as completed Feb 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants