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

min-width and max-width being ignored #26

Closed
Smylers opened this issue Dec 21, 2012 · 0 comments
Closed

min-width and max-width being ignored #26

Smylers opened this issue Dec 21, 2012 · 0 comments
Labels
bug Existing features not working as expected

Comments

@Smylers
Copy link
Contributor

Smylers commented Dec 21, 2012

min-width and max-width seem to be being ignored; the changelog says they've been supported since version 0.8.

See: http://www.stripey.com/demo/weasyprint/min_max-width.html and http://www.stripey.com/demo/weasyprint/min_max-width.pdf

The min-width should be stretching the second paragraph to be the same width as the width does one the first. And the max-width on the final paragraph should be constraining it like width does on the fourth one.

That's what happens in browsers, but in WeasyPrint (I checked with version 0.16), the min-width and max-width are having no affect.

@liZe liZe closed this as completed in d7e51a9 Dec 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant