Closed Bug 287592 Opened 15 years ago Closed 15 years ago

Painting artifact with this button testcase

Categories

(Core :: Layout, defect, minor)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: roc)

Details

(Keywords: testcase)

Attachments

(2 files)

This is a follow-up from bug 280191.
I'll attach a simplified testcase.
I heard that a certain Robert O'Callahan volunteered to fix this ;)
Attached file Testcase
With this testcase, I'm not able to click on the bottom and the very right part
of the button. Also, those parts of the button don't seem to get painted
correctly, when clicking on the button.
-moz-outline doesn't seem to work in Mozilla1.7, so I don't think this is some
kind of a regression.
Summary: Painting artefact with this button testcase → Painting artifact with this button testcase
Attached patch fixSplinter Review
Real simple stuff. The nsHTMLButtonControlFrame just needs to ensure that its
overflow rect is assigned to the nsHTMLReflowMetrics as well as stored in the
property. nsFormControlFrame has the same problem.
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #179098 - Flags: superreview?(dbaron)
Attachment #179098 - Flags: review?(dbaron)
Attachment #179098 - Flags: superreview?(dbaron)
Attachment #179098 - Flags: superreview+
Attachment #179098 - Flags: review?(dbaron)
Attachment #179098 - Flags: review+
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050330
Firefox/1.0+ 22:37PST (patch included)

WFM now
oops, forgot to mark FIXED.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.