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

WeasyPrint crashes when there's a local() with a font name with a space in it and no quotes around in CSS #487

Closed
tulphoon opened this Issue Jul 20, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@tulphoon

tulphoon commented Jul 20, 2017

minimum test case:
@font-face { font-family: "Test"; src: local(Test Test) }

@liZe liZe added bug crash labels Jul 20, 2017

@liZe

This comment has been minimized.

Show comment
Hide comment
@liZe

liZe Jul 20, 2017

Member

It's also broken with local() for a slightly different reason.

Member

liZe commented Jul 20, 2017

It's also broken with local() for a slightly different reason.

liZe added a commit that referenced this issue Jul 20, 2017

@liZe liZe closed this in a9a99f6 Jul 20, 2017

@liZe

This comment has been minimized.

Show comment
Hide comment
@liZe

liZe Jul 20, 2017

Member

The first use case was broken when WeasyPrint was ported to tinycss2. The second one was broken since the beginning. Thanks for reporting!

Member

liZe commented Jul 20, 2017

The first use case was broken when WeasyPrint was ported to tinycss2. The second one was broken since the beginning. Thanks for reporting!

@liZe liZe added this to the v0.40 milestone Jul 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment