New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 757457 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-08-28
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Borders of wide table is not rendered

Reported by shiba200...@gmail.com, Aug 21 2017

Issue description

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

Example URL:

Steps to reproduce the problem:
Render HTML below

```
<!doctype html>
<title></title>
<style>
table {
    border-collapse: collapse;
    width: 10000px;
}
td {
    border: 10px solid black;
    background:red;
    height: 10px;
}
</style>
<table><tr>
    <td></td><td></td><td></td><td></td>
    <td></td><td></td><td></td><td></td>
    <td></td><td></td><td></td><td></td>
    <td></td><td></td><td></td><td></td>
</tr></table>
```

What is the expected behavior?
All table cells should have borders.

What went wrong?
Borders of some cells are not rendered.
In 1000x80 screen size, only 9 (of 16) cells are rendered correctly.

https://gyazo.com/743a72777f91bf28f10b0f6827b98eb1

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: 62.0.3188.4  Channel: dev
OS Version: 10.0
Flash Version: 

Borders seem to be rendered correctly in <iframe> (so I could not use jsfiddle to reproduce this problem)
 

Comment 1 by ajha@chromium.org, Aug 22 2017

Cc: ajha@chromium.org
Components: Blink>Paint
Labels: -Pri-2 -Type-Compat hasbisect-per-revision ReleaseBlock-Stable M-61 Needs-Triage-M62 OS-Linux OS-Mac Pri-1 Type-Bug-Regression
Owner: wangxianzhu@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on the latest canary(62.0.3193.0) on Windows-10, Mac OS 10.12.5 and Linux Ubuntu 14.04.

This is a regression issue regressed in M-61.

Last good build: 61.0.3141.0
First bad build: 61.0.3142.0

Changelog:
==========
https://chromium.googlesource.com/chromium/src/+log/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c..94e1d1e92fa1d4734de08210747d36126ce235aa

wangxianzhu@: Could you please take a look at this.

Thank you! 

Comment 2 by ajha@chromium.org, Aug 22 2017

Test file attached.
757457.html
419 bytes View Download
Labels: -Needs-Triage-M62 BugSource-User PaintTeamTriaged-20170822

Comment 4 by gov...@chromium.org, Aug 22 2017

URGENT - PTAL.
M61 Stable promotion is coming soon and your bug is labelled as Stable ReleaseBlock, pls make sure to land the fix and get it merged into the release branch ASAP. 

Know that this issue shouldn't block the release?  Remove the ReleaseBlock-Stable label or move to M62. Thank you!

Note: We will only have 2 beta releases before Stable promotion. Plan is to cut M61 Stable RC on 08/31/17. 

Fix is here: https://chromium-review.googlesource.com/627177. Will land and merge it soon.
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/70176d2a327c7442145350d32eaab4277e98e4fd

commit 70176d2a327c7442145350d32eaab4277e98e4fd
Author: Xianzhu Wang <wangxianzhu@chromium.org>
Date: Wed Aug 23 17:42:54 2017

Repaint partially painted table row collapsed borders when cull rect changes

We had a mechanism to repaint a large display item clipped by
paint cull rect when cull rect changes, and used that mechanism for
table section/row backgrounds.

Now also use the mechanism for collapsed borders which are painted
by table rows.

BUG= 757457 

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I641e82eec9aae477498e8daf1a5944b9d3f43201
Reviewed-on: https://chromium-review.googlesource.com/627177
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496727}
[add] https://crrev.com/70176d2a327c7442145350d32eaab4277e98e4fd/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll-collapsed-borders-expected.html
[add] https://crrev.com/70176d2a327c7442145350d32eaab4277e98e4fd/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll-collapsed-borders.html
[modify] https://crrev.com/70176d2a327c7442145350d32eaab4277e98e4fd/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
[modify] https://crrev.com/70176d2a327c7442145350d32eaab4277e98e4fd/third_party/WebKit/Source/core/paint/TableRowPainter.h

Labels: Merge-Request-61
Project Member

Comment 8 by sheriffbot@chromium.org, Aug 23 2017

Labels: -Merge-Request-61 Merge-Review-61 Hotlist-Merge-Review
This bug requires manual review: We are only 12 days from stable.
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), ketakid@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by gov...@chromium.org, Aug 24 2017

Before we approve merge to M61, please answer followings:
* Is the change well baked/verified in Canary, having enough automation tests coverage and safe to merge to M61?  (CL at #6 landed 8 hrs back so not in canary yet)
* Any other important details to justify the merge.

Please note We're only 12 days away from M61 Stable promotion, so merge bar is VERY high.

Answers to the questions:

- I will wait for another 1 to 2 days for the change to be well baked/verified before merge.

- The change let collapsed borders use the same mechanism that has been used for backgrounds since r461907 (5 months ago), so it's safe.

- We should merge the change because it fixes a rendering regression of wide tables in M61.

NextAction: 2017-08-28
Thank you wangxianzhu@. 
Please update the bug with Canary result on Monday (08/28).
Cc: ranjitkan@chromium.org
Labels: TE-Verified-M62 TE-Verified-62.0.3196.0
Rechecked this issue on Chrome version 62.0.3196.0 on Windows 10, Mac 10.12.6, Ubuntu 14.04. Fix is working as intended. Adding TE-Verified labels for M62.

Thanks.!
Labels: Hotlist-Interop
The NextAction date has arrived: 2017-08-28
wangxianzhu@, how is the change looking so far in Canary?
It looks good in Canary.
Labels: -Merge-Review-61 Merge-Approved-61
Approving merge to M61 branch 3163 based on comments #10, #12 and #16. Please merge ASAP. Thank you.
Status: Fixed (was: Assigned)
Project Member

Comment 19 by bugdroid1@chromium.org, Aug 28 2017

Labels: -merge-approved-61 merge-merged-3163
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/816668a9652ce7ccc1ed81abc7a8644455834e33

commit 816668a9652ce7ccc1ed81abc7a8644455834e33
Author: Xianzhu Wang <wangxianzhu@chromium.org>
Date: Mon Aug 28 16:57:28 2017

Repaint partially painted table row collapsed borders when cull rect changes

We had a mechanism to repaint a large display item clipped by
paint cull rect when cull rect changes, and used that mechanism for
table section/row backgrounds.

Now also use the mechanism for collapsed borders which are painted
by table rows.

BUG= 757457 
TBR=wangxianzhu@chromium.org

(cherry picked from commit 70176d2a327c7442145350d32eaab4277e98e4fd)

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I641e82eec9aae477498e8daf1a5944b9d3f43201
Reviewed-on: https://chromium-review.googlesource.com/627177
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#496727}
Reviewed-on: https://chromium-review.googlesource.com/638558
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/branch-heads/3163@{#928}
Cr-Branched-From: ff259bab28b35d242e10186cd63af7ed404fae0d-refs/heads/master@{#488528}
[add] https://crrev.com/816668a9652ce7ccc1ed81abc7a8644455834e33/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll-collapsed-borders-expected.html
[add] https://crrev.com/816668a9652ce7ccc1ed81abc7a8644455834e33/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll-collapsed-borders.html
[modify] https://crrev.com/816668a9652ce7ccc1ed81abc7a8644455834e33/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
[modify] https://crrev.com/816668a9652ce7ccc1ed81abc7a8644455834e33/third_party/WebKit/Source/core/paint/TableRowPainter.h

Sign in to add a comment