-
Notifications
You must be signed in to change notification settings - Fork 364
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
Add support for max-width and max-height properties on img elements #48
Conversation
Perfect! Thanks @achuinard Merging now. |
Thanks. I thought that the best place to put this might have been in On Nov 1, 2016 8:21 PM, "danfickle" notifications@github.com wrote:
|
Images are rendered as special replaced elements (like form controls). I think this was how it was specified in an old HTML standard. We might have to revisit this if we want to apply other CSS on the img element such as transform. |
Sounds good. How does the release cycle work? Will RC8 be pushed to the repository? |
I'd prefer to not make a release so soon after the last. <div style="max-width: 80px;">
<img src="image.png" alt="title" style="width: 100%;"/>
</div> |
Can you release the new version to Maven? |
Hi @achuinard |
I can wait til end of week at latest. On Nov 19, 2016 9:23 PM, "danfickle" notifications@github.com wrote:
|
This commit should allow PDF rendering to support max-width and max-height properties on img elements.