danfickle / danfickle/openhtmltopdf

Wrong overflow direction

Open
#919 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Given this html code:

```


11111


2222222222222222

```
When using openhtmltopdf, it overflows on both left and right direction, which it shouldn't because of the float:left in the div.

openhtmltopdf sandbox
![image](https://user-images.githubusercontent.com/109503052/223927993-d132d782-8cb6-41c3-b80f-af3a7e45a611.png)

w3schools sandbox
![image](https://user-images.githubusercontent.com/109503052/223928094-215d6acb-a01d-49c3-aa37-05aad5491f90.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the supplied table and floated div markup in the openhtmltopdf sandbox, then compare its layout with the linked w3schools result. Trace the HTML/CSS layout path handling table cells, floats, and overflow; done means the example overflows only in the direction expected for float:left.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, java
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.