Closed
Bug 324836
Opened 19 years ago
Closed 19 years ago
Listboxes are broken because they're not treated as pseudo-stacking-contexts
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file)
2.35 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
My patch in bug 317375 broke listboxes because they're not being treated as pseudo-stacking-contexts as intended. Options don't receive events because their backgrounds are placed under the <select> background.
Comment 1•19 years ago
|
||
*** Bug 324834 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 2•19 years ago
|
||
I'm not aware of any internal API we have to say "this frame acts like a block internally". IsContainingBlock is close, but it doesn't include scrollframes or frames derived from scrollframes. In the absence of such an API (IsFrameOfType?) I'm going to have to hack it ... e.g., setting IsContainingBlock() for scrollframes is too risky for a quick fix, I've really tried hard not to disturb layout behaviour. I don't think you can have inline regular scrollframes currently, so I'm not testing for those. We'll need it for overflow:auto inline-blocks but hopefully this will be replaced with a real API by then.
Attachment #209738 -
Flags: superreview?(dbaron)
Attachment #209738 -
Flags: review?(dbaron)
Assignee | ||
Comment 3•19 years ago
|
||
*** Bug 324812 has been marked as a duplicate of this bug. ***
Attachment #209738 -
Flags: superreview?(dbaron)
Attachment #209738 -
Flags: superreview+
Attachment #209738 -
Flags: review?(dbaron)
Attachment #209738 -
Flags: review+
Comment 4•19 years ago
|
||
*** Bug 324806 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 5•19 years ago
|
||
fix checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060126 Firefox/1.6a1 ID:2006012613 verified on windows
Comment 7•19 years ago
|
||
/layout/generic/nsIFrame.h, line 1147 -- virtual PRBool IsFrameOfType(PRUint32 aFlags) const does that comment need an update? :)
Assignee | ||
Comment 8•19 years ago
|
||
Not sure what you mean.
Comment 9•19 years ago
|
||
*** Bug 324908 has been marked as a duplicate of this bug. ***
Comment 10•19 years ago
|
||
*** Bug 324932 has been marked as a duplicate of this bug. ***
Comment 11•19 years ago
|
||
your comment in the patch says that IsFrameOfType would be nice, I'm saying it exists.
Assignee | ||
Comment 12•19 years ago
|
||
It's not really implemented yet.
You need to log in
before you can comment on or make changes to this bug.
Description
•