New issue
Advanced search Search tips

Issue 884181 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

1px line added to <th> and <td> when combined with margin: auto and width

Reported by j...@dlx.dk, Sep 14

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Use background gradient or background-image on th/td, combined with table width and margin: auto
2. When browser window has an uneven width (fx. 1019px width), a 1px line appears between cells
3. When browser window has an even width (fx. 1010px width) no line appears (as expected)
4. No issue when using background-color

Sample code:
https://jsfiddle.net/huew1k32/

What is the expected behavior?

What went wrong?
1px line added when changing browser width

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 69.0.3497.92  Channel: stable
OS Version: 10.0
Flash Version:
 
Components: Blink>Layout>Table
Labels: Needs-Triage-M69
Status: Available (was: Unconfirmed)

Sign in to add a comment