Closed Bug 257430 Opened 21 years ago Closed 21 years ago

regression: can't click button on page

Categories

(Core :: Web Painting, defect, P2)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: csthomas, Assigned: roc)

References

()

Details

(Keywords: regression, testcase)

Attachments

(3 files)

The offical 8/24 nightly WFM, official 8/26 nightly doesn't work. 08/25 wouldn't run so I couldn't test it. I can't click any of the buttons in the second row.
The align attribute on the image inputs is involved.
Regression window: 2004-08-25-05 -- 2004-08-26-05 After backing out bug 133165 it does not occur (I got one reject I had to fix manually, so I'm only 99% sure).
OS: Windows XP → All
Attached file Testcase
Severity: normal → major
Keywords: testcase
The change to nsIFrame::FinishAndStoreOverflow is rather suspect (or rather, it's the only change that should affect anything but painting). Does reverting just that hunk (and mucking with it to get it to compile) help?
Assignee: nobody → roc
Component: Layout → Layout: View Rendering
Flags: blocking1.8a4?
QA Contact: core.layout → ian
This bug is intriguing. Giving the floated input control the focus reflows it incrementally, and that results in an incorrect computed overflow area for the block (nearly empty). I think we just revealed a bug in incremental reflow.
Attached file Some code...
FWIW, this fixes the problem in a current trunk tree. (and the focus outline is all around the image).
That shouldn't be necessary because frames are supposed to already include their bounds in the reflow state's mOverflowArea. The fact that this isn't happening is the problem...
Attached patch fixSplinter Review
Image frames need to set their overflow area to their bounds. Also adds an assertion to FinishAndStoreOverflow to catch any more violations. That caught nsTableRowFrame seeming to change a cell's width and height without adjusting its overflow area. I don't know how this can be correct, but I add a fix there to make sure the overflow area includes the new cell bounds.
Comment on attachment 157578 [details] [diff] [review] fix making sure that frames compute an overflow area that includes their bounds
Attachment #157578 - Flags: superreview?(dbaron)
Attachment #157578 - Flags: review?(dbaron)
Attachment #157578 - Flags: superreview?(dbaron)
Attachment #157578 - Flags: superreview+
Attachment #157578 - Flags: review?(dbaron)
Attachment #157578 - Flags: review+
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: blocking1.8a4?
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: