Commit Graph

3795 Commits

Author SHA1 Message Date
jst%netscape.com
becea1f607 Adding computed style implementation to the build, and make it compile on windows. 2000-05-17 04:57:50 +00:00
jst%netscape.com
a3033059a1 Store XUL attribute names as nsINodeInfos. 2000-05-17 04:53:16 +00:00
jst%netscape.com
d96d339f9d Store attribute names in XML elements as nsINodeInfos plus some general DOM cleanup. 2000-05-17 04:52:09 +00:00
jst%netscape.com
3e04e7e66d Fix bug 33111, crash when creating an applet element from JS, now we no longer crash but dynamically creating applets doesn't work yet. 2000-05-17 04:01:57 +00:00
jst%netscape.com
041468c960 Fix getElementsByTagName() regression. 2000-05-17 03:47:06 +00:00
rods%netscape.com
fbf4bfcbf3 Anchors now reg and unreg their access keys in SetDocument
Bug 959 r=joki (verbally)
2000-05-17 03:11:47 +00:00
jst%netscape.com
ba107f4775 Redo to fix for 35321 and fix 35319. 2000-05-17 03:09:00 +00:00
mjudge%netscape.com
c39baffac3 removing debug messages 2000-05-17 03:07:31 +00:00
akkana%netscape.com
0f8537dc64 Build ender-lite files if MOZ_ENDER_LITE is defined 2000-05-17 03:05:11 +00:00
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sfraser%netscape.com
280b9c7ce9 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown. 2000-05-17 02:23:59 +00:00
jst%netscape.com
0e663a2153 Fixing nsbeta2+ bug #35321 (button.setAttribute('disabled', false) disables button instead of enabling it). 2000-05-17 02:03:10 +00:00
mjudge%netscape.com
6c570245c2 missing {} around a block 2000-05-17 02:02:20 +00:00
attinasi%netscape.com
dd5ffceab5 Fixed a problem where background color could not be cleared once set. b=9151 r=rickg 2000-05-17 01:44:49 +00:00
pinkerton%netscape.com
037f62f55f another tweak for tooltips to work on html content. thanks to Robert O'Callahan for the patch. 2000-05-17 01:02:36 +00:00
rickg%netscape.com
254958d0b8 one more tweak to entity redction code 2000-05-17 00:51:26 +00:00
joki%netscape.com
0eb60a8925 Part of fix for DOMEvent::GetCurrentTarget. 2000-05-17 00:40:22 +00:00
joki%netscape.com
9a82121abd Part of fix for 4163, enable 4.x dragdrop event 2000-05-17 00:31:36 +00:00
jst%netscape.com
930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
mjudge%netscape.com
107a430682 adding switch. not throwing yet 2000-05-16 23:48:45 +00:00
mjudge%netscape.com
f16704b1d2 adding ender_lite to the build 2000-05-16 23:30:00 +00:00
mjudge%netscape.com
f56b42799d fixing relative div position bug with autoscroll 2000-05-16 22:41:38 +00:00
pollmann%netscape.com
79732e0849 Bug 32746 (2 of 3): Make iframe borders respond to both css and frameborder attribute. r=harishd 2000-05-16 21:56:02 +00:00
rickg%netscape.com
efb8525da7 checking in fix for 39281 2000-05-16 20:27:45 +00:00
joki%netscape.com
0d79eb280f Fix for bug 39422, fix use of event.target from JS. a:leaf, r:vidur 2000-05-16 18:46:38 +00:00
jst%netscape.com
9a0cc5b94f Fix invalid nsString useage. 2000-05-16 14:43:32 +00:00
joki%netscape.com
413e75a4d4 Commenting out until we can figure out what mac wants here. 2000-05-16 13:27:10 +00:00
joki%netscape.com
494a7daf96 Fix bustage 2000-05-16 12:49:04 +00:00
joki%netscape.com
d53ca62337 Fix for bustage 2000-05-16 11:36:34 +00:00
joki%netscape.com
a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
joki%netscape.com
d7557a57a5 Adding accesskey support. Bug 959. 2000-05-16 10:22:20 +00:00
jst%netscape.com
780fa4b8f1 Cleaning up GetNodeName() in preparation for swiching mozilla over to a DOM Level 2 compliant .nodeName property. 2000-05-16 03:22:25 +00:00
cmanske%netscape.com
acad8adcca Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
shaver%mozilla.org
2da0ab457d 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_.
2000-05-16 02:43:33 +00:00
jst%netscape.com
adab725bd3 Make .localName always return the local name, even if there's no namespace on the node. 2000-05-16 02:17:14 +00:00
jst%netscape.com
62324c1e44 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
jst%netscape.com
81e8c37fef Pass the name without the prefix to the DOM script object factory... 2000-05-15 22:48:38 +00:00
attinasi%netscape.com
14623c747b Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron 2000-05-15 22:30:27 +00:00
rickg%netscape.com
c3c9c9c825 fixed edge case in entity reduction code 2000-05-15 20:37:01 +00:00
jst%netscape.com
798ded8a8e Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
jst%netscape.com
dc1f400d01 Fixing build bustage if PR_LOGGING was defined. 2000-05-15 19:15:14 +00:00
jst%netscape.com
8130b732fa Adding support for document.createElementNS() for XUL documents. 2000-05-15 19:02:30 +00:00
mjudge%netscape.com
61fbed4f1b removing comment on code 2000-05-15 14:25:52 +00:00
mjudge%netscape.com
f67e2e21a7 typedef before switch gets thrown 2000-05-15 14:24:02 +00:00
mjudge%netscape.com
6e60f28e28 fixing legal issues 2000-05-15 14:19:25 +00:00
mjudge%netscape.com
de897049e6 fixing output from selection piece 2000-05-15 14:18:30 +00:00
jst%netscape.com
df963dfb2a Fix .innerHTML regression (from the XIF converter update), and add a null document check. 2000-05-15 14:07:36 +00:00
dbaron%fas.harvard.edu
15a4c992b7 Fix leak of namespace manager. r=waterson@netscape.com 2000-05-15 13:11:06 +00:00
rickg%netscape.com
cb303580f6 fixed bugs: 37417 and 26023 2000-05-15 07:27:55 +00:00
ben%netscape.com
c1fb66d25c checking in support for script block children on XBL <handler> elements. r=hyatt 2000-05-15 07:19:35 +00:00
brendan%mozilla.org
d342c244b9 Warning abatement. 2000-05-15 06:20:14 +00:00
bryner%uiuc.edu
5884370784 Hook up text enlarge/reduce with ctrl+mousewheel. bug
25427.  r=erik@netscape.com.
2000-05-15 02:10:11 +00:00
jst%netscape.com
1ecefec3cc More WIP on getComputedStyle(), not part of the build yet. 2000-05-15 01:59:05 +00:00
jst%netscape.com
b9c54d8a6a Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet. 2000-05-15 01:58:26 +00:00
jst%netscape.com
3ef6dbd214 WIP for getComputedStyle(). 2000-05-15 01:33:27 +00:00
jst%netscape.com
63e304e863 Implementing createElementNS(). 2000-05-14 23:55:04 +00:00
jst%netscape.com
cb9ed532cf More utility frunctions in nsINodeInfoManager. 2000-05-14 23:45:32 +00:00
scc%netscape.com
db4332e617 string fixes 2000-05-14 23:06:18 +00:00
jst%netscape.com
371b328515 Support wildcard ('*') for namespaceURI in getElementsByTagNameNS(). 2000-05-14 19:37:40 +00:00
harishd%netscape.com
991ed3414f Enabling NOLAYERS by default ( since we don't support LAYER tag ).
r=vidur

Putting webshellservice into parser bundle for use by observer base.

r=nisheeth
2000-05-14 19:25:06 +00:00
jst%netscape.com
4b767ec567 Adding more utility functions to nsINodeInfo. 2000-05-14 18:34:35 +00:00
jst%netscape.com
dc3303e559 Implementing getElementsByTagNameNS() in the XUL document. 2000-05-14 18:14:30 +00:00
jst%netscape.com
bfb27a83a7 Implementing DOM hasFeature() and supports(). 2000-05-14 13:08:00 +00:00
scc%netscape.com
c99391a385 string fixes 2000-05-14 08:10:00 +00:00
jst%netscape.com
33ae0e1c7e Make processing instructions implement nsIDOMLinkStyle, also did some general cleaning up. 2000-05-14 02:11:44 +00:00
jst%netscape.com
7b59e6951c Add support for DOM Level 2 document.defaultView 2000-05-14 02:08:53 +00:00
hyatt%netscape.com
f5ba3d2ebf XBL changes. 2000-05-13 23:02:12 +00:00
mjudge%netscape.com
6dc5b7a120 removing warning 2000-05-13 22:59:43 +00:00
mjudge%netscape.com
fa4088842d fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
jst%netscape.com
e0f24c4de8 In stead of throwing an exception when the user asks for the owner rule of style sheet we return null. 2000-05-13 18:10:24 +00:00
mjudge%netscape.com
481c5db0e2 fixing redundant calls to notify selection listeners 2000-05-13 09:10:16 +00:00
mjudge%netscape.com
e9b9d825b4 xuldocument now will output xif/text also changing references from nsXifconverter to nsIXIFConverter 2000-05-13 08:13:54 +00:00
mjudge%netscape.com
e8885126eb nsXifConverter to nsIXIFConverter 2000-05-13 08:13:05 +00:00
mjudge%netscape.com
d3823b7654 changing nsXifconverter to nsIXifConverter 2000-05-13 08:11:29 +00:00
mjudge%netscape.com
b007525646 nsIXifconverter from nsXifConverter 2000-05-13 08:11:07 +00:00
mjudge%netscape.com
2a9f26fef3 changing nsXifconverter to nsIXIFconverter 2000-05-13 08:09:25 +00:00
mjudge%netscape.com
a4c310645c (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters. 2000-05-13 08:07:34 +00:00
mjudge%netscape.com
320b76a769 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them 2000-05-13 08:06:37 +00:00
mkaply%us.ibm.com
4c8a84ce2c # 37239
r= waterson
OS/2 bring up continues - add PR_CALLBACK for VisualAge
2000-05-12 22:23:36 +00:00
jst%netscape.com
f9fe8d6f06 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com
f0dce37b28 Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
ducarroz%netscape.com
3bb8acf4c3 Fix for bug 38757. Need to use a focus listenner in order to make inheriance of focus handlers working. R=hyatt 2000-05-12 06:25:48 +00:00
nisheeth%netscape.com
ad2a582c8d Removing include of windows.h in and ifdef XSL section of the code. Does not affect mozilla build. 2000-05-12 04:40:55 +00:00
jdunn%netscape.com
e38dd762d4 backing out previous change, since axel backed out his autoconf.mk.in change
r= jgaunt@netscape.com
2000-05-12 03:42:02 +00:00
jdunn%netscape.com
2c6f0f9c03 fixing hpux 11.00 build and autobahn's commercial build
I mentioned this to Axel but he was going to bed...
r= jgaunt@netscape.com
2000-05-12 02:42:54 +00:00
pollmann%netscape.com
43db39e1cb Bug 35573: Fix part of a webshell leak, r=nisheeth 2000-05-12 00:53:38 +00:00
axel%pike.org
8d8c4e25d5 Get XSLT going on unix, this one passed previous checkin
patch by andreas otte, r=me
2000-05-11 23:22:37 +00:00
axel%pike.org
6ef3558b79 Getting XSLT going, patch by andreas.otte@primus-online.de
r=me
2000-05-11 23:13:18 +00:00
sfraser%netscape.com
ea15ca6fcd Fix 38949 -- setSelectionRange broken by mjudge checking in nsGfxTextControlFrame2 stuff prematurely. 2000-05-11 22:47:19 +00:00
axel%pike.org
44a79e2240 Get XSLT going for unix, patch by andreas.otte@primus-online.de,
r=jst@netscape.com
2000-05-11 22:45:24 +00:00
saari%netscape.com
127a21c2fc more for 29800 2000-05-11 22:43:32 +00:00
saari%netscape.com
eebb4fa07e First checkin for bug 29800, preventing scrolling to content when focus
memory is resetting focus after deactivating and reactivating a window.
2000-05-11 22:40:51 +00:00
jst%netscape.com
8fff1cbbbd Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201. 2000-05-11 21:49:16 +00:00
mjudge%netscape.com
55912eddb8 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. 2000-05-11 04:25:43 +00:00
jst%netscape.com
327decd731 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 2000-05-11 01:44:44 +00:00
pollmann%netscape.com
ecdfe3c5ca Bug 17605: Don't tab to anchor without an href. r=harishd 2000-05-11 01:43:04 +00:00
nisheeth%netscape.com
2277ba5c45 Add support for loading an XML document from script within a XUL document also. 2000-05-10 23:02:32 +00:00
jst%netscape.com
8d53354702 Support replacing the doctype in a document. 2000-05-10 19:52:08 +00:00
jst%netscape.com
917b5b56a5 Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose 2000-05-10 18:19:46 +00:00
jst%netscape.com
ee4b181034 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. 2000-05-10 13:13:39 +00:00
hyatt%netscape.com
06785d71b0 Fix my bigass leak. 2000-05-10 08:19:43 +00:00
ftang%netscape.com
c872bec44c fix bug in the SaveDocument code. 2000-05-10 03:52:02 +00:00
hyatt%netscape.com
d83baf3529 Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings. 2000-05-10 02:15:47 +00:00
hyatt%netscape.com
b61e063ca5 Fix leak. 2000-05-10 01:09:45 +00:00
attinasi%netscape.com
5a58add342 Preventing processing of style links if the HREF is empty. b=30817, r=harishd 2000-05-09 23:05:13 +00:00
hyatt%netscape.com
c2612a8b6f XBL. 2000-05-09 21:42:57 +00:00
hyatt%netscape.com
334e31b473 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
hyatt%netscape.com
11c8e7cf5c XBL now works with HTML, SVG, MathML, XML, and XUL. 2000-05-09 21:41:01 +00:00
jst%netscape.com
9908615c3b 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). 2000-05-09 21:01:25 +00:00
jst%netscape.com
168af52a62 Fixing the .value and .defaultValue properties on textarea's, this fixes bugs 32795 and 32799. 2000-05-09 19:11:27 +00:00
sfraser%netscape.com
1cf8d8855b Make nsEventStateManger support nsIWeakReference, so that they are not held onto as XPCOM observers. r=saari 2000-05-09 19:04:13 +00:00
jst%netscape.com
0a27ccc601 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. 2000-05-09 13:56:40 +00:00
heikki%citec.fi
2bef66a25f Test files for simple XLink. Not part of build. 2000-05-09 08:26:55 +00:00
heikki%citec.fi
14cbdd72a2 Implemented actuate=onLoad for simple XLinks. r=nisheeth. 2000-05-09 07:30:21 +00:00
buster%netscape.com
0e193a8fad fixed bug 24770 2000-05-09 05:09:55 +00:00
saari%netscape.com
21a17acf81 adding preventDefault to the mousedown event if it pops up a xul popup. This works around a bug where it is possible to have multiple popup listeners for different elements called for one mousedown event. This is a work around for bug 35100. r=hyatt 2000-05-08 23:43:35 +00:00
pinkerton%netscape.com
35f27e9461 fix for 38132, assert when mouse was over html element and a tooltip was registered. two things: make sure we always find the xul document using where the popup is registered not the event target, and try/catch around asking for the attribute since DOM Elements won't have attributes. 2000-05-08 23:21:57 +00:00
pinkerton%netscape.com
2499624f31 don't let context menu show up under mouse so that clicks can more easily dismiss it. bug 27364, thanks dean_tessman@hotmail.com. 2000-05-08 21:24:51 +00:00
hyatt%netscape.com
f2eafecfc7 Add blankrow capability to tree. 2000-05-08 20:51:50 +00:00
jst%netscape.com
02a6c2e0e3 Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com 2000-05-08 14:29:44 +00:00
mjudge%netscape.com
d30a3a5508 forgot to initialize this 2000-05-08 04:00:48 +00:00
mjudge%netscape.com
b0fb7f6753 tabbing 2000-05-08 04:00:26 +00:00
karnaze%netscape.com
468f2bd6da bug 33976 - make non numeric border value 1. 2000-05-07 17:15:56 +00:00
andreas.otte%primus-online.de
657c5c9ac1 working on bug 37616, Retire SetRelativePath, removing last usage of SetRelativePath, r=warren@netscape.com, a=buster@netscape.com 2000-05-07 10:35:40 +00:00
rjc%netscape.com
b0f9f4a94a Whitespace cleanup. 2000-05-07 08:43:42 +00:00
michael.lowe%bigfoot.com
468689c637 Implement CSS3 cursors on Windows 2000-05-07 05:14:43 +00:00
attinasi%netscape.com
010ad97dcd Fixed the BodyBackground rule to propagate the backgound color when the background color is cleared as well as set. b=11491 2000-05-06 05:56:02 +00:00
attinasi%netscape.com
bd33a7a095 QuirkMode: support for background="" to override the table inheriting the background down to the cells. 2000-05-06 05:48:38 +00:00
jst%netscape.com
c75b332f44 Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser. 2000-05-06 00:05:19 +00:00
rjc%netscape.com
9ac436086f Fix bug # 20795: can now to specify order of template generated vs. XUL content. 2000-05-06 00:01:01 +00:00
jst%netscape.com
ae0694d136 Fixing bug 35598, HTMLInputElement.click() wasn't working properly. r=joki 2000-05-05 23:44:43 +00:00
waterson%netscape.com
3a3b744651 Bug 34623. Add 'rebuild()' API to XUL elements. 2000-05-05 23:39:59 +00:00
erik%netscape.com
0f1eec05eb 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
2000-05-05 21:04:36 +00:00
waterson%netscape.com
799b5beee6 Bug 34623. Add nsIXULTemplateBuilder.idl. 2000-05-05 20:42:21 +00:00
harishd%netscape.com
8b82778676 Changed a parameter ( nsVector to nsVoidArray ).
to add support for KEYGEN.
2000-05-05 20:39:12 +00:00
joki%netscape.com
8af04cddba Fix for 10574, fix pageX, pageY coords to match 4.x behavior 2000-05-05 14:47:37 +00:00
joki%netscape.com
575d19fecb Adding assertion and null check for mCurrentTarget in PostHandleEvent 2000-05-05 14:43:20 +00:00
jst%netscape.com
23f7ceff9c 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. 2000-05-05 14:25:49 +00:00
dprice%netscape.com
a5c995336b fix for 38253 r=mjudge 2000-05-05 05:37:27 +00:00
shaver%mozilla.org
54a1f23972 first part of ContentPolicy stuff (#37983, r=brendan) 2000-05-05 05:28:49 +00:00
karnaze%netscape.com
a02cdba83c bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
ducarroz%netscape.com
1abe477976 Fix for bug 35687. We need to initialize keyMatched to true. R=hyatt 2000-05-04 22:36:25 +00:00
pierre%netscape.com
11c4b101fd 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. 2000-05-04 21:53:18 +00:00
attinasi%netscape.com
c862485d34 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 2000-05-04 21:41:02 +00:00
attinasi%netscape.com
78953ce816 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com 2000-05-04 21:36:49 +00:00
waterson%netscape.com
8743489395 Bug 38185. Fix ports build bustage. a=brade 2000-05-04 19:57:31 +00:00
rods%netscape.com
9a59e55f40 button and input button content nodes now cancel all mouse click events except mouse up/down
b=38083
2000-05-04 13:57:35 +00:00
rjc%netscape.com
40f7929750 Comment change. 2000-05-04 12:54:11 +00:00
waterson%netscape.com
b833debf12 Bug 37290. Fix 'bindings' implementation to avoid excessive update when re-computing: only index sources that participate in a binding, using bindings rather than lookup to maintain values even for 'simple' rules, lazily compute bindings. Rename 'nsBinding' to 'nsAssertion' to clarify difference. 2000-05-04 09:57:59 +00:00
mjudge%netscape.com
24e9fbcab6 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. 2000-05-04 08:35:42 +00:00