1612 Commits

Author SHA1 Message Date
caillon%returnzero.com
0f7366d6d0 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


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
jkeiser%netscape.com
eeef82662c Backing out bug 107291 due to OS/2 having a crappy compiler.
git-svn-id: svn://10.0.0.236/trunk@131418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
f2519f9d84 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@131406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:19:10 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
rods%netscape.com
ea176b505c no longer cache the scrollbar width that is used to also calculate the btn width.
Bug 167032 r=jkeiser sr=alecf


git-svn-id: svn://10.0.0.236/trunk@130883 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 14:24:15 +00:00
roc+%cs.cmu.edu
e25496d35f 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
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
f2d14853a0 Back out bug 167236 due to regressions 171214 and 171465
git-svn-id: svn://10.0.0.236/trunk@130791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 10:22:06 +00:00
kyle.yuan%sun.com
d743efbefd 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


git-svn-id: svn://10.0.0.236/trunk@130701 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 01:42:07 +00:00
jkeiser%netscape.com
d59bc1b4f8 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
git-svn-id: svn://10.0.0.236/trunk@130554 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 00:04:22 +00:00
jkeiser%netscape.com
b6c4cce5ef Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130274 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 19:43:48 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
kyle.yuan%sun.com
624d265c11 Bug 150590 should be able to type words into <select> - incremental search for item
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>


git-svn-id: svn://10.0.0.236/trunk@130099 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:12:12 +00:00
jkeiser%netscape.com
664fc74eb6 Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129682 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:23:52 +00:00
bzbarsky%mit.edu
458ea17eb5 <input type="button" value=""> should not list default text. Bug
166913, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@129213 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:30:52 +00:00
bzbarsky%mit.edu
daf0eeddb4 Fix offset-calculation logic so <select size="1"> works in scrolled
divs.  Bug 115253, r=jkeiser, sr=roc


git-svn-id: svn://10.0.0.236/trunk@129188 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:44:36 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
mjudge%netscape.com
24b6c23cc2 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
git-svn-id: svn://10.0.0.236/trunk@128516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:32:11 +00:00
seawood%netscape.com
059352bad6 Not all c++ compilers support true. Use PR_TRUE instead.
Fixing OS/2 tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@128238 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 07:34:41 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
7b3559d1f9 Fieldset should look at its computed width even when there is no
legend.  Bug 162502, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@127232 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 02:28:23 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
bzbarsky%mit.edu
8d3edf56a0 Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126810 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 22:27:57 +00:00
jkeiser%netscape.com
3d64c27797 Make form controls in fieldsets work (bug 121127), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@126792 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 20:38:40 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
c3a70b358f back out accidental part of last checkin; fixing bustage
git-svn-id: svn://10.0.0.236/trunk@126567 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:37:04 +00:00
mjudge%netscape.com
a678fcf7ab 141888 sr=kin r=brade patch to fix too agressive caret disabling from readonly textareas/input areas.
git-svn-id: svn://10.0.0.236/trunk@126556 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:01:11 +00:00
bzbarsky%mit.edu
a7b6a5ad56 comment-only add-on to bug 161243 (which is what that previous checkin was)
git-svn-id: svn://10.0.0.236/trunk@126552 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:53:36 +00:00
bzbarsky%mit.edu
281d89498a clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
5894ef9407 Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@126438 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:59:15 +00:00
jkeiser%netscape.com
80534a3082 Output a JS warning when a web developer does the wrong form sub attributes (bug 158927), r=rods, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@126430 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:26:35 +00:00
cbiesinger%web.de
c1146da488 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


git-svn-id: svn://10.0.0.236/trunk@126007 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:13:09 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
leaf%mozilla.org
f068dae85c adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909
git-svn-id: svn://10.0.0.236/trunk@125861 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:17:00 +00:00
jkeiser%netscape.com
b5ecb6dda7 Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@125421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:58:31 +00:00
pete%alphanumerica.com
81c2b5fa2b b=88049 r=bzbarsky sr=jst
[RFE] Support .selectionStart & friends for textareas

Enjoy

--pete


git-svn-id: svn://10.0.0.236/trunk@124209 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 20:22:28 +00:00
dbaron%fas.harvard.edu
7e821aaa94 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
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
kyle.yuan%sun.com
418bf748bc Bug 149856 [XBLFC] Active Accessibility: support XBL-based HTML button
r=aaronl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@124064 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 01:53:11 +00:00
dbaron%fas.harvard.edu
e76d62fd17 Fix accesskey regression for text inputs and textareas. b=148249 r=aaronl sr=jst
git-svn-id: svn://10.0.0.236/trunk@123714 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:44:27 +00:00
jkeiser%netscape.com
cf0eaecfb1 Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123308 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:50:22 +00:00
kin%netscape.com
e85d2ba2cf Fix for bug 150566 (Readonly text fields aren't read-only)
Use kNameSpaceID_None when calling GetAttr() so that the
backend find attribute code in the content module matches
against atoms.

Removed calls to GetNameSpaceID().

r=jkeiser@netscape.com  sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123306 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:01:29 +00:00
kin%netscape.com
fa152a3def Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
jkeiser%netscape.com
decd49ffba Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@123144 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:58:26 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
jkeiser%netscape.com
5b189d7a7e Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122626 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:34:30 +00:00
jkeiser%netscape.com
0c2a8f4e96 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
rods%netscape.com
42e0661834 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


git-svn-id: svn://10.0.0.236/trunk@122071 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 11:25:58 +00:00