danfickle / danfickle/openhtmltopdf
request: support for "display:contents"
Open
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
In some template languages (e.g. thymelaf) it is often convenient to introduce extra "wrapper" html elements purely for template control flow reasons, even though you have no actual use for the resulting markup in the finished html.
I wish it was possible to avoid such elements from affecting the layout at all.
The CSS feature "display:contents" is designed for precisely this (https://caniuse.com/css-display-contents)
It is not supported by the library of course - most browsers didn't get proper support until last year.
But it would be extremely useful.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.