bzbarsky%mit.edu
cb5f836162
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
jst%netscape.com
47743d5ece
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139440 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
3c83a5a70f
Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139437 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 06:18:20 +00:00
bryner%netscape.com
a40b1536d0
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
071d5592f4
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
roc+%cs.cmu.edu
ad79d0e7da
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
6963c1c429
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +00:00
kyle.yuan%sun.com
60eb04f289
Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
...
r=jkeiser, sr=henry.jia
git-svn-id: svn://10.0.0.236/trunk@138250 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 01:19:17 +00:00
bzbarsky%mit.edu
9c474e852e
Make shrink-wrap reflow for buttons correctly reflow the kids a second time at
...
the constrained shrink-wrap width. Bug 26650 and dependencies, patch by
arunan_bala@hotmail.com (Arunan Bala), r=jkeiser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138222 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:48:29 +00:00
bryner%netscape.com
9651dfd295
Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage.
...
git-svn-id: svn://10.0.0.236/trunk@138150 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 04:27:23 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
b993aac32b
Make sure all caller have to pass in the "ignore 'print backgrounds'
...
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574,
r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
kin%netscape.com
dd9ec493c4
Fix for bug 190382 (selectionEnd off by one when user selects text via CMD/CTRL-A)
...
- Prevent DOMPointToOffset() from counting a br as a newline, if it is the last child of the anonymous div.
- Fixed 3 compiler warnings in DOMPointToOffset().
r=jkeiser@netscape.com sr=sfraser@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@136979 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 15:25:38 +00:00
bryner%netscape.com
73ac5f125a
fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc.
...
git-svn-id: svn://10.0.0.236/trunk@136947 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-25 01:47:20 +00:00
kin%netscape.com
bf1214f351
Fix for bug 188440 (textfields clobber selection when they should not.)
...
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
mozilla/layout/html/forms/src/nsTextControlFrame.h
Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.
r=brade sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136731 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 15:17:32 +00:00
neil%parkwaycc.co.uk
66a63fa2b0
Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@136154 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 09:24:30 +00:00
dbaron%dbaron.org
c2b73f96e3
Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136104 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:30:50 +00:00
dbaron%dbaron.org
a569c670f5
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
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf
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.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
kin%netscape.com
4c2a2376d9
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
git-svn-id: svn://10.0.0.236/trunk@136054 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
c278517282
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bryner%netscape.com
a95559dfb1
Meant to remove this file too. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@135882 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 08:56:58 +00:00
bryner%netscape.com
4f009c46df
Remove nsRadioControlGroup, inadvertently left here (bug 187867). r=cls.
...
git-svn-id: svn://10.0.0.236/trunk@135876 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 07:35:09 +00:00
jkeiser%netscape.com
4b221167d7
Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135510 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 05:40:37 +00:00
jkeiser%netscape.com
60ed955d58
Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135509 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 05:32:27 +00:00
jkeiser%netscape.com
ac42e42ba8
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
nhotta%netscape.com
3a03e1c043
Adding a new interface to retrieve phonetic of input text,
...
bug 175937, r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@135438 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
0b701faeb3
Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135373 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
12458accbb
Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@135365 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 23:49:16 +00:00
dbaron%fas.harvard.edu
10a7236c6a
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
...
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
kyle.yuan%sun.com
0be0d7608a
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
git-svn-id: svn://10.0.0.236/trunk@135095 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:24:27 +00:00
jkeiser%netscape.com
10e27ad14e
Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock.
...
git-svn-id: svn://10.0.0.236/trunk@134970 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
4749233be8
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
...
git-svn-id: svn://10.0.0.236/trunk@134968 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 05:56:58 +00:00
karnaze%netscape.com
ca5804764b
bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
...
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +00:00
peterv%netscape.com
d103a96ada
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
jkeiser%netscape.com
61c84d1fa9
Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@134217 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
f6b3b3afb9
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
7bfdf9ceaf
Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
d4ea0fd2db
<button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@134072 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu
307f43b5a1
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
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
263a259da7
Fix regression in rendering buttons that people manually size to less
...
than desired size. Bug 180085, r=jkeiser, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133980 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
b8bbf7470c
Fix regression bug 179896; need to use the cached ascent in this case
...
too. r=jkeiser, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133779 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:34:09 +00:00
bzbarsky%mit.edu
f76cceac51
Not sure why this didn't get properly checked in with the rest... Bug
...
167236, r=jkeiser, sr=roc+moz, moa=rods
git-svn-id: svn://10.0.0.236/trunk@133736 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 07:50:34 +00:00
cmanske%netscape.com
d6cc98279b
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
...
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
87e0051c3e
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
git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +00:00
bryner%netscape.com
b345c67a0c
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.
...
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
alecf%netscape.com
b548b7bdf9
prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
...
sr=peterv/jst, r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133318 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 21:23:09 +00:00
kyle.yuan%sun.com
f90ff1380c
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
git-svn-id: svn://10.0.0.236/trunk@133285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 10:25:03 +00:00
kyle.yuan%sun.com
5854d119ea
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
git-svn-id: svn://10.0.0.236/trunk@132670 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 01:05:43 +00:00
aaronl%netscape.com
abe8120f48
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
...
git-svn-id: svn://10.0.0.236/trunk@132498 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 02:53:45 +00:00