Commit Graph

1561 Commits

Author SHA1 Message Date
attinasi%netscape.com
4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com
0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
pollmann%netscape.com
04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
pollmann%netscape.com
fa1dd2cd6c Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
mjudge%netscape.com
b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jst%citec.fi
48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
vidur%netscape.com
7b323ad68c Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com
0970222b53 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
buster%netscape.com
2b193cb97b bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
valeski%netscape.com
384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
waterson%netscape.com
0624ff054a Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
warren%netscape.com
eb18579d03 Propagating return code. r=vidur,joki 2000-02-04 03:06:56 +00:00
vidur%netscape.com
8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
valeski%netscape.com
a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
akkana%netscape.com
a06aa3ece0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me 2000-02-02 22:47:24 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
attinasi%netscape.com
3dcb1df4fd Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze
2000-02-02 01:15:04 +00:00
rods%netscape.com
0fc9226d56 returning the correct return code instead of NS_OK
r=dcone, no bug
2000-02-01 22:42:19 +00:00
hyatt%netscape.com
d8922c0918 Fix for 25883. 2000-02-01 00:20:26 +00:00
vidur%netscape.com
ee7036593f Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth 2000-01-31 23:39:19 +00:00
attinasi%netscape.com
b1eb24a0ce Removed unused argument statements for elimination of warnings. No functional changes. 2000-01-31 13:54:39 +00:00
saari%netscape.com
d9e9b714fd Fix for bug 22264. r=hyatt 2000-01-29 04:05:03 +00:00
vidur%netscape.com
e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
pollmann%netscape.com
c0d425d34b Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods 2000-01-28 23:29:36 +00:00
pierre%netscape.com
421af19ae9 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
warren%netscape.com
20da4f3233 Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
e455fbcd9f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver
2000-01-28 04:37:13 +00:00
karnaze%netscape.com
bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
hyatt%netscape.com
1c22fd031b Making input and text area elements bindable using XBL. 2000-01-27 09:01:49 +00:00
vidur%netscape.com
94e7ff67cd Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki 2000-01-27 08:51:54 +00:00
jim_nance%yahoo.com
a77a2365a0 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson
2000-01-27 02:28:52 +00:00
attinasi%netscape.com
1f1bc14154 Title is now set in the Title Bar. b=24478 r=rickg 2000-01-27 02:15:19 +00:00
vidur%netscape.com
bc7a946fe0 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki 2000-01-26 15:52:41 +00:00
norris%netscape.com
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
danm%netscape.com
bc85a078d1 notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands 2000-01-26 01:24:41 +00:00
rods%netscape.com
8cfebc4bd7 changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk
2000-01-25 15:38:49 +00:00
norris%netscape.com
8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
pierre%netscape.com
0ff017366d Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
nisheeth%netscape.com
22a5959edb Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
hyatt%netscape.com
4c802430de Fix for a minor little bug I introduced into GetChecked (that only happened with
trees).  Thanks to jdunn for spotting it.  r=matejka, a=chofmann
2000-01-19 22:18:57 +00:00
hyatt%netscape.com
0684563f95 Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
vidur%netscape.com
139af65fa1 Missed necessary cleanup in last checkin. r=pollmann 2000-01-19 01:34:07 +00:00
vidur%netscape.com
84b751a2f5 Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann 2000-01-19 01:29:04 +00:00
vidur%netscape.com
7aa3c33c9c Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
pollmann%netscape.com
572e8726ef Bug 20315: Adding comment r=buster 2000-01-18 02:40:45 +00:00
tor%cs.brown.edu
28e11c285f build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls 2000-01-16 17:06:08 +00:00
brade%netscape.com
b027afa2cf initialize all fields of mouseEvent; r=joki 2000-01-15 17:22:09 +00:00
pollmann%netscape.com
70ac93177d Bug 14419 (1 of 4): Fix typo! 2000-01-15 02:21:51 +00:00
vidur%netscape.com
e296114aae Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann 2000-01-15 02:02:27 +00:00
pollmann%netscape.com
64687ce411 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd 2000-01-15 01:42:56 +00:00
pollmann%netscape.com
72bb036628 Fix warning r=harishd 2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
0ca3802c6a r=pollmann. Fix for bug 22237. 2000-01-15 01:41:22 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
hyatt%netscape.com
69df0c827f Partial fix for 18604. r=pav 2000-01-14 09:57:31 +00:00
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
jdunn%netscape.com
4298ad260d Fix somemore of slamm's warnings
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
karnaze%netscape.com
d41822031d bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
rods%netscape.com
8c47faf8b8 the call to Init was in the wrong place
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
pierre%netscape.com
51f04bcd0c 17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp) 2000-01-12 00:19:14 +00:00
rods%netscape.com
7660b3c8ea click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
pollmann%netscape.com
6386c5da71 Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd 2000-01-11 07:21:24 +00:00
hyatt%netscape.com
21a48fa26a adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
akkana%netscape.com
4a587b7765 Use if instead of switch, to eliminate warnings. r=slamm 2000-01-11 02:24:29 +00:00
pierre%netscape.com
4951a0cfe4 12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical. 2000-01-10 03:23:44 +00:00
pierre%netscape.com
f1d11fe977 Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix 2000-01-08 10:11:10 +00:00
pierre%netscape.com
e3c8ebdcf3 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored). 2000-01-08 10:09:00 +00:00
akkana%netscape.com
6bd97592f1 Fix a huge slew of warnings. r=pavlov 2000-01-08 01:20:58 +00:00
pollmann%netscape.com
503e31aa83 Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd 2000-01-07 05:54:23 +00:00
pollmann%netscape.com
f4fabef2c3 Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd 2000-01-07 05:44:42 +00:00
pollmann%netscape.com
bf4a2db81e Bug 21768: always release mForm in SetForm to prevent leak. r=harishd 2000-01-07 05:41:51 +00:00
vidur%netscape.com
c215dee1c7 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann 2000-01-07 00:19:41 +00:00
vidur%netscape.com
b845753fb6 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
vidur%netscape.com
61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
vidur%netscape.com
d82bc260b2 Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann 2000-01-06 01:10:06 +00:00
jfrancis%netscape.com
e639415da3 fixing unix horkage 2000-01-04 04:03:28 +00:00
vidur%netscape.com
bd52d69467 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd 2000-01-04 03:06:13 +00:00
sspitzer%netscape.com
0f984615d6 bulletproofing fix for crash reported in #22811 1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
8f529ac7b8 fix for pierre's warnings. r=bienvenu 1999-12-23 18:35:35 +00:00
vidur%netscape.com
33e0ceef3c Removing warnings. a=don r=waqar 1999-12-22 22:47:15 +00:00
pierre%netscape.com
bdf8bc768d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
pierre%netscape.com
855dc040ea Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet. 1999-12-22 05:00:47 +00:00
vidur%netscape.com
9e76aeb0ba Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth 1999-12-22 01:55:38 +00:00
vidur%netscape.com
272db862ac Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth 1999-12-22 01:51:58 +00:00
vidur%netscape.com
70de582cc6 Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
waterson%netscape.com
44416b6765 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley 1999-12-22 01:41:42 +00:00
jband%netscape.com
ef9c82db1e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
mscott%netscape.com
ab9aa71baa fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
mccabe%netscape.com
74f7b8e000 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
saari%netscape.com
720f6babe8 Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
mjudge%netscape.com
1748e117b2 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
mjudge%netscape.com
7831406607 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
vidur%netscape.com
1ad5cd8dd9 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur%netscape.com
f05a2f0ff4 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
pollmann%netscape.com
5c697ae32f Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
ftang%netscape.com
2a8449664a fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00