New issue
Advanced search Search tips

Issue 594782 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Table colgroup, colspan and background-image cause continuous repaint

Project Member Reported by atotic@chromium.org, Mar 14 2016

Issue description

<b>Version: <Kenneth, what is the frequency?></b>
<b>OS: <please tell me it's not XP></b>

What steps will reproduce the problem?
(1) go to https://jsbin.com/jagigoniso/edit?html,output
(2) turn on "Enable Paint Flashing" in devtools
(3) watch table get painted over and over forever

What is the expected output? What do you see instead?

Table should only be painted once.

I've done some investigating. For the bug to occur, you need:
<colgroup span=2> with a background-image with size 100%
<td colspan=2>

My guess is that interaction between image loading code, and size computation of colgroup causes some repaint flag to be set.


 

Comment 1 by atotic@chromium.org, Mar 14 2016

Added a test case
tablerepaintbug.html
610 bytes View Download
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
I'm looking at all things background-image right now, and I'll see what I can find.

Comment 3 by e...@chromium.org, Feb 9 2017

I don't suppose you ever got to the bottom of this schenney?
Components: -Blink>Layout>Table Blink>Paint>Invalidation
Status: WontFix (was: Assigned)
It went into my backlog. It's an invalidation bug if we keep repainting it for no reason.

But now it seems to be fixed in 57.0.2987.21 beta linux, so marking WontFix.

Sign in to add a comment