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

979 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com 7f0488eb18 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 872ded6605 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 14c5b6b776 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 a6f4446e42 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 dd17c242ec 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 d7d9298ab3 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 cb84e04c70 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 dc755ed5d9 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 a1d3c960e5 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 2de2d24266 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 34a1e37f7e 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 f1ebcab55a 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 8fa46fbfe6 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 0c54ecf4c2 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 c7726efa2b 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 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
jkeiser%netscape.com 7b5c99d547 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 ab75327f3e 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 1e89d16d17 Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky 2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu c6541482b9 <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron 2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu f6b1702067 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 ed078e5c87 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 b11bfa8941 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 3d0e77ae73 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 722881b278 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 d33d3708fe 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 8beac694e3 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 348a43af99 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 4acee63ab2 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 150568bb2e 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 a3dadf6cfe 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 eeb40eac51 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 83d0e310d3 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 b25d2a38f7 update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
caillon%returnzero.com 5ba9439c07 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 35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com 53ea2dfc93 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 cc93338c09 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 88a7759322 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 7de3925409 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
kyle.yuan%sun.com a20c3b924d 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 f5eae8deb7 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 023bf894f8 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 e8710c1495 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 c49df165a5 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 02c9151814 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 2558b06343 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 757e769851 <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 720bcd0c52 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 68faeb5241 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