836 Commits

Author SHA1 Message Date
mjudge%netscape.com
44d73d55a6 fixing relative div position bug with autoscroll
git-svn-id: svn://10.0.0.236/trunk@70128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:41:38 +00:00
jst%netscape.com
37eb02ba89 Fix invalid nsString useage.
git-svn-id: svn://10.0.0.236/trunk@70054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:43:32 +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
cmanske%netscape.com
7bf34e9d29 Select table column and row support (20973). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:03:13 +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
3b35449119 Make .localName always return the local name, even if there's no namespace on the node.
git-svn-id: svn://10.0.0.236/trunk@69943 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:17:14 +00:00
jst%netscape.com
a4819fdc9d Implementing getElementsByTagNameNS() for XML and HTML documents.
git-svn-id: svn://10.0.0.236/trunk@69931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:55:05 +00:00
jst%netscape.com
5510b53036 Pass the name without the prefix to the DOM script object factory...
git-svn-id: svn://10.0.0.236/trunk@69898 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:48:38 +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
82191df631 fixing legal issues
git-svn-id: svn://10.0.0.236/trunk@69794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:19:25 +00:00
mjudge%netscape.com
6a5229782e fixing output from selection piece
git-svn-id: svn://10.0.0.236/trunk@69793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:18:30 +00:00
jst%netscape.com
f5a0f1d857 More utility frunctions in nsINodeInfoManager.
git-svn-id: svn://10.0.0.236/trunk@69699 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:45:32 +00:00
jst%netscape.com
27b545ecc0 Adding more utility functions to nsINodeInfo.
git-svn-id: svn://10.0.0.236/trunk@69669 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 18:34:35 +00:00
jst%netscape.com
4c2e2d1d03 Implementing DOM hasFeature() and supports().
git-svn-id: svn://10.0.0.236/trunk@69664 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 13:08:00 +00:00
jst%netscape.com
c032dc3b39 Add support for DOM Level 2 document.defaultView
git-svn-id: svn://10.0.0.236/trunk@69608 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:08:53 +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
4f704d5fd3 fixing redundant calls to notify selection listeners
git-svn-id: svn://10.0.0.236/trunk@69556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:10:16 +00:00
mjudge%netscape.com
a7aed95683 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
git-svn-id: svn://10.0.0.236/trunk@69541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:07:34 +00:00
mjudge%netscape.com
02b5705ec7 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them
git-svn-id: svn://10.0.0.236/trunk@69540 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:06:37 +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
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
053748f710 Fixing bug 38357. Passing a document node to nsRange::SelectNode() crashed mozilla, now it properly throws the exception INVALID_NODE_TYPE_ERR if the node type is incorrect. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:44:44 +00:00
nisheeth%netscape.com
bf1e322201 Add support for loading an XML document from script within a XUL document also.
git-svn-id: svn://10.0.0.236/trunk@69088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:02:32 +00:00
jst%netscape.com
6ef78288c3 Support replacing the doctype in a document.
git-svn-id: svn://10.0.0.236/trunk@69048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:52:08 +00:00
jst%netscape.com
e863b5d840 Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose
git-svn-id: svn://10.0.0.236/trunk@69044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 18:19:46 +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
ftang%netscape.com
6d1f2c96e8 fix bug in the SaveDocument code.
git-svn-id: svn://10.0.0.236/trunk@68983 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:52:02 +00:00
hyatt%netscape.com
0c036a1b14 Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings.
git-svn-id: svn://10.0.0.236/trunk@68970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:15:47 +00:00
hyatt%netscape.com
e21033e3c4 Fix leak.
git-svn-id: svn://10.0.0.236/trunk@68952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:09:45 +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
bcd798824b Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:29:44 +00:00
mjudge%netscape.com
78a87d2108 forgot to initialize this
git-svn-id: svn://10.0.0.236/trunk@68628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:48 +00:00
mjudge%netscape.com
62b4efbac4 tabbing
git-svn-id: svn://10.0.0.236/trunk@68627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:26 +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
dprice%netscape.com
9e6c72d5c4 fix for 38253 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:37:27 +00:00
shaver%mozilla.org
ab6d79c646 first part of ContentPolicy stuff (#37983, r=brendan)
git-svn-id: svn://10.0.0.236/trunk@68347 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:28:49 +00:00
karnaze%netscape.com
a84a1ee61a bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:16:42 +00:00
mjudge%netscape.com
e5b2003819 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
waterson%netscape.com
c00b9422fb Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:58 +00:00
waterson%netscape.com
134b68dc77 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:20 +00:00
waterson%netscape.com
1fc2b711d9 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:34:10 +00:00
mjudge%netscape.com
8d3cfc61b9 new api for limiter in selection
git-svn-id: svn://10.0.0.236/trunk@67846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:44:17 +00:00
sfraser%netscape.com
5d806b0567 Add null check.
git-svn-id: svn://10.0.0.236/trunk@67741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:50:18 +00:00
kin%netscape.com
b748362cc1 Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 18:21:30 +00:00
hyatt%netscape.com
4b5e1f3bf4 Fix scrollbar stylesheet relative to ua stylesheet.
git-svn-id: svn://10.0.0.236/trunk@67712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:58:07 +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
hyatt%netscape.com
283f4ca371 Adding support for other backstop style sheets.
git-svn-id: svn://10.0.0.236/trunk@67584 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:32:51 +00:00
karnaze%netscape.com
47f205f65f new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00