1737 Commits

Author SHA1 Message Date
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
jst%netscape.com
f37851bcbd In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
mjudge%netscape.com
dd4523397c changing nsXifconverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:29 +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
mjudge%netscape.com
2c8848032c changing nsXifconverter to nsIXIFconverter
git-svn-id: svn://10.0.0.236/trunk@69545 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:25 +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
pollmann%netscape.com
b84faceff5 Bug 35573: Fix part of a webshell leak, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@69300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:53:38 +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
attinasi%netscape.com
6cf3f832c5 Preventing processing of style links if the HREF is empty. b=30817, r=harishd
git-svn-id: svn://10.0.0.236/trunk@68914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:05:13 +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
michael.lowe%bigfoot.com
89eff2adf7 Implement CSS3 cursors on Windows
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +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
d24292d0d4 Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.
git-svn-id: svn://10.0.0.236/trunk@68471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:05:19 +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
harishd%netscape.com
c823ed3de6 Changed a parameter ( nsVector to nsVoidArray ).
to add support for KEYGEN.


git-svn-id: svn://10.0.0.236/trunk@68410 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:39:12 +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
pierre%netscape.com
77cf922fa7 18817 and 35872 "Compatibility mode testing should be reviewed". eDTDMode_noquirks was used instead of eDTDMode_strict. Another fix from VYV03354@nifty.ne.jp, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@68263 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:53:18 +00:00
attinasi%netscape.com
f89065c311 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838
git-svn-id: svn://10.0.0.236/trunk@68259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:02 +00:00
attinasi%netscape.com
921df5eb29 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:36: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
rickg%netscape.com
7be87c598e fixed DTDMode regression
git-svn-id: svn://10.0.0.236/trunk@68211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:54:04 +00:00
jst%netscape.com
b15a5bb348 New files needed for getComputedStyle(). Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@68182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:07:33 +00:00
attinasi%netscape.com
5f1b41704f Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800.
git-svn-id: svn://10.0.0.236/trunk@68153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:12:58 +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
waterson%netscape.com
235aa7a8f3 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@68116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:30 +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
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +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
jst%netscape.com
ca090e77c3 Fix for bug #30492 and last part of #9876. Setting a style property to an empty string through the DOM now removes the property.
git-svn-id: svn://10.0.0.236/trunk@67782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:59:54 +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
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +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
jst%netscape.com
b1edeeb86a Hooking up document.getSelection() for html documents to return a string so that we're compatible with 4.x.
git-svn-id: svn://10.0.0.236/trunk@67533 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:05:45 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +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
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
attinasi%netscape.com
d5aa4c73cb Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208
git-svn-id: svn://10.0.0.236/trunk@67349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:51:06 +00:00
mstoltz%netscape.com
dae11b0075 Removed getOwner() function from nsIStreamLoader. getChannel() now fulfills this function.
git-svn-id: svn://10.0.0.236/trunk@67343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:30:27 +00:00