See upcoming testcase, I should be able to click on the button and when hovering over the button, it should turn green. This regressed between 2006-02-19 and 2006-02-21. I think it's a regression from bug 326827, because it only happens with buttons (I tested with other elements, they work fine).
What's happening here is that we're putting the inline-box's background into the Content display list (where all inline backgrounds go). Then we're putting the regular box and block children's backgrounds into the BlockBorderBackgrounds() list. But Content() comes after BlockBorderBackgrounds() so the DIV ends up catching the events. Basically, what should happen here is that an inline-level box should pass DISPLAY_CHILD_INLINE when it calls BuildDisplayListForChild.
No, actually what we want to do is to treat inline-box like inline-block and other inline things that contain block-level content.
Comment on attachment 220086 [details] [diff] [review] fix r+sr=dbaron; sorry for the delay
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
13 years ago
Depends on: 341001
Verified FIXED using https://bugzilla.mozilla.org/attachment.cgi?id=216110&action=view as the testcase with build 2006-06-09-18 of SeaMonkey trunk under Windows XP.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.