Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89067 18797224-902f-48f8-a5cc-f745e15eee43
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes
First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
r=rods@netscape.coma=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
git-svn-id: svn://10.0.0.236/trunk@81018 18797224-902f-48f8-a5cc-f745e15eee43
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
git-svn-id: svn://10.0.0.236/trunk@77475 18797224-902f-48f8-a5cc-f745e15eee43
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77201 18797224-902f-48f8-a5cc-f745e15eee43
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76583 18797224-902f-48f8-a5cc-f745e15eee43
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76280 18797224-902f-48f8-a5cc-f745e15eee43
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@73804 18797224-902f-48f8-a5cc-f745e15eee43
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@72306 18797224-902f-48f8-a5cc-f745e15eee43
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@70611 18797224-902f-48f8-a5cc-f745e15eee43
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
git-svn-id: svn://10.0.0.236/trunk@69210 18797224-902f-48f8-a5cc-f745e15eee43
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440
git-svn-id: svn://10.0.0.236/trunk@66772 18797224-902f-48f8-a5cc-f745e15eee43
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43