danfickle / danfickle/openhtmltopdf
CSS property "object-fit" and "object-position" not supported, which are useful for replaced element (img, etc.) resizing and positioning
Open
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
I used "object-fit" and "object-position" in elements to resize and position images, but found they were ingored. I was trying to drag down the image in a fixed sized div (hit the bottom) while keeping the image within the div.
See logs:
15:01:40.860 WARN com.openhtmltopdf.css-parse - (/) object-fit is an unrecognized CSS property at line 0. Ignoring declaration.
15:01:40.860 WARN com.openhtmltopdf.css-parse - (/) object-position is an unrecognized CSS property at line 0. Ignoring declaration.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.