Add support for max-width and max-height properties on img elements#48
Add support for max-width and max-height properties on img elements#48danfickle merged 3 commits intodanfickle:open-dev-v1from
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" [email protected] 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" [email protected] wrote:
|
update Getting Started section
This commit should allow PDF rendering to support max-width and max-height properties on img elements.