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

Issue with tinycss2==1.1.0 #1299

Closed
ildarworld opened this issue Feb 21, 2021 · 1 comment
Closed

Issue with tinycss2==1.1.0 #1299

ildarworld opened this issue Feb 21, 2021 · 1 comment
Milestone

Comments

@ildarworld
Copy link

Good day,

I have a found a bug related to version of tinycss2=1.1.0 in weasyprint 52.2.

I have css file which contains reference to another, so css file which I use during write_pdf() looks like:

@import url("main.css");

and in Weasyprint with tinycss2==1.1.0 don't load data from "main.css", at the same time with timycss2==1.0.2 it is working fine.

@liZe liZe closed this as completed in a156a26 Feb 21, 2021
liZe added a commit that referenced this issue Feb 21, 2021
@liZe
Copy link
Member

liZe commented Feb 21, 2021

Thanks a lot for the report!

The bug has been introduced by the change described in Kozea/tinycss2#33. It had been changed everywhere else (we hope), but not there!

It’s been fixed in master, and backported to 52.x.

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

No branches or pull requests

2 participants