1088 Commits

Author SHA1 Message Date
scc%mozilla.org
85ba05cab0 Fix for an assert that has been bugging rods, particularly when testing with the top 100. The assert is the string |CharAt| out-of-range assert. The problem is the code was iterating off the end of the string to stop at the implicit |'\0'|. But there need not be null termination and accessing outside the strings defined range is bad. Fixed the loop in question to not step outside of the token string, and to iterate more efficiently. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72259 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:39:21 +00:00
jst%netscape.com
67f52e2c7a Fixing nsbeta2+ bug 40944. document.doctype.systemId was always empty in HTML documents. r=nisheeth@netscape.com&heikki@citec.fi
git-svn-id: svn://10.0.0.236/trunk@72237 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:08:19 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
waterson%netscape.com
2a9158632c Bug 38832. An ugly fix: force the <li> to be padded in quirks mode. r=buster
git-svn-id: svn://10.0.0.236/trunk@72007 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:48:05 +00:00
scc%mozilla.org
486908c680 don't try to extract characters from an empty string
git-svn-id: svn://10.0.0.236/trunk@71995 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 09:14:09 +00:00
rickg%netscape.com
d6318bdd3b update viewsource style rules; r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71962 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:50:01 +00:00
mjudge%netscape.com
7b1d52b5a5 fixing leak from earlier chekin. copied code, dont look at me. r=scc bug=34896
git-svn-id: svn://10.0.0.236/trunk@71871 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:19:09 +00:00
jst%netscape.com
f3d0104663 Fixing nsbeta2+ bugs 17351 and 33018, doing document.write(...) on a document in a newly opened window wasn't working properly, the written HTML was replaced by the URL given to window.open(), the fix is to cancel ongoing loads for the new window before starting to write to it. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71812 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:51:06 +00:00
harishd%netscape.com
bab99092a1 40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.


git-svn-id: svn://10.0.0.236/trunk@71803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:32:09 +00:00
waterson%netscape.com
123229267d Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster
git-svn-id: svn://10.0.0.236/trunk@71705 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 06:58:45 +00:00
mjudge%netscape.com
eda43bdbec (accidentaly checked in with no comment before)bug=34896 getting createElementNS implemented for nsHTMLDocument. this should just be implemented in nsDocument with nsXMLDoc inheiriting also. i will do that when m16 is gone. this allows the editor to create its html elements despite being in a xuldocument. r=hyatt a=beppe
git-svn-id: svn://10.0.0.236/trunk@71678 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:17:23 +00:00
mjudge%netscape.com
fcac507ec1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@71677 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:14:08 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
attinasi%netscape.com
3da8003982 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
attinasi%netscape.com
8071a7618a QuirkMode style sheet: b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71390 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:38:33 +00:00
rods%netscape.com
149c755d54 setting legend's border to none so it loks better
b=36065, r=rickg


git-svn-id: svn://10.0.0.236/trunk@71386 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:01:20 +00:00
rods%netscape.com
8eb721e625 this change works better for standard mode and gets around a style bug.
b 38927, r=attinasi


git-svn-id: svn://10.0.0.236/trunk@71378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:03:12 +00:00
rods%netscape.com
12bf4c29f0 added hover cursor change for type=image Bug 40440
made inner rect for focus have inherit for color instead of hard-coded gray Bug 38927
also added quotes to several selectors (i.e. from type=xxx to type="xxx")
r=dcone,attinasi


git-svn-id: svn://10.0.0.236/trunk@71367 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:58:19 +00:00
jbetak%netscape.com
a4c4317408 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71217 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:13:45 +00:00
ben%netscape.com
df2cbe06de forgot this file
git-svn-id: svn://10.0.0.236/trunk@71044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 05:52:42 +00:00
ben%netscape.com
b51c62a35d forgot file
git-svn-id: svn://10.0.0.236/trunk@71042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 04:36:15 +00:00
waterson%netscape.com
e13d529eb4 Oops. I didn't need to do that.
git-svn-id: svn://10.0.0.236/trunk@70996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:49:34 +00:00
waterson%netscape.com
686afe447d #if 0 out mstoltz's changes, which seem to cause tinderbox to hang on test #2
git-svn-id: svn://10.0.0.236/trunk@70995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:48:40 +00:00
rods%netscape.com
746896d6d8 adding padding to disabled radio buttons
set font for html buttons
removed some unneeded rules
commnted out and "disabled" the label property for options
b 40065,39998 r=ekrock,self


