621 Commits

Author SHA1 Message Date
jst%netscape.com
09a726c20d WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
karnaze%netscape.com
1f5399ce0f bug 9271 - correctly insert cells, rows when insertion index equals number of elements.
git-svn-id: svn://10.0.0.236/trunk@68084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:57:00 +00:00
jst%netscape.com
f59ae4bac2 The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
rods%netscape.com
0f30221b12 when an option gets dsabled it will now notify the frame so it can be deselected
git-svn-id: svn://10.0.0.236/trunk@67581 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:29:35 +00:00
pierre%netscape.com
cdcf7d8bca 9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
rods%netscape.com
4ec6397d6c Changing notify from false to true for AppendChildTo in SetText
this is where the block doesn't have any children and a text element gets
created for it.
b=36900, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@67179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:48:58 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
scc%netscape.com
fe0f1e89f2 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:31:38 +00:00
rods%netscape.com
0d4686e71e It now uses the nsHTMLContent->GetHTMLAttribute to get the value and/or label
The code now lso checks to see if the attr actually exists before it moves to the label or the content
bug 36459


git-svn-id: svn://10.0.0.236/trunk@66779 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:28:07 +00:00
nisheeth%netscape.com
aa48d39e68 Fix for bug 36362. We no longer null out the ref count of form elements in their Release() methods before deleting them. This fixes the crashes on www.cnn.com and www.msn.com.
git-svn-id: svn://10.0.0.236/trunk@66622 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:03:20 +00:00
jst%netscape.com
65876f7f11 Updating the DOM interface CSSStyleDeclaration to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:50:56 +00:00
jst%netscape.com
c4e455e5bc Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@66553 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:40:35 +00:00
jst%netscape.com
4cece07c24 Fixing bug #32376. Mozilla now populates a select list with new empty options if it's length is set to a bigger number than it already is, this is against the DOM but we need this to be compatible with older browsers.
git-svn-id: svn://10.0.0.236/trunk@66552 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:34:35 +00:00
rickg%netscape.com
d7bc270f6f try to fix tinderbox bustage for nisheeth
git-svn-id: svn://10.0.0.236/trunk@66436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:45:45 +00:00
nisheeth%netscape.com
ce05c41617 Fix for bug 30091. nsFormControlList::NamedItem() was doing a linear walk through the form control list. Now it uses a hash table lookup. This greatly reduces the time for the screen to update when one clicks on the Program list box on the Bugzilla query page.
git-svn-id: svn://10.0.0.236/trunk@66429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 07:49:07 +00:00
jst%netscape.com
c33863d639 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66346 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:00:58 +00:00
jst%netscape.com
32aa1b74f9 Updating the HTMLObjectElement interface to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:57:42 +00:00
jband%netscape.com
140f88e299 egads! lost the return type declaration in a copy/paste goofup.
git-svn-id: svn://10.0.0.236/trunk@66339 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:46:48 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
pierre%netscape.com
8352fc6523 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set.
git-svn-id: svn://10.0.0.236/trunk@66083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:38:13 +00:00
pierre%netscape.com
c0c95f1979 32063: <font size=""> makes font tiny
git-svn-id: svn://10.0.0.236/trunk@66064 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:28:12 +00:00
jband%netscape.com
0565282928 fix bug 32150. Expose to JavaScript the scriptable interfaces on plugin objects implementing nsIPluginInstance. Given an embed tag with a plugin named 'foo' that has an xpcom interface named 'nsIFoo' with a method 'bar', this fix allows JS code (with the UniversalXPConnect privilege) to call document.foo.nsIFoo.bar()
git-svn-id: svn://10.0.0.236/trunk@66020 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:54:48 +00:00
jst%netscape.com
231ff5a791 Fixing #35605, avoid accessing a null pointer in GetOffsetParent()!
git-svn-id: svn://10.0.0.236/trunk@65812 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:52:03 +00:00
jst%netscape.com
bf63c4d811 If a class claims to support an interface in QueryInterface() it *really* should inherit from that interface then! Fixes #35398.
git-svn-id: svn://10.0.0.236/trunk@65809 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:02:58 +00:00
sfraser%netscape.com
11edab2993 Adding methods to allow control of the selection in text widgets.
git-svn-id: svn://10.0.0.236/trunk@65774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:15:59 +00:00
sfraser%netscape.com
2150b9eaeb Use an nsCOMPtr in the Select call.
git-svn-id: svn://10.0.0.236/trunk@65773 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:14:08 +00:00
ducarroz%netscape.com
36b9328d4b Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65768 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:39 +00:00
waterson%netscape.com
5fd7aa381d Bug 29507. Clean up PresShell refcounting. r=troy
git-svn-id: svn://10.0.0.236/trunk@65350 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:58:06 +00:00
jst%netscape.com
158746e816 Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260.
git-svn-id: svn://10.0.0.236/trunk@65269 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:46:48 +00:00
jst%netscape.com
d25e292375 Removing #include and unused static IID, not part of the build quite yet.
git-svn-id: svn://10.0.0.236/trunk@65257 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:37:51 +00:00
jst%netscape.com
9fdec9c0df Adding class for unknown elements, not part of the build quite yet.
git-svn-id: svn://10.0.0.236/trunk@65256 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:35:54 +00:00
hyatt%netscape.com
c1aeb69e54 Elimination of nsIFocusableContent and improvements to tabbing r=saari
git-svn-id: svn://10.0.0.236/trunk@65217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:31 +00:00
jst%netscape.com
3efeaf17d3 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame.
git-svn-id: svn://10.0.0.236/trunk@64937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:04:19 +00:00
jst%netscape.com
2b2767bff4 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far.
git-svn-id: svn://10.0.0.236/trunk@64881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 13:31:23 +00:00
jst%netscape.com
3fb4d7189f Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606.
git-svn-id: svn://10.0.0.236/trunk@64879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:36:16 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
jst%netscape.com
0bc922f9e2 Fixing bug #32839, HTMLButtonElement.type now returns the correct value.
git-svn-id: svn://10.0.0.236/trunk@64623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:12 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
jst%netscape.com
66be28aee8 Fix for bug #32853, we now support setting the 'for' attribute with the name 'htmlFor'.
git-svn-id: svn://10.0.0.236/trunk@64407 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:19:00 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
pollmann%netscape.com
812fff3d93 Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63981 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:55 +00:00
jst%netscape.com
42a4f6989e Make the value of "dir" attributes more accessible through the DOM, this fixes #32617. r=troy
git-svn-id: svn://10.0.0.236/trunk@63787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:46:33 +00:00
rods%netscape.com
59cb70fb38 GetSelectedIndex now always returns a value and NS_OK
The value first comes from the frame, then from the presstate then
from the default selection in the content
it's checked into the branch, this is the tip check in
r=mscott b=32726


git-svn-id: svn://10.0.0.236/trunk@63743 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:45:20 +00:00
dbaron%fas.harvard.edu
d6149be79b Fix miscellaneous form element leaks. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63686 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:21:33 +00:00
pollmann%netscape.com
191038a9c7 Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:46:43 +00:00
jst%netscape.com
daf83bdd00 Fixing the remaining part of #12559. r=gagan
git-svn-id: svn://10.0.0.236/trunk@63568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:22:07 +00:00