Unnecessary paint of image with a:hover style

NEW
Assigned to

Status

()

Core
Layout: View Rendering
14 years ago
8 years ago

People

(Reporter: tor, Assigned: dbaron)

Tracking

({testcase})

Trunk
x86
Linux
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

205 bytes, text/html
Details
(Reporter)

Description

14 years ago
If paint flashing is turned on, you can see that on many sites we're repainting
images if the mouse is hovered over them.  The attached example is a simplified
example of what's happening - the a:hover causes a paint to occur when the image
gets hover (also happens if <a ...> is removed and the rule is set on img:hover).
(Reporter)

Comment 1

14 years ago
Created attachment 132537 [details]
testcase
(Assignee)

Comment 2

14 years ago
Strongly inclined to wontfix.

Our current optimization for handling style changes classifies them by the type
of damage they can cause -- a 'color' change leads to a repaint hint, which
invalidates the frames in question.  More detailed optimization would be quite
messy.  I think our current optimization is good enough.

Updated

14 years ago
Keywords: testcase
QA Contact: ian → layout.view-rendering
You need to log in before you can comment on or make changes to this bug.