danfickle / danfickle/openhtmltopdf
-fs-table-paginate: paginate or running elements missing background-color on second page
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hello, currently I used openhtmltopdf with a simple html
```
// Page Breaking Body
```
however on the second page the background is not colorized. But other css properties like font-size font-weight are correctly applied. it might be noted that I apply the css via:
```
.ba-head-title table tr.green td {
background: #4ce10b;
}
```
The same applies to running elements.
Also when I use the above on the second page the margin between the header and the body diverge. So they are not equal
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported HTML table with a thead, a page-breaking tbody, and the .ba-head-title table tr.green td background rule; compare the first and second pages, including the header/body margin. Done means the background is retained for paginated and running elements and the margins remain equal, while the existing font-size and font-weight behavior stays intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, java
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100