###!!! ASSERTION: Form control has a frame, but it's not a form frame: 'Error', file nsGenericHTMLElement.cpp, line 2250 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/html/content/src/nsGenericHTMLElement.cpp&rev=1.566&root=/cvsroot&mark=2250#2224 STEPS TO REPRODUCE: 1. load testcase 2. click on <select> 3. move mouse over dropdown menu It only occurs if there is an <optgroup> present
the problem is that nsHTMLOptGroupElement::HandleDOMEvent calls GetFormControlFrame. It shouldn't be doing that. Its frame will NEVER be a form control frame -- it'll be a block. So it should just call GetPrimaryFrame(PR_FALSE). Mats, want to fix this? If not, let me know and I will...
Assignee: nobody → mats.palmgren
Created attachment 173441 [details] [diff] [review] Patch rev. 1
Comment on attachment 173441 [details] [diff] [review] Patch rev. 1 r+sr=bzbarsky
Checked in 2005-02-04 20:13 PDT -> FIXED
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.