Closed
Bug 136441
Opened 23 years ago
Closed 23 years ago
<select> dropdowns messed up if they are in an iframe and the dropdown is longer than the iframe's height
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: doronr, Assigned: roc)
References
()
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
125 bytes,
text/html
|
Details | |
199 bytes,
text/html
|
Details | |
1.75 KB,
patch
|
kmcclusk
:
review+
waterson
:
superreview+
jesup
:
approval+
|
Details | Diff | Splinter Review |
See the top right dropdown at http://www.sueddeutsche.de. The part of the
dropdown below the iframe height (see http://www.sueddeutsche.de/sz/head.php for
the iframe's src) is rendered as a brown box.
Also seeing with XBL form controls on.
Not that this will help, but this happens at a top 100 .de Evangelism site
(bugscape 13585)
![]() |
||
Comment 1•23 years ago
|
||
Doron saw this on WinXP, I'm seeing this on Linux.
It looks like the dropdown popup's contents are simply not painted if they're
outside the <iframe> borders. The shown items are clickable and working, the not
painted part is also not reacting to any mouse clicks. Using arrow keys on the
keyboard, you can navigate through the popup's contents, though (still not painted).
Interestingly, it works fine if I show the document (head.php) in a new window
(no iframe) and resize the moz window so that the dropdown goes outside the
window. It's painted fine then, and working.
Keywords: mozilla1.0
Reporter | ||
Comment 2•23 years ago
|
||
btw, this works in Netscape 6.2.2, so a regression.
Updated•23 years ago
|
QA Contact: madhur → tpreston
Comment 3•23 years ago
|
||
This also happens on www.teletrade.se (when logged in), a Swedish online broker.
RC1-build, WinNT and Win98. It is possible to select values in the dropdown by
using the arrow-keys, but it's very ugly.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 6•23 years ago
|
||
Roc, this seems suspiciously like a bug in the new view manager.
Assignee | ||
Comment 7•23 years ago
|
||
Yes, it does sound like a view manager problem. I'll steal it for now.
Assignee: jkeiser → roc+moz
Status: ASSIGNED → NEW
Comment 8•23 years ago
|
||
*** Bug 146393 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 9•23 years ago
|
||
Assignee | ||
Comment 10•23 years ago
|
||
The problem seems to be with an IFRAME that is clipped; the clipping is being
applied to the popup.
Assignee | ||
Comment 11•23 years ago
|
||
Here's the fix. This patch does two things:
1) Removes GetFloating from the public nsIView interface and deXPCOMifies it
2) Makes a simple, small behavior change in nsView::GetClippedRect to fix this
bug: as we go up the view tree searching for clippers, stop if we transition
out of a floating view to a non-floating parent.
Assignee | ||
Comment 12•23 years ago
|
||
Need r/sr from kmcclusk+waterson
Reporter | ||
Comment 13•23 years ago
|
||
since this breaks a top german site, how would you feel with this landing for
1.0.1 regarding any possible regressions?
Assignee | ||
Comment 14•23 years ago
|
||
I'd be comfortable with that.
Reporter | ||
Comment 15•23 years ago
|
||
Nominating for nsbeta1, since it breaks a german top newspaper site (see
http://bugscape.mcom.com/show_bug.cgi?id=13585). Iframes are pretty popular in
europe and especially so in Asia...
Keywords: nsbeta1
Assignee | ||
Comment 16•23 years ago
|
||
Let me give you a minimal patch suitable for the branch (i.e., without the cleanup).
Assignee | ||
Comment 17•23 years ago
|
||
Here you go. We should try to get this into trunk and branch.
Attachment #85036 -
Attachment is obsolete: true
Comment 18•23 years ago
|
||
Comment on attachment 85238 [details] [diff] [review]
Minimal patch
sr=waterson
Attachment #85238 -
Flags: superreview+
Comment 19•23 years ago
|
||
Attachment #85238 -
Flags: review+
Reporter | ||
Comment 20•23 years ago
|
||
nominating for 1.0.1 as well. Do you want to email drivers or should I?
Keywords: mozilla1.0.1
Assignee | ||
Comment 21•23 years ago
|
||
Let me check into the trunk first (should happen tonight or tomorrow). Once
that's done and it's baked for a few days, you can email drivers (I always hate
mailing drivers since I am one :-).)
Assignee | ||
Comment 22•23 years ago
|
||
Fix checked in on trunk.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 23•23 years ago
|
||
Note that if this is checked into the branch then you should also check in the
fix for bug http://bugzilla.mozilla.org/show_bug.cgi?id=148350, a compiler
optimization bug.
Comment 24•23 years ago
|
||
Comment on attachment 85238 [details] [diff] [review]
Minimal patch
please check into the 1.0.1 branch ASAP. once landed remove the
mozilla1.0.1+ keyword and add the fixed1.0.1 keyword
Attachment #85238 -
Flags: approval+
Comment 25•23 years ago
|
||
Please make sure the patch for bug 148350 gets checked in with this
Keywords: mozilla1.0.1 → mozilla1.0.1+
Target Milestone: --- → mozilla1.0.1
Comment 26•23 years ago
|
||
*** Bug 150505 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 27•23 years ago
|
||
Here is a combinded patch for this and the dependant compile bug that applies
and builds on the branch:
http://nexgenmedia.net/finalroc.txt (has roc's approval)
Now someone with cvs access needs to check it in :)
Updated•23 years ago
|
Whiteboard: [adt2 RTM] [ETA 06/27]
Comment 28•23 years ago
|
||
This is indeed fixed on win xp branch build 2002062708 and mac OS X branch build
2002062705 BUT is not fixed linux branch build 2002062606, removing fixed1.0.1
keyword and changing os to linux
Keywords: fixed1.0.1
OS: All → Linux
Comment 29•23 years ago
|
||
Verified fixed win XP trunk build 2002062713, Mac OS Trunk build 2002062712 and
linux trunk build 2002062713, so marking verified (only open issue in this bug
then is linux branch)
Status: RESOLVED → VERIFIED
Keywords: fixed1.0.1
Comment 30•23 years ago
|
||
Verified linux branch build 2002082207
Keywords: fixed1.0.1 → verified1.0.1
Comment 31•23 years ago
|
||
*** Bug 143337 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•