Граф коммитов

1031 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 8254c89ed8 Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky 2003-01-10 00:30:50 +00:00
dbaron%dbaron.org a5fcfea19e 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
bryner%netscape.com 26d5c6ff25 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
kin%netscape.com 9ffe4fead1 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org 1419b5fd03 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
kairo%kairo.at a7555a91fe change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard 2003-01-03 19:57:47 +00:00
jkeiser%netscape.com 86b726b9b0 Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-12-20 05:40:37 +00:00
jkeiser%netscape.com 714a7d8f7b Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-20 05:32:27 +00:00
jkeiser%netscape.com 6c504f96e1 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
nhotta%netscape.com 4b5796a347 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com 96710d95e4 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-17 00:56:01 +00:00
jkeiser%netscape.com 43f6825740 Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 23:49:16 +00:00
dbaron%fas.harvard.edu 2c8a506a47 Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777 2002-12-11 04:00:18 +00:00
kyle.yuan%sun.com eca18a3c06 Bug 159947 no way to multiselect using keyboard in list box
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE
2002-12-11 03:24:27 +00:00
jkeiser%netscape.com 928715aac0 Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock. 2002-12-09 06:15:33 +00:00
jkeiser%netscape.com 58e0c572a2 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 05:56:58 +00:00
karnaze%netscape.com 155780adb3 bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
jkeiser%netscape.com d42ae22cd1 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com 2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu 402668cf1c Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky 2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu 656772f1ec <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron 2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu b2f992acb9 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
bzbarsky%mit.edu bdc9d8929a Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu 394be78734 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
bzbarsky%mit.edu 8eba2cda2b Not sure why this didn't get properly checked in with the rest... Bug
167236, r=jkeiser, sr=roc+moz, moa=rods
2002-11-13 07:50:34 +00:00
cmanske%netscape.com ca1d8bc561 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu 20bae565b3 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
bryner%netscape.com 7b5407b246 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
alecf%netscape.com 0e8921e8a7 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
kyle.yuan%sun.com 8ef3978344 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
kairo%kairo.at 0978ac7de5 Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard 2002-10-30 12:41:38 +00:00
kyle.yuan%sun.com 4b771bf3be Bug 119696 Many keyboard shortcuts don't work when focus is on a <select> (listbox or drop-down)
r=jkeiser, sr=bzbarsky, a=roc+moz
Thanks for Simford.Dong@sun.com's fix
2002-10-30 01:05:43 +00:00
aaronl%netscape.com 1ca819e5c7 Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron 2002-10-25 02:53:45 +00:00
kin%netscape.com 5c4bcd6ef5 Temporarily disable attachment 87307 (Async reflow, painting, and scrolling for text widgets) which landed as part of bug 141900. Will re-enable it after bugs 158782, 151882, and 165130 are addressed.
The patch simply prevents the eEditorUseAsyncUpdatesMask bit from being set on the editor.

