Commit Graph
826 Commits
Author SHA1 Message Date
[email protected] c81f12b041 Fixing regression bug 68139. Accessing radiobutton.value always returning the defalue value. r=harishd, sr=vidur, [email protected]/[email protected] 2001-02-09 23:45:41 +00:00
[email protected] 5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
[email protected] 485ffdd57d Fixing bug 37763. Making applet elements that are not associated with an Java applet still be scriptable as a normal DOM node. [email protected], [email protected] 2001-02-07 07:39:20 +00:00
[email protected] 1b5d3e8a34 bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers 2001-02-06 23:18:20 +00:00
[email protected] 466e59feb2 Fixing regression (bug 67713) that I introduced in my content code re-org in the end of december. Adding a missing interface to the QI implementation of nsHTMLButtonElement. [email protected], sr=n/a 2001-02-06 02:31:31 +00:00
[email protected] 509a59042e Fixing bug 67563. Adding null pointer checks to avoid crasing when accessing certain properties on orphan OPTION, TD and TH elements. [email protected], [email protected], [email protected] 2001-02-06 02:11:30 +00:00
[email protected] b37fee7335 Moving methods around to make this file make more sense. no code changes. 2001-02-03 03:50:04 +00:00
[email protected] a5c8f9ae2c Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. [email protected], [email protected] 2001-02-02 11:31:08 +00:00
[email protected] 0bad53aa79 Fixing bug 53860. Making inputElement.getAttribute('checked') return the value 'checked' if the attribute was ever set. [email protected], [email protected] 2001-02-02 01:34:57 +00:00
[email protected] 1b1d90baec Fixing bug 44615. Making the default value of radio buttons be "on" to match older browsers. [email protected]&[email protected], [email protected]. 2001-01-30 04:22:24 +00:00
[email protected] 15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 [email protected] 2001-01-27 23:06:33 +00:00
[email protected] dbe136f19b Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
[email protected] 99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
[email protected] 37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
[email protected] 420bceb05e must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster
2001-01-11 15:14:47 +00:00
[email protected] f43efb937d Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. [email protected], [email protected], [email protected] 2001-01-10 22:41:47 +00:00
[email protected] 722b70843f Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson. 2001-01-10 20:21:09 +00:00
[email protected] 77761ae954 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). [email protected], [email protected] 2001-01-10 05:11:05 +00:00
[email protected] c37c00f6f6 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. [email protected] 2001-01-09 02:53:33 +00:00
[email protected] e6675a0c4f 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. [email protected], [email protected] 2001-01-09 01:26:05 +00:00
[email protected] 43902519fe Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. [email protected] 2001-01-09 00:03:42 +00:00
[email protected] 464bf691d5 Trivial code cleanup that removes the need for a kungFoDeathGrip. [email protected] 2001-01-08 23:43:56 +00:00
[email protected] 00c4e2bf2d Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg 2001-01-05 23:26:05 +00:00
[email protected] c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
[email protected] 618fd5b917 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 [email protected] [email protected] 2000-12-30 19:22:22 +00:00
[email protected] 861b37bf83 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 2000-12-27 08:41:29 +00:00
[email protected] 489f507a38 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 2000-12-24 01:52:05 +00:00
[email protected] a3fa32365b More mac bustage fixes... 2000-12-23 13:32:28 +00:00
[email protected] 06b0233e1c One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
[email protected] 34842052ef Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
[email protected] 75d7c9ef1d 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. [email protected], [email protected] [email protected]. 2000-12-23 10:56:31 +00:00
[email protected] f04f364558 smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki
2000-12-11 20:07:50 +00:00
[email protected] 9392c50d60 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
2000-12-10 16:05:29 +00:00
[email protected] 6cb0446256 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 2000-11-28 03:41:50 +00:00
[email protected] 40b7f51bd1 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
[email protected] e098b1cea8 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 [email protected] 2000-11-20 07:16:06 +00:00
[email protected] a4646ae8e7 use inline methods rather than typecasting directly to floats to prevent rounding errors (bug #56022); r=jst; sr=buster 2000-11-15 10:54:41 +00:00
[email protected] 6cee6375cd Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
[email protected] 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
[email protected] 28d9645342 Fix for 12056: ctrl+click on a link should open in new window, alt+click should save it. r=jst sr=brendan, alecf 2000-10-28 14:30:48 +00:00
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] ea2d932000 Fixing rtm+ bug 57495. Making element.getElementsByTagName() case insensitive if called on an HTML element. r=pollmann, sr=vidur. 2000-10-27 09:01:33 +00:00
[email protected] 1f1a73034b Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340) 2000-10-26 00:34:08 +00:00
[email protected] 5743cd8e60 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, [email protected] 2000-10-24 04:56:10 +00:00
[email protected] e5ef694f7b Bugscape 2369: Don't hold onto frame reference / type across mInner::HandleDOMEvent, fixes crashes. r=rods,jst sr=vidur 2000-10-24 01:41:07 +00:00
[email protected] 412b4ede01 Fixing rtm++ bug 54121. Make sure to unroot the JS object before setting the script object to null to avoid referencing deleted memory later on in the GC. Thanks to [email protected] for testing and helping with the patch. a=waterson, r=brendan 2000-10-17 21:19:26 +00:00
[email protected] 9527a3dd75 Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
[email protected] 7155783a8b bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson
2000-10-12 20:43:18 +00:00
[email protected] 4f57ef725f Fixing rtm++ bug 54892. The .offsetParent property on the BODY element was incorreclty returning its real parent in stead of null. sr=vidur, r=pierre 2000-10-11 23:11:28 +00:00
[email protected] bc9d8c5e56 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster 2000-10-11 08:33:01 +00:00