1463 Commits

Author SHA1 Message Date
vidur%netscape.com
4755c2cf84 Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58156 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:35:47 +00:00
pollmann%netscape.com
6f3477c21c Bug 20315: Adding comment r=buster
git-svn-id: svn://10.0.0.236/trunk@58063 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 02:40:45 +00:00
tor%cs.brown.edu
88a2a05091 build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
git-svn-id: svn://10.0.0.236/trunk@57971 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 17:06:08 +00:00
brade%netscape.com
d11ba75c81 initialize all fields of mouseEvent; r=joki
git-svn-id: svn://10.0.0.236/trunk@57945 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:22:09 +00:00
pollmann%netscape.com
036af632b7 Bug 14419 (1 of 4): Fix typo!
git-svn-id: svn://10.0.0.236/trunk@57890 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:21:51 +00:00
vidur%netscape.com
0a0f3496b6 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
git-svn-id: svn://10.0.0.236/trunk@57888 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:02:27 +00:00
pollmann%netscape.com
706c1afd62 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57873 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:42:56 +00:00
pollmann%netscape.com
c082b8b9d4 Fix warning r=harishd
git-svn-id: svn://10.0.0.236/trunk@57871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
7bb9a0c5e5 r=pollmann. Fix for bug 22237.
git-svn-id: svn://10.0.0.236/trunk@57870 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:41:22 +00:00
sspitzer%netscape.com
24fd826e2a backing out andreas and warren
git-svn-id: svn://10.0.0.236/trunk@57840 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:01:56 +00:00
hyatt%netscape.com
f9a7976334 Partial fix for 18604. r=pav
git-svn-id: svn://10.0.0.236/trunk@57814 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:57:31 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
warren%netscape.com
41d0793ce9 Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren
git-svn-id: svn://10.0.0.236/trunk@57808 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:50:03 +00:00
jdunn%netscape.com
b9ad524691 Fix somemore of slamm's warnings
r= rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57712 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:19:20 +00:00
karnaze%netscape.com
ff253260b5 bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
git-svn-id: svn://10.0.0.236/trunk@57635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:29:38 +00:00
rods%netscape.com
1dd43b69a7 the call to Init was in the wrong place
b 23697 r=dcone


git-svn-id: svn://10.0.0.236/trunk@57552 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:02:12 +00:00
pierre%netscape.com
35e03cffb3 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)
git-svn-id: svn://10.0.0.236/trunk@57465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:19:14 +00:00
rods%netscape.com
81946ff625 click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@57417 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:33:36 +00:00
pollmann%netscape.com
836ef6cf4d Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
git-svn-id: svn://10.0.0.236/trunk@57374 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:21:24 +00:00
hyatt%netscape.com
2c9879296b adding behavior property to CSS. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
akkana%netscape.com
7b2f1553b5 Use if instead of switch, to eliminate warnings. r=slamm
git-svn-id: svn://10.0.0.236/trunk@57337 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:24:29 +00:00
pierre%netscape.com
c298b593a6 12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
git-svn-id: svn://10.0.0.236/trunk@57251 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:23:44 +00:00
pierre%netscape.com
69860e814f Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
git-svn-id: svn://10.0.0.236/trunk@57197 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:11:10 +00:00
pierre%netscape.com
1de0179819 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).
git-svn-id: svn://10.0.0.236/trunk@57196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:09:00 +00:00
akkana%netscape.com
bf073d110f Fix a huge slew of warnings. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57141 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:20:58 +00:00
pollmann%netscape.com
9184319076 Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd
git-svn-id: svn://10.0.0.236/trunk@57077 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:54:23 +00:00
pollmann%netscape.com
b1c96fac8e Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
git-svn-id: svn://10.0.0.236/trunk@57074 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:44:42 +00:00
pollmann%netscape.com
87cfdd40c4 Bug 21768: always release mForm in SetForm to prevent leak. r=harishd
git-svn-id: svn://10.0.0.236/trunk@57073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:41:51 +00:00
vidur%netscape.com
64f5d889e2 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57043 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:19:41 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
4a4cce66b8 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
vidur%netscape.com
54d2a3169c Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56917 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:10:06 +00:00
jfrancis%netscape.com
798e103ac4 fixing unix horkage
git-svn-id: svn://10.0.0.236/trunk@56716 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 04:03:28 +00:00
vidur%netscape.com
7bc5864a19 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
git-svn-id: svn://10.0.0.236/trunk@56711 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:13 +00:00
sspitzer%netscape.com
39c4302028 bulletproofing fix for crash reported in #22811
git-svn-id: svn://10.0.0.236/trunk@56605 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
db432aac87 fix for pierre's warnings. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@56494 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 18:35:35 +00:00
vidur%netscape.com
d562441874 Removing warnings. a=don r=waqar
git-svn-id: svn://10.0.0.236/trunk@56444 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:47:15 +00:00
pierre%netscape.com
ab167ecc58 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


git-svn-id: svn://10.0.0.236/trunk@56387 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:27:10 +00:00
pierre%netscape.com
325e90f476 Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
git-svn-id: svn://10.0.0.236/trunk@56361 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 05:00:47 +00:00
vidur%netscape.com
7807cb01cf 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
git-svn-id: svn://10.0.0.236/trunk@56334 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:55:38 +00:00
vidur%netscape.com
c34925bd34 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
git-svn-id: svn://10.0.0.236/trunk@56332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:51:58 +00:00
vidur%netscape.com
e8816c32e3 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
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
waterson%netscape.com
aac4344739 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56323 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:41:42 +00:00
jband%netscape.com
191411b358 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


git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
mscott%netscape.com
283b96bec8 fix a memory leak involving the global context
git-svn-id: svn://10.0.0.236/trunk@56123 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:46:11 +00:00
mccabe%netscape.com
8be12a7ac1 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.


git-svn-id: svn://10.0.0.236/trunk@56089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 09:06:41 +00:00
saari%netscape.com
d975dd1d01 Fix for PDT+ bug 21536. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56069 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:34:43 +00:00
mjudge%netscape.com
ed4df3718e oops forgot to remove 2ND! line from makefile
git-svn-id: svn://10.0.0.236/trunk@56037 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:22:07 +00:00
mjudge%netscape.com
4704ff3a85 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.
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
vidur%netscape.com
021a42b33f Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55999 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:34:17 +00:00