7585 Commits

Author SHA1 Message Date
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
cmanske%netscape.com
b590b1872c Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83881 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:38:20 +00:00
cmanske%netscape.com
15a86eda61 Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83880 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:55 +00:00
karnaze%netscape.com
d0546a793d new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83874 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 00:45:05 +00:00
karnaze%netscape.com
dafe786728 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83870 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:06:23 +00:00
karnaze%netscape.com
dc562ca5cb fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@83863 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:16:41 +00:00
karnaze%netscape.com
40a59f1659 bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned


git-svn-id: svn://10.0.0.236/trunk@83859 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
4ecf8f5473 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83823 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 02:16:44 +00:00
rods%netscape.com
7e2f11196a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580


git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +00:00
jst%netscape.com
80b96c36c3 Fix a refcounting screwup I caused in my last checkin. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@83773 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 23:38:56 +00:00
dbaron%fas.harvard.edu
0e283e8c8c Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421
git-svn-id: svn://10.0.0.236/trunk@83772 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 18:56:06 +00:00
blakeross%telocity.com
4dfc8a2520 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83741 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:48:55 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
attinasi%netscape.com
055c1fb37b Fixed bad path in URI. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@83686 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:48:39 +00:00
karnaze%netscape.com
62992a64c0 added delays to regression file lists, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83681 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:09:31 +00:00