Граф коммитов

796 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com ef56b86d61 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
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
warren%netscape.com 4189314fdb 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
blakeross%telocity.com a61eb4f00d 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
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com d4d77508ae 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
attinasi%netscape.com 0c357e6319 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
jst%netscape.com f5767882c1 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, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
pollmann%netscape.com 44d1adbf72 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
jst%netscape.com 1bc2495bff 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 sean@beatnik.com for testing and helping with the patch. a=waterson, r=brendan 2000-10-17 21:19:26 +00:00
hyatt%netscape.com b5af19308f Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
buster%netscape.com 7f078398f2 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson
2000-10-12 20:43:18 +00:00
jst%netscape.com 563eadb198 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
attinasi%netscape.com ecabb80a7a 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
buster%netscape.com d11af5d076 bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson
2000-10-09 21:19:36 +00:00
jst%netscape.com b3d9cbac12 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
rods%netscape.com 5fcd33af27 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
jst%netscape.com 50cb267dc7 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
jst%netscape.com 31aca48aad Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan 2000-09-21 02:42:46 +00:00
heikki%netscape.com e13fae3ffe Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
joki%netscape.com 7eb4f33a20 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst 2000-09-15 06:15:31 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
pinkerton%netscape.com a20b67ad5f before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541. 2000-09-14 08:47:46 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org 9243f9cdad if you want a pointer to characters, you're going to have to |.get()| it 2000-09-13 08:21:04 +00:00
scc%mozilla.org 983223fbc2 if you want a pointer to the characters, your going to have to |.get()| it 2000-09-13 04:47:36 +00:00
scc%mozilla.org d2b859ab77 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
rods%netscape.com 8370535078 stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd
2000-09-11 21:21:40 +00:00
rods%netscape.com 6cf19df91a reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi
2000-09-09 22:18:53 +00:00
jst%netscape.com 585c9cdc89 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pollmann%netscape.com 0bbeb76430 Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com 2000-09-09 01:22:01 +00:00
pnunn%netscape.com c6b9835eb3 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
sfraser%netscape.com bcea862cd3 Fix the tree bustage. r=jst 2000-09-08 02:06:56 +00:00
pollmann%netscape.com f51a223363 Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com 2000-09-08 01:46:00 +00:00
akkana%netscape.com f2a51fdcb9 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
hyatt%netscape.com 1cb2fa81af Patch to enable event.originalTarget on input fields. r=joki 2000-09-07 02:47:52 +00:00
jst%netscape.com a076b1912a Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com 2000-09-06 05:03:34 +00:00
rods%netscape.com ebbdfb1d25 fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk
2000-09-05 13:37:16 +00:00
saari%netscape.com fd23bb710a fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt 2000-09-02 04:59:44 +00:00
jst%netscape.com 35ad7d4bdf Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com 2000-09-01 23:23:35 +00:00
jst%netscape.com 88cb144fd9 Comment and whitespace change... 2000-09-01 08:24:00 +00:00
jst%netscape.com 0eb491f041 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pollmann%netscape.com 48a020c304 Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com 2000-09-01 00:48:47 +00:00
jst%netscape.com ef147e7941 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
rods%netscape.com c897d830f1 Notifying the doc that an attribute is changed is the wrong approach
Making "REFLOW" be the hint for when rows or cols attrs are changed
Not doing it for input text it seems to work fine without
b=50280
2000-08-30 21:59:53 +00:00
rods%netscape.com 0dc10b0007 Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk
2000-08-29 01:50:31 +00:00
attinasi%netscape.com a9d1145d5f Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com 2000-08-28 23:44:05 +00:00
jst%netscape.com f333c26ad3 Removing unused file. r=pollmann@netscape.com 2000-08-26 07:04:38 +00:00
jst%netscape.com cfbdba7868 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00