git-svn-id: svn://10.0.0.236/trunk@70970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:42:27 +00:00
mstoltz%netscape.com
21edbcf9bf Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@70965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:28:40 +00:00
rusty.lynch%intel.com
74858ca097 Fixed webshell leaks for each textarea/input element for
bug #39796. r=jst a=waterson


git-svn-id: svn://10.0.0.236/trunk@70926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:09:32 +00:00
harishd%netscape.com
7d6ec636e5 Open "rtest_html.txt" file to dump content data..
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:49 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
jst%netscape.com
bdf3919b60 Fixing typo that sneaked in when fixing this mornings mac bustage after fixing bug 36681. r=brade
git-svn-id: svn://10.0.0.236/trunk@70860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:16:06 +00:00
brade%netscape.com
8e4e55a454 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@70848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 15:46:41 +00:00
jst%netscape.com
6bfd494c6d Fixing bug 36681, lastModified date for local files was incorrect. r=dougt@netscape.com, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:03:57 +00:00
shaver%mozilla.org
dc84b2f4de add content-policy hooks to <script> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:29:15 +00:00
harishd%netscape.com
bf18c65a23 Forgot to checkin this file - This should have been a part of
my previous checkin.


git-svn-id: svn://10.0.0.236/trunk@70622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:16:56 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
hyatt%netscape.com
5da5e40053 fix assert for dogfood bug#37854, r=danm
git-svn-id: svn://10.0.0.236/trunk@70469 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:08:27 +00:00
mjudge%netscape.com
b3b4a8464f changing style on dropdown list boxes to not allow selection. a=rickg r=cmanske
git-svn-id: svn://10.0.0.236/trunk@70450 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 18:18:31 +00:00
jst%netscape.com
5399afa0da Fix content list regression I introduced a few days ago when working on DOM namespace support, document.forms and other arrays on HTML document objects never contained any elements! r=vidur, a=leaf
git-svn-id: svn://10.0.0.236/trunk@70407 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:35:19 +00:00
cata%netscape.com
c71947a6d1 Fixing more of the same problem. nsCOMPtr comparisons. Sorry!
git-svn-id: svn://10.0.0.236/trunk@70383 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:40:40 +00:00
cata%netscape.com
ad0e6cd338 Charset override implementation.
git-svn-id: svn://10.0.0.236/trunk@70365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:56:34 +00:00
jst%netscape.com
0c35143f92 Fix getElementsByTagName() regression.
git-svn-id: svn://10.0.0.236/trunk@70265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:47:06 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
rickg%netscape.com
783aed3888 one more tweak to entity redction code
git-svn-id: svn://10.0.0.236/trunk@70220 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:51:26 +00:00
pollmann%netscape.com
4d8371e915 Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:59:23 +00:00
pollmann%netscape.com
dd5751cc82 Bug 32746 (1 of 3): Make iframe borders compatible with IE's precedent here, inset rather than solid border. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:45:55 +00:00
rickg%netscape.com
0696c6177e checking in fix for 39281
git-svn-id: svn://10.0.0.236/trunk@70081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:27:45 +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
buster%netscape.com
64de8f0ada bug 29772
r=rods
added style rules to show text cursor over text and password input fields (except disabled fields)


git-svn-id: svn://10.0.0.236/trunk@69927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:25:44 +00:00
rods%netscape.com
7038a1008c minor changes to the disabled look for selects
b=35307


git-svn-id: svn://10.0.0.236/trunk@69888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:22:24 +00:00
rickg%netscape.com
44ebbe32f8 fixed edge case in entity reduction code
git-svn-id: svn://10.0.0.236/trunk@69847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:37:01 +00:00
mjudge%netscape.com
6a58aacae2 removing comment on code
git-svn-id: svn://10.0.0.236/trunk@69801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:25:52 +00:00