649 Commits

Author SHA1 Message Date
pollmann%netscape.com
0cebd244c8 Bug 32746 (2 of 3): Make iframe borders respond to both css and frameborder attribute. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:56:02 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
joki%netscape.com
6aa7ce987a Adding accesskey support. Bug 959.
git-svn-id: svn://10.0.0.236/trunk@70027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 10:22:20 +00:00
jst%netscape.com
5ee82cc838 Cleaning up GetNodeName() in preparation for swiching mozilla over to a DOM Level 2 compliant .nodeName property.
git-svn-id: svn://10.0.0.236/trunk@69956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:22:25 +00:00
shaver%mozilla.org
f792546214 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
jst%netscape.com
912f82de3a Checking in DOM Level 2 version of the DOM interface Element.
git-svn-id: svn://10.0.0.236/trunk@69837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:31:55 +00:00
mjudge%netscape.com
a06e039410 typedef before switch gets thrown
git-svn-id: svn://10.0.0.236/trunk@69799 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:24:02 +00:00
jst%netscape.com
63ee09a339 Fix .innerHTML regression (from the XIF converter update), and add a null document check.
git-svn-id: svn://10.0.0.236/trunk@69789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:07:36 +00:00
mjudge%netscape.com
9f85d6b917 fixing warnings and some redundant code
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
2974c17256 nsIXifconverter from nsXifConverter
git-svn-id: svn://10.0.0.236/trunk@69547 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:07 +00:00
jst%netscape.com
655ba83b6c Add GetNodeInfo() to nsIContent.
git-svn-id: svn://10.0.0.236/trunk@69416 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:09:28 +00:00
jst%netscape.com
45c41da01c Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter.
git-svn-id: svn://10.0.0.236/trunk@69414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:46:59 +00:00
sfraser%netscape.com
4fffbe0b2f Fix 38949 -- setSelectionRange broken by mjudge checking in nsGfxTextControlFrame2 stuff prematurely.
git-svn-id: svn://10.0.0.236/trunk@69280 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:47:19 +00:00
jst%netscape.com
6a6910e73a Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201.
git-svn-id: svn://10.0.0.236/trunk@69265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:49:16 +00:00
mjudge%netscape.com
2f9bd42697 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
hyatt%netscape.com
c29836f8bc XBL now works with HTML, XUL, SVG, MathML, and XML!
git-svn-id: svn://10.0.0.236/trunk@68891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:40 +00:00
jst%netscape.com
7d56950918 XPCOM methods that return a success call *must* set their output parameters, this fixes part of the crash in bug 35257 (crash setting selectedIndex for SELECT not in DOM tree).
git-svn-id: svn://10.0.0.236/trunk@68880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:01:25 +00:00
jst%netscape.com
1ffbd8f19c Fixing the .value and .defaultValue properties on textarea's, this fixes bugs 32795 and 32799.
git-svn-id: svn://10.0.0.236/trunk@68865 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:27 +00:00
jst%netscape.com
0fd553eb01 Input element type names are now all lower case, this is required for mozilla to be compatible with all other existing browsers (even if the DOM spec says otherwize). This fixes bug 32368.
git-svn-id: svn://10.0.0.236/trunk@68846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 13:56:40 +00:00
buster%netscape.com
bc5c011434 fixed bug 24770
git-svn-id: svn://10.0.0.236/trunk@68807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:09:55 +00:00
karnaze%netscape.com
e50286dff6 bug 33976 - make non numeric border value 1.
git-svn-id: svn://10.0.0.236/trunk@68593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 17:15:56 +00:00
attinasi%netscape.com
0c6d39b35f Fixed the BodyBackground rule to propagate the backgound color when the background color is cleared as well as set. b=11491
git-svn-id: svn://10.0.0.236/trunk@68506 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:56:02 +00:00
attinasi%netscape.com
2b8dd98033 QuirkMode: support for background="" to override the table inheriting the background down to the cells.
git-svn-id: svn://10.0.0.236/trunk@68504 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:48:38 +00:00
jst%netscape.com
5b124bedb6 Fixing bug 35598, HTMLInputElement.click() wasn't working properly. r=joki
git-svn-id: svn://10.0.0.236/trunk@68466 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:44:43 +00:00
erik%netscape.com
7430aa9ab0 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre


git-svn-id: svn://10.0.0.236/trunk@68421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:04:36 +00:00
jst%netscape.com
11ac5cc7a6 Fixing bug 35276, flush all pending reflow notifications before requsting geometry from the frames, this makes the HTML element properties offsetXXX correct values even if requested immediately after a reflow was generated.
git-svn-id: svn://10.0.0.236/trunk@68393 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:25:49 +00:00
rods%netscape.com
6951fd7de5 button and input button content nodes now cancel all mouse click events except mouse up/down
b=38083


git-svn-id: svn://10.0.0.236/trunk@68233 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 13:57:35 +00:00
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