dbaron%fas.harvard.edu
73d33434d9
Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:43:00 +00:00
jst%netscape.com
4b33676b31
Fixing bug 64642. This is a regression caused in my large content code reorg/cleanup that I did a few weeks ago, SetDocument on a from control was was forwarding the call to the wrong base class, it was calling nsGenericElement::SetDocument() in stead of nsGenericHTMLElement::SetDocument() and that caused style attributes to not get reparsed when form controls were added to a document. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84634 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 02:53:33 +00:00
jst%netscape.com
5ba9953b81
Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84626 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:26:05 +00:00
jst%netscape.com
f26965ded2
Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:03:42 +00:00
jst%netscape.com
c57fef481e
Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84615 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:43:56 +00:00
jst%netscape.com
1f3e4f888b
Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:16:52 +00:00
waterson%netscape.com
596264480e
Bug 57026. Do not reparent views whenever we 'MoveChildrenTo()', because this breaks SplitToContainingBlock(): no views will have been created in this case! Instead, alter ConstructInline() to move views. r=karnaze, sr=buster.
...
git-svn-id: svn://10.0.0.236/trunk@84593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:10:44 +00:00
akkana%netscape.com
13ae4ba935
33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
dcone%netscape.com
5556760ab2
Added nsIPrintContext interface.
...
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +00:00
karnaze%netscape.com
b7b4013acf
new regression tests, not affecting the build.
...
git-svn-id: svn://10.0.0.236/trunk@84575 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:04:29 +00:00
rods%netscape.com
f559e7aea6
changed add ref to from NS_ADDREF to NS_IF_ADDREF
...
Bug 63329, r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06:34 +00:00
jst%netscape.com
dc0cca8f46
Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg
...
git-svn-id: svn://10.0.0.236/trunk@84444 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:26:05 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
rods%netscape.com
92dcc2bd43
When focus is removed and the the CBX is dropped down it rolls it up
...
r=kmcclusk, sr=buster Bug 64079
git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
attinasi%netscape.com
07d48e660b
Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@84312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:37:28 +00:00
attinasi%netscape.com
6a0e976941
<input type=image> now shows focus. b=2504 r=rods sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@84310 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:34:54 +00:00
karnaze%netscape.com
2dfe5bc29b
bug 63785 - removed the patch from bug 33784.
...
git-svn-id: svn://10.0.0.236/trunk@84282 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:42:23 +00:00
mkaply%us.ibm.com
7e139ad912
#50998
...
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it
git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
jst%netscape.com
ffe4f795a3
Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu
0bda33f65e
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84234 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:25:23 +00:00
dbaron%fas.harvard.edu
b4de65c19e
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
dbaron%fas.harvard.edu
96e4c8e12e
Add testcase for bug 63785 to block regression tests. Not part of build.
...
git-svn-id: svn://10.0.0.236/trunk@84232 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 15:46:29 +00:00
sspitzer%netscape.com
681a5f7e34
I have no desire to hear hyatt moo. r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@84106 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:37:09 +00:00
blakeross%telocity.com
619ef3ec56
Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@84093 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:41:29 +00:00
anthonyd%netscape.com
0c9762c747
fix for bug#59577 - hang during keyboard navigation
...
r=kin
sr=buster
git-svn-id: svn://10.0.0.236/trunk@84075 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:25 +00:00
jst%netscape.com
6a30c53238
Removing unnecessary include files and forward declarations.
...
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc
Removing unused CID and doing some whitespace cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038
Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
...
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
blakeross%telocity.com
f6256f739f
Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@84058 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 09:03:31 +00:00
jst%netscape.com
1433395ab5
Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag
...
git-svn-id: svn://10.0.0.236/trunk@84053 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:52:05 +00:00
jst%netscape.com
2c48463883
More mac bustage fixes...
...
git-svn-id: svn://10.0.0.236/trunk@84041 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:32:28 +00:00
jst%netscape.com
4f9d57512a
One more attempt at fixing the mac redness.
...
git-svn-id: svn://10.0.0.236/trunk@84040 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:57:59 +00:00
jst%netscape.com
9dffc0950b
Attempting to fix mac bustage.
...
git-svn-id: svn://10.0.0.236/trunk@84038 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:59:05 +00:00
jst%netscape.com
e59263f7ec
Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
koehler%mythrium.com
50182298c6
Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
...
git-svn-id: svn://10.0.0.236/trunk@84016 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:19:04 +00:00
karnaze%netscape.com
56d0a07733
bug 42443 - consider over specified col spans when allocating array, sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@83967 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:06:44 +00:00
karnaze%netscape.com
fb49fe1119
bug 43204 - zero out padding for row/col group, ro/col, sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@83966 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:05:15 +00:00
karnaze%netscape.com
3a6c654791
bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
...
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +00:00
karnaze%netscape.com
12583bedd4
bug 33784 - added simple rule for "td div p", sr=buster, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@83963 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:50:02 +00:00
attinasi%netscape.com
a684a2fc7f
Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83959 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:16:38 +00:00
rods%netscape.com
2d35ca6701
When clicking away from the dropdown, it wasn't resetting itself correctly.
...
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
cmanske%netscape.com
2df58f216c
Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89
backing out regression-causing changes to reopen tree
...
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
rods%netscape.com
857e0d4343
53259 - min-width and max-width not supported on form control
...
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes
First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
43a2ffa48a
53259 - min-width and max-width not supported on form control
...
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@83900 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:12:06 +00:00
rods%netscape.com
f5e6a46f6c
53259 - min-width and max-width not supported on form control
...
r=kmcclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
rods%netscape.com
a649f72fbb
53259 - min-width and max-width not supported on form control
...
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster
git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
cmanske%netscape.com
c930b83300
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
...
git-svn-id: svn://10.0.0.236/trunk@83889 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
c0fa7f0c0e
Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
...
git-svn-id: svn://10.0.0.236/trunk@83888 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
dafb7a83b7
Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
...
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00