buster%netscape.com
af23531792
bug 55250 (crash when align attribute is changed)
...
r=karanze
a=waterson
git-svn-id: svn://10.0.0.236/trunk@81041 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:43:18 +00:00
jst%netscape.com
8ef014a604
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
...
git-svn-id: svn://10.0.0.236/trunk@80963 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:11:28 +00:00
attinasi%netscape.com
c8ab5d1344
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
...
git-svn-id: svn://10.0.0.236/trunk@80920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:33:01 +00:00
buster%netscape.com
59b79617a9
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
git-svn-id: svn://10.0.0.236/trunk@80746 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:19:36 +00:00
jst%netscape.com
17e33bbc26
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
git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
rods%netscape.com
17abdbdfb2
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
git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
jst%netscape.com
b45fd7a390
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
...
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
jst%netscape.com
36f7537a83
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
...
git-svn-id: svn://10.0.0.236/trunk@79695 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:42:46 +00:00
heikki%netscape.com
82a70c8b59
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.
...
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
joki%netscape.com
7c162a7c40
Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst
...
git-svn-id: svn://10.0.0.236/trunk@79276 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:15:31 +00:00
mjudge%netscape.com
2fc6190bef
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
...
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
pinkerton%netscape.com
ff01c4fd2d
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.
...
git-svn-id: svn://10.0.0.236/trunk@79104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:47:46 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
9660c987a1
if you want a pointer to characters, you're going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@79000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:21:04 +00:00
scc%mozilla.org
b11557a256
if you want a pointer to the characters, your going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@78967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:47:36 +00:00
scc%mozilla.org
e5e006543d
if you want a pointer to the characters, you're going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@78957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:48:08 +00:00
rods%netscape.com
85b8d50cda
stripping CR/LF in href attrs on mouse over or mouse click
...
b=52119 r=harishd
git-svn-id: svn://10.0.0.236/trunk@78766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:21:40 +00:00
rods%netscape.com
8a82d7b1a3
reverting back to using macro for impl of set/get of disabled attr
...
b=41252 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:18:53 +00:00
jst%netscape.com
f54ba5cc66
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
...
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
pollmann%netscape.com
127fc5823f
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
...
git-svn-id: svn://10.0.0.236/trunk@78562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:22:01 +00:00
pnunn%netscape.com
fcd6e7c635
bug:13718: natural img dimens. pnunn, r:sfraser
...
git-svn-id: svn://10.0.0.236/trunk@78533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:52:05 +00:00
sfraser%netscape.com
4ed26ff1e6
Fix the tree bustage. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@78477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:06:56 +00:00
pollmann%netscape.com
f26bbc9e5e
Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:46:00 +00:00
akkana%netscape.com
383539d22b
50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
hyatt%netscape.com
2e1635d8b1
Patch to enable event.originalTarget on input fields. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@78325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:47:52 +00:00
jst%netscape.com
1154cd5b3b
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
...
git-svn-id: svn://10.0.0.236/trunk@78247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:03:34 +00:00
rods%netscape.com
64c96b1f0f
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
git-svn-id: svn://10.0.0.236/trunk@78137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:37:16 +00:00
saari%netscape.com
676b71298c
fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@77999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:59:44 +00:00
jst%netscape.com
a7a929d7dd
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
...
git-svn-id: svn://10.0.0.236/trunk@77955 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:23:35 +00:00
jst%netscape.com
adc6b35477
Comment and whitespace change...
...
git-svn-id: svn://10.0.0.236/trunk@77867 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:24:00 +00:00
jst%netscape.com
071de302f4
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
...
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
vidur%netscape.com
b10d4adc57
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
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
pollmann%netscape.com
b70eecc2df
Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77796 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:48:47 +00:00
jst%netscape.com
0b04376254
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
...
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
rods%netscape.com
29c0c0e89f
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
git-svn-id: svn://10.0.0.236/trunk@77657 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:59:53 +00:00
rods%netscape.com
caea13f29b
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
git-svn-id: svn://10.0.0.236/trunk@77436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:50:31 +00:00
attinasi%netscape.com
6ced7e5706
Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77405 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:05 +00:00
jst%netscape.com
f582538632
Removing unused file. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77286 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:04:38 +00:00
jst%netscape.com
b05c03746d
Removing unused code from the build. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +00:00
waterson%netscape.com
9df49dc106
Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@77186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:03:49 +00:00
jst%netscape.com
65422a4e46
Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77149 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:57:28 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
jst%netscape.com
52a1304643
Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@76854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:14:53 +00:00
waterson%netscape.com
cf19730f34
Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@76762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:57:50 +00:00
scc%mozilla.org
a0a2b1b7fe
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
attinasi%netscape.com
20b7c1ce10
Fixed the application of the BodyFixupRule so that it is only created when the BODY element has the HTML element as its parent. b=17911 r=dbaron@fas.harvard.edu
...
git-svn-id: svn://10.0.0.236/trunk@76648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:38:29 +00:00
jst%netscape.com
0033a2db23
Fixing nsbeta3+ bug 31539. Adding support for the 4.x DOM property 'text' on links. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@76633 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:46:58 +00:00
jst%netscape.com
0a1ad0b622
Fxing nsbeta3+ bug 45680. Cloning an HTML element with a style attribute didn't clone the style declaration in the element so changing the style on the clone resulted in a style change for both elements. Also fixing a few memory leaks in nsHTMLTableElement. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@76627 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:52:31 +00:00
pollmann%netscape.com
8e93b5b21f
Bug 47281: form.reset now generates a reset event, and the frame is notified from the event handling code. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@76616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:18:01 +00:00
alecf%netscape.com
7431c64b15
fix a bunch of UMRs r=syd
...
(no bug but I needed these to get my purify build going)
git-svn-id: svn://10.0.0.236/trunk@76425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:39:38 +00:00