667 Commits

Author SHA1 Message Date
harishd%netscape.com
8418999fec Implemented DumpContent() for parser regression test.
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:42 +00:00
jst%netscape.com
6472af28e8 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
jst%netscape.com
6c1fd2d1d4 Checking in fix for nsbeta2+ bug 38821, the fix was written by rusty.lynch@intel.com. The problem was that nsIDOMHTMLEmbedElement wasn't implemented by nsHTMLEmbedElement and the script object created for the element was a normal HTMLElement script object and not a HTMLEmbedElement script object on non-unix platforms. r=me
git-svn-id: svn://10.0.0.236/trunk@70831 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:26:32 +00:00
jst%netscape.com
9060265f7d Fixing bug nsbeta2+ bug 40197, accessing .href on anchors with no href attribute returned the base URL in stead of an empty string, same problem exists and is fixed with this checkin for images. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:37:26 +00:00
jst%netscape.com
893943c05f Fixing nsbeta2+ bug #24958, script.text never contained the actual script source, now it gets the script source from the textnodes inside the script element. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:02:40 +00:00
tor%cs.brown.edu
efcfd8f795 SUNWspro5.0 build bustage fix - remove extra semicolon after a
body which confuses the compiler. a=brendan


git-svn-id: svn://10.0.0.236/trunk@70566 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 02:14:17 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
joki%netscape.com
32e51cfc6e More support for onresize and onscroll, bug 960
git-svn-id: svn://10.0.0.236/trunk@70364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:53:58 +00:00
attinasi%netscape.com
708f094d44 Fix for table cell border styles: standard mode no longer applies the NavQuirks -moz-bg-inset style for HTML border attribute. Patch from VYV03354@nifty.ne.jp for bug 35586, thanks yet again! r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70329 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:05:44 +00:00
jst%netscape.com
afd6b8cd47 Fix bug 33111, crash when creating an applet element from JS, now we no longer crash but dynamically creating applets doesn't work yet.
git-svn-id: svn://10.0.0.236/trunk@70267 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:01:57 +00:00
rods%netscape.com
9a0fe99280 Anchors now reg and unreg their access keys in SetDocument
Bug 959 r=joki (verbally)


git-svn-id: svn://10.0.0.236/trunk@70258 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:11:47 +00:00
jst%netscape.com
b13543b1c3 Redo to fix for 35321 and fix 35319.
git-svn-id: svn://10.0.0.236/trunk@70256 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:09:00 +00:00
akkana%netscape.com
9c85a51b56 Build ender-lite files if MOZ_ENDER_LITE is defined
git-svn-id: svn://10.0.0.236/trunk@70252 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:05:11 +00:00
jst%netscape.com
05b84c1c86 Fixing nsbeta2+ bug #35321 (button.setAttribute('disabled', false) disables button instead of enabling it).
git-svn-id: svn://10.0.0.236/trunk@70241 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:03:10 +00:00
attinasi%netscape.com
9793097100 Fixed a problem where background color could not be cleared once set. b=9151 r=rickg
git-svn-id: svn://10.0.0.236/trunk@70231 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:44:49 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
mjudge%netscape.com
dc2ca0d903 adding switch. not throwing yet
git-svn-id: svn://10.0.0.236/trunk@70184 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:48:45 +00:00
mjudge%netscape.com
01ae2e51da adding ender_lite to the build
git-svn-id: svn://10.0.0.236/trunk@70172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:30:00 +00:00
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