Commit Graph
657 Commits
Author SHA1 Message Date
[email protected] 483c6c496c Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz 2003-07-09 06:36:33 +00:00
[email protected] 506ca007f3 Ongoing deCOMtamination. r+sr=dbaron 2003-07-04 12:50:32 +00:00
[email protected] 384f320c3a DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] 0be0aa3679 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to [email protected] (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
[email protected] f98e358469 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
[email protected] bcb986c88e Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
[email protected] 4486f8d13d Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
[email protected] 7143d14503 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
[email protected] 92a3737c5c Bug 106386 rid source of misspellings
patch by [email protected] r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
[email protected] 19eddc8944 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<[email protected]>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
[email protected] 34b9ce0e96 Make .selectedIndex = -1 clear select (bug 195773), [email protected], [email protected] 2003-03-14 06:18:20 +00:00
[email protected] f6e4eba6c1 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] 1c37d177d4 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
[email protected] 10ab824360 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
[email protected] 4abefda8a3 Make GetType() return int instead of nsresult (bug 167762), [email protected], [email protected] 2002-12-18 23:38:09 +00:00
[email protected] 72f2298b73 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
[email protected] 62e3a2ae2b Fix regression bug 179896; need to use the cached ascent in this case
too.  r=jkeiser, sr=roc+moz
2002-11-13 22:34:09 +00:00
[email protected] f8f860f5d7 Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
[email protected] b1219d58a0 prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
[email protected] 212a9898a8 Bug 177965 Wrong option selected in select field when pressing first key
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
[email protected] 32ea9d81ad no longer cache the scrollbar width that is used to also calculate the btn width.
Bug 167032 r=jkeiser sr=alecf
2002-10-01 14:24:15 +00:00
[email protected] d033b574fe Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
[email protected] 928ef2d8bc clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst
2002-08-06 23:50:08 +00:00
[email protected] eab2aed020 Make select clear when last option is removed from it (bug 154410), [email protected], [email protected], a=asa 2002-07-18 00:58:31 +00:00
[email protected] 9333183dd9 Make enter fire onChange for non-dropped-down select. bug 150759, [email protected], [email protected] 2002-06-14 06:50:22 +00:00
[email protected] 1672ad6e7e Remove nsFormFrame forever. bug 125578, [email protected], [email protected] 2002-06-04 00:44:04 +00:00
[email protected] 7ce5d8ded3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
[email protected] 961a0a782f temporary patch to the forms controls to ignore mouse events when in
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
2002-05-23 11:25:58 +00:00
[email protected] 78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. [email protected], [email protected] 2002-05-23 00:00:34 +00:00
[email protected] a7380946d3 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
[email protected] 6ba469e085 Make dropdowns paint over the background beneath them (bug 95826). [email protected], [email protected], a=asa 2002-04-05 04:29:05 +00:00
[email protected] d1856f6f91 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
[email protected] e4395c199e Move save/restore form control state to content (bug 108309). [email protected], [email protected], [email protected] 2002-03-31 10:14:01 +00:00
[email protected] 87b93658ee Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
[email protected] 53689ad5e3 Move save/restore of form controls to content (bug 108309) ([email protected], [email protected], [email protected]) 2002-03-29 05:35:47 +00:00
[email protected] 49ccb8e11d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
[email protected] a2b587a53f Tabbing out of dropdown does not reset selected item (bug 100188), [email protected], [email protected] 2002-02-20 05:59:46 +00:00
[email protected] 77be680a5e Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt 2002-02-16 01:35:09 +00:00
[email protected] bb54c62c44 Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi
2002-02-12 15:24:37 +00:00
[email protected] 898c229bee Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi
2002-02-12 13:35:59 +00:00
[email protected] 2efb314fc7 bug 110800 - fire onChange when losing dropdown focus. [email protected], [email protected] 2002-02-08 18:35:48 +00:00
[email protected] a505104f40 Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 23:35:44 +00:00
[email protected] 80ca5f2889 Backing out bug 112241 changes, tree is closed, sorry 2002-01-25 19:54:55 +00:00
[email protected] 0827e06333 Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 19:08:03 +00:00
[email protected] e537522240 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson 2002-01-11 20:10:46 +00:00
[email protected] e110fdc322 Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf
2002-01-11 19:39:51 +00:00
[email protected] 46f35ee536 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd 2002-01-09 19:17:46 +00:00
[email protected] d2f657a133 remove unused const kMozDropdownActive saving 25 bytes (bug 117927; rs=glazou) 2002-01-09 15:40:44 +00:00