danfickle / danfickle/openhtmltopdf
Table with border-color used in conjunction with border="1", only outer border gets that color
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
You can try this in the [sandbox](https://sandbox.openhtmltopdf.com/) :
```
table {
border-collapse: collapse;
border-color: red;
}
A1A2
A1A2
```
This is the result :

Whereas in the browser, you get :

An obvious fix is to apply that styling to each cell, but it would be nice if the framework handled it. Additionally, it's harder to fix it for a variety of edge cases where the table's rows and cells have custom border styles as well, e.g. :
```
table {
border-collapse: collapse;
}
Column 1
Column 2
Column 3
Column 4
1
2
3
4
5
6
7
8
9
10
11
12
```
Gives this in the browser and in the sandbox, respectively :


Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.