900 Commits

Author SHA1 Message Date
vidur%netscape.com
1fc69f769b Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +00:00
attinasi%netscape.com
010367b83d Removed unused argument statements for elimination of warnings. No functional changes.
git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 13:54:39 +00:00
vidur%netscape.com
825e97e024 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
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
hyatt%netscape.com
63e01360a2 Adding behavioral rules for inputs and textareas.
git-svn-id: svn://10.0.0.236/trunk@58916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:44:35 +00:00
attinasi%netscape.com
a4a9391a2f Title is now set in the Title Bar. b=24478 r=rickg
git-svn-id: svn://10.0.0.236/trunk@58863 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:15:19 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
norris%netscape.com
bf2113353a Fix 24217 Access to functions in chrome: protocol using IFRAME
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58787 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:29:43 +00:00
pollmann%netscape.com
d4d213cde2 Bug 10939: Make background of image inputs transparent (again :) ) r=harishd
git-svn-id: svn://10.0.0.236/trunk@58737 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 06:26:59 +00:00
norris%netscape.com
153ee04b50 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


git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
nisheeth%netscape.com
26ad5f5255 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.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
michael.lowe%bigfoot.com
6856aa06f0 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
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
rods%netscape.com
b3556a9f91 explicitly setting the ":button-content" rule to be "left" justified for input inside of a select.
this got broke when the gernic case was set to "center"
bug 24356 r=dcone


git-svn-id: svn://10.0.0.236/trunk@58300 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 15:56:43 +00:00
hyatt%netscape.com
bb4cf88bdc Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:06 +00:00
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
evaughan%netscape.com
03c87d94d3 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod
git-svn-id: svn://10.0.0.236/trunk@58111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:29:22 +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
pierre%netscape.com
be89173da7 Bug #24099. Spelled 'right' right, it was spelled 'rigth' which ain't 'right'.
git-svn-id: svn://10.0.0.236/trunk@57988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 02:05:06 +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
pollmann%netscape.com
1f1acffd70 Bug 16253: Update form margins to be the same as Nav and IE's (this checkin has no effect on layout until 23388 is fixed) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57614 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:59:22 +00:00
rods%netscape.com
f9c33eabfc added border-box and font-family to the default "input"
removed extra background-color for select
r=kmcclusk b 17303


git-svn-id: svn://10.0.0.236/trunk@57548 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 15:35:10 +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
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
rods%netscape.com
5af9a779d8 removed the ">" from the select/option rules
changed the background-color to inherit for the display area
b=23475,23288 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@57308 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 00:11:09 +00:00
rods%netscape.com
924e5fa1c9 fixed up several of the combobbox css rules to make them more efficient
(general optimization)r=kmcclusk,hangas


git-svn-id: svn://10.0.0.236/trunk@57228 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:09:08 +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
pierre%netscape.com
40c5f98e07 Tiny part of bug 15316: removed the line-height from H5.
git-svn-id: svn://10.0.0.236/trunk@57195 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:06:17 +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
f70927eba7 Bug 16218: Create webshell for frames with no src to allow js manipulation r= harishd
git-svn-id: svn://10.0.0.236/trunk@57079 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 06:18:48 +00:00
pollmann%netscape.com
3458d7d408 Bug 18316: Safer way to adjust frame sizes - prevent possible UMR and segfaults r=harishd
git-svn-id: svn://10.0.0.236/trunk@57075 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:49:20 +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
buster%netscape.com
95de53dcad fixed bugs 18447 and 18216
simple changes to default style sheet for input elements
r=rods


git-svn-id: svn://10.0.0.236/trunk@56980 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:56:13 +00:00
karnaze%netscape.com
619f9e6d57 bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
git-svn-id: svn://10.0.0.236/trunk@56648 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-02 22:55:48 +00:00
rods%netscape.com
91ebb6a147 addjusted fonts in several of the form controls. most now inherit
tightened up some of the rules for the select
r=buster,hangus,kmcclusk bug 19426,17303,17114


git-svn-id: svn://10.0.0.236/trunk@56392 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:43:30 +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
tbogard%aol.net
b5cb13131e Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +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
pollmann%netscape.com
a31c8c8d4c Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56002 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:09:10 +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
vidur%netscape.com
dc826a1336 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.
git-svn-id: svn://10.0.0.236/trunk@55997 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:11:19 +00:00
pollmann%netscape.com
b78c738e4a 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
git-svn-id: svn://10.0.0.236/trunk@55936 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:45:06 +00:00
ftang%netscape.com
17cbeb77e7 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
sfraser%netscape.com
a945951480 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428).
git-svn-id: svn://10.0.0.236/trunk@55869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 22:47:39 +00:00
vidur%netscape.com
7ddd31965b Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55838 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 03:36:50 +00:00
buster%netscape.com
25d1324f5d bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55796 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:18:38 +00:00
vidur%netscape.com
2d4baee02f Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg
git-svn-id: svn://10.0.0.236/trunk@55792 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:10:22 +00:00
rickg%netscape.com
53f36f30cd unintentionally commited. Backing out
git-svn-id: svn://10.0.0.236/trunk@55774 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:05:14 +00:00
rickg%netscape.com
9e042dd8f4 fixed bug 21146; r=buster; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55770 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:54:08 +00:00
vidur%netscape.com
f09059d2c6 Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy
git-svn-id: svn://10.0.0.236/trunk@55705 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:47:05 +00:00
akkana%netscape.com
422c14fe78 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser


git-svn-id: svn://10.0.0.236/trunk@55681 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:16 +00:00