r=brade@netscape.com  sr=sfraser@netscape.com  a=brendan@mozilla.org
2002-10-16 19:02:05 +00:00
leaf%mozilla.org aeba91a83f update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
caillon%returnzero.com 7871a3af0d Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
jkeiser%netscape.com 9f10a98502 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com c854cc03a3 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
rods%netscape.com e50e50bca1 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
roc+%cs.cmu.edu 3681ee88af Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com fd1a1dc6b6 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
kyle.yuan%sun.com cf801d0295 Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
jkeiser%netscape.com 816123f03b Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-09-27 00:04:22 +00:00
jkeiser%netscape.com 076e155265 Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com 2002-09-23 19:43:48 +00:00
hyatt%netscape.com 369f0ad4fd Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
kyle.yuan%sun.com b2732c66ef Bug 150590 should be able to type words into <select> - incremental search for item
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
2002-09-20 02:12:12 +00:00
jkeiser%netscape.com 7fb6b65f5c Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com 2002-09-16 06:23:52 +00:00
andreww%netscape.com 306632bf26 bugzilla bug 164174 r=suresh, sr=hewitt. Updating skin version number due to new backwards incompatibilites. 2002-09-12 23:39:25 +00:00
bzbarsky%mit.edu 3112a74372 <input type="button" value=""> should not list default text. Bug
166913, r=jkeiser, sr=jst
2002-09-11 02:30:52 +00:00
bzbarsky%mit.edu d878e367a6 Fix offset-calculation logic so <select size="1"> works in scrolled
divs.  Bug 115253, r=jkeiser, sr=roc
2002-09-11 01:44:36 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
leaf%mozilla.org b1bdbfd3cd update localeVersion to 1.2a, a=asa 2002-09-07 01:01:49 +00:00
dougt%netscape.com c1b9f8114d Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
mjudge%netscape.com 2e3c886ca3 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse 2002-08-30 01:32:11 +00:00
seawood%netscape.com dacf2553e1 Not all c++ compilers support true. Use PR_TRUE instead.
Fixing OS/2 tinderbox bustage.
2002-08-27 07:34:41 +00:00
mjudge%netscape.com 50c6f53d6c 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
dbaron%fas.harvard.edu 232e591f4c Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only) 2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu 1c6fd001fa Fieldset should look at its computed width even when there is no
legend.  Bug 162502, r=jkeiser, sr=dbaron
2002-08-14 02:28:23 +00:00
bzbarsky%mit.edu 93743d7733 Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst 2002-08-08 22:27:57 +00:00
jkeiser%netscape.com 3443c5c434 Make form controls in fieldsets work (bug 121127), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-08-08 20:38:40 +00:00
bzbarsky%mit.edu 1c175100b5 back out accidental part of last checkin; fixing bustage 2002-08-07 00:37:04 +00:00
mjudge%netscape.com 7024b7e81d 141888 sr=kin r=brade patch to fix too agressive caret disabling from readonly textareas/input areas. 2002-08-07 00:01:11 +00:00
bzbarsky%mit.edu 8e0f646cc1 comment-only add-on to bug 161243 (which is what that previous checkin was) 2002-08-06 23:53:36 +00:00
bzbarsky%mit.edu 57a9907708 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
jkeiser%netscape.com f83d576068 Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com 2002-08-06 04:59:15 +00:00
cbiesinger%web.de 396ba1b835 bug 50633 patch by riceman+bmo@mail.rit.edu r=jkeiser sr=kin a=asa
textarea always does a soft wrap, even with wrap="off" or white-space:nowrap or white-space:pre
2002-07-29 20:13:09 +00:00
jkeiser%netscape.com 252470c837 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
leaf%mozilla.org a49b4c2c35 adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909 2002-07-26 17:17:00 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bryner%netscape.com e910247e2a fixing css syntax error (bug 158981). r=jkeiser, sr=bzbarsky, a=asa. 2002-07-25 00:12:04 +00:00
jkeiser%netscape.com 3e44d00ca6 Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa 2002-07-18 00:58:31 +00:00
leaf%mozilla.org dd33dbb91f bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings 2002-07-17 23:51:49 +00:00
cbiesinger%web.de 3878bfb4f7 bug 146974 r=hwaara sr=tor
js strict warnings
2002-07-03 19:16:45 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
kyle.yuan%sun.com c6746b716f Bug 149856 [XBLFC] Active Accessibility: support XBL-based HTML button
r=aaronl, sr=jst
2002-06-26 01:53:11 +00:00
timeless%mac.com bcca3356d8 Bug 138019 radio form control images should have flex="1"
r=andreww sr=jst
2002-06-24 07:44:04 +00:00
dbaron%fas.harvard.edu 46a4169b7d Fix accesskey regression for text inputs and textareas. b=148249 r=aaronl sr=jst 2002-06-20 20:44:27 +00:00
kyle.yuan%sun.com 02f117ccc1 Bug 149858 [XBLFC] Active Accessibility: support XBL-based HTML radio
r=aaronl, sr=jst
Add nsIAccessibleProvider in radio.xml, create accessible object for XBL radio button
2002-06-19 02:00:38 +00:00
jkeiser%netscape.com 44e79e1658 Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com 2002-06-14 06:50:22 +00:00
jkeiser%netscape.com f8179e2720 Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz 2002-06-12 07:58:26 +00:00
leaf%mozilla.org 0034658953 updating locale version string for impending release, bug 149802 2002-06-07 07:45:38 +00:00
jkeiser%netscape.com 6c8141be88 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 00:44:04 +00:00
karnaze%netscape.com dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
rods%netscape.com 246b1b3bf4 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
jst%netscape.com c510ff0346 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu 4ae6c30b20 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
jst%netscape.com 5ef2ac2f34 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
aaronl%netscape.com a3fc469d4e Bug 134787. Active Accessibility: support XBL checkbox (first XBL-based HTML form control to be supported). r=jgaunt, sr=jst 2002-05-17 04:03:12 +00:00
jkeiser%netscape.com 4bf9570a63 Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com 2002-05-16 18:26:05 +00:00
waterson%netscape.com 926ecba1d9 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
darin%netscape.com f43dfb75ba fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
sicking%bigfoot.com f6cf1c00e9 Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
r=Hixie sr=hyatt
2002-05-03 17:51:44 +00:00
locka%iol.ie b7f421f335 Stop image control frame stomping on the event status. This stops context menu events being propogated to their parents and sent twice for input elements with images. bugscape=14131 r=saari@netscape.com sr=jst@netscape.com 2002-05-01 20:15:44 +00:00
dbaron%fas.harvard.edu 814b3d3030 Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
gerv%gerv.net 8ac92b6724 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
rods%netscape.com b8cd4b63be Selection now works with multiple selects
Bug 64165 r=jkeiser sr=attinasi
2002-04-17 00:09:54 +00:00
dbragg%netscape.com 060ac1f254 Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa 2002-04-16 22:19:10 +00:00