Open Bug 221047 Opened 22 years ago Updated 3 years ago

Unnecessary paint of image with a:hover style

Categories

(Core :: Web Painting, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: tor, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

205 bytes, text/html
Details
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).
Attached file testcase
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.
Keywords: testcase
QA Contact: ian → layout.view-rendering
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: