jst%netscape.com
415d2aa8a8
Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. r=pollmann@netscape.com, sr=hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@86078 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:31:08 +00:00
jst%netscape.com
85af37cfab
Fixing bug 53860. Making inputElement.getAttribute('checked') return the value 'checked' if the attribute was ever set. r=pollmann@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@86025 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:34:57 +00:00
anthonyd%netscape.com
df07100265
bug fix for 67007, user tags being consumed
...
r=akkana
sr=harishd
git-svn-id: svn://10.0.0.236/trunk@86005 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 23:57:24 +00:00
harishd%netscape.com
759915d51b
54453 - Killing an annoying assertion.
...
r=heikki
git-svn-id: svn://10.0.0.236/trunk@85992 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:04:48 +00:00
jst%netscape.com
e9e4bff118
Fixing bug 44615. Making the default value of radio buttons be "on" to match older browsers. r=rods@netscape.com&heikki@netscape.com, sr=brendan@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@85714 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:22:24 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu
bfc35757e1
Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
...
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
attinasi%netscape.com
796ab90cd9
Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@85616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 05:48:41 +00:00
harishd%netscape.com
3fd88b9a18
Removed CNavDTD dependency.
...
r=jst
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@85500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:33:57 +00:00
mcafee%netscape.com
644a6ffc68
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
...
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
jst%netscape.com
ba329b0451
Fixing bug 57772. Hooking document.getSelection() into window.getSelection().toString() which does the right thing (i.e. doesn't produce pretty printed text). r=heikk@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@85358 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:45:08 +00:00
jst%netscape.com
a12de9afe9
Checking in rods@netscape.com's patch for bug 60049. The implementation of document.clear() in mozilla was incorrectly clearing the whole document, the same method in NS 4.x and IE seem to do nothing so with this patch document.clear() is a nop. r=jst@netscape.com, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@85338 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:20:33 +00:00
vidur%netscape.com
5624d576e9
Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@85317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:11:02 +00:00
hewitt%netscape.com
89e5dd1e29
52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@85251 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:03:48 +00:00
pierre%netscape.com
148e913722
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
...
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
blakeross%telocity.com
1d5e9edb82
Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@84951 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:27:20 +00:00
rods%netscape.com
89f403c708
must return NS_OK from DOM calls, this will make the button look enabled when enabled
...
Bug 63722 r=attinasi sr=buster
git-svn-id: svn://10.0.0.236/trunk@84798 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 15:14:47 +00:00
jst%netscape.com
4cb696f69c
Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. r=timeless@mac.com, disttsc@bart.nl, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84743 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:41:47 +00:00
heikki%netscape.com
a03af97a73
Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@84730 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:21:09 +00:00
jst%netscape.com
1298a86575
Fixing bug 60920. Adding type cheks to the document.form.select.options[n] setter so that we don't crash if someone tries to set the value to an invalid type (i.e. not a HTMLOptionElement). sr=brendan@mozilla.org, r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84715 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 05:11:05 +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
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
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
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
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
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
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
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
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
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
jst%netscape.com
a077967be8
Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@83661 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:22 +00:00
vidur%netscape.com
33d6574ffe
Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
rods%netscape.com
fc0a5b36d7
smoketest blocker,
...
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki
git-svn-id: svn://10.0.0.236/trunk@83488 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 20:07:50 +00:00
rods%netscape.com
3a1a98af2f
removed where the input element was telling the rado/checkbox to return the opposite value
...
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster b=57137,57239,58460
git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
hyatt%netscape.com
e0273d9feb
Added Pref control for XBL forms.
...
r=jst@netscape.com , a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83464 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:20:40 +00:00
blakeross%telocity.com
1314532a92
Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@83279 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu
da3a72cf6f
Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83215 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 15:53:42 +00:00
jst%netscape.com
ee57d41453
Fixing bug 49597. Setting the 'checked' state on a dynamically created radio button that wasn't yet part of the document in JS was throwing an exception since our internal pres state code was generating a failure code when the input element didn't have a document. sr=vidur, r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@82959 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 03:41:50 +00:00
nhotta%netscape.com
7402e71af4
Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@82918 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:43:28 +00:00