New issue
Advanced search Search tips

Issue 670174 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 2902
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Table rows containing table cells with colspan display border-style dotted incorrectly

Reported by brkj...@gmail.com, Dec 1 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36

Steps to reproduce the problem:
1. Create a 3-rowed table with 4 columns, such as:
<table>
  <tr>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td colspan="3"></td>
    <td></td>
  </tr>
  <tr>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</table>

2. add CSS as:
tr {
  border-top: 1px dotted red;
}
td {
  padding: 10px;
}

What is the expected behavior?
A uniform dotted red border is displayed above each table row.

What went wrong?
A solid or non-uniform border is displayed.

Did this work before? N/A 

Chrome version: 54.0.2840.98  Channel: stable
OS Version: OS X 10.12.0
Flash Version: Shockwave Flash 23.0 r0

Change the border-width to something larger than 1px to show off better exactly what is happening. The border isn't actually solid, it's just not anti-aliased so it appears to be.
 

Comment 1 by brkj...@gmail.com, Dec 1 2016

A demonstration of the effect here:
http://codepen.io/brookjordan/pen/zoPgjP
Screen Shot 2016-12-01 at 2.02.28 PM.png
7.3 KB View Download
Components: -UI Blink
Labels: M-54 Needs-Triage-M54
Labels: -M-54 M-57 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on MAC 10.11.6, Windows 10 and Ubuntu 14.04 using chrome reported version #54.0.2840.98 and latest canary #57.0.2938.0.

This is a non regression issue as it is observed from M30 old builds.

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Components: -Blink Blink>Layout>Table
I *think* it's layout, but it could be paint also.
Components: -Blink>Layout>Table Blink>Layout

Comment 6 by e...@chromium.org, Dec 5 2016

Cc: atotic@chromium.org dgro...@chromium.org
Components: -Blink>Layout Blink>Layout>Table
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Mergedinto: 2902
Status: Duplicate (was: Available)
This is dup of #2902. We paint table borders twice (each cell paints all its borders). With dotted borders, the dashes painted by colspan=3 cell's border do not match dashes painted by colspan=1 cell's border. You'll clearly see the effect if you change border color to rgba(255,0,0, 0.2);

Sign in to add a comment