1835 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
pollmann%netscape.com
1826a073a2 Bug 39723: Send only one request to the server when clicking on an image map. r=joki
git-svn-id: svn://10.0.0.236/trunk@72225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 15:02:18 +00:00
attinasi%netscape.com
8fd5c9cbf6 To fix the bug we added support for hspace and vspace attributes in QuirkMode. b=41863 karnaze@netscape.com did part of the fix and we reviewed each others code
git-svn-id: svn://10.0.0.236/trunk@72162 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:59:29 +00:00
jst%netscape.com
bc3e91849d Fixing nsbeta2+ bug 41367, area.pathname incorrectly contained the ref and search parts of the URL. r=vidur
git-svn-id: svn://10.0.0.236/trunk@72161 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:48:34 +00:00
jst%netscape.com
6af64ec54b Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72155 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:06:36 +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
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
jst%netscape.com
65368ac3c2 Fixing nsbeta2+ bug 41487, form controls with the same NAME and ID ended up in the form control list in the form element twice. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71936 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:47:29 +00:00
mjudge%netscape.com
bdb655cbc8 cleaning up 34896 ender-lite with saari's review.
git-svn-id: svn://10.0.0.236/trunk@71916 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:13:03 +00:00
mjudge%netscape.com
188a919a3b turning on ender-lite. bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:19:28 +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
pinkerton%netscape.com
1313748708 if cmd-key (meta) is down, open link in a new window r/a=waterson.
git-svn-id: svn://10.0.0.236/trunk@71857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 02:56:21 +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
attinasi%netscape.com
d263a60d9c Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@71737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:07:57 +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
waterson%netscape.com
24fa99f214 Fix build bustage: inaky.gonzales missed these two cases some how.
git-svn-id: svn://10.0.0.236/trunk@71695 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 03:33:08 +00:00
jst%netscape.com
88161490bf Fixing nsbeta2+ bug 30249, the problem was that the type of various attributes (in the DOM spec) on image elements was string and not number (long), this broke backwards compatibility with 4.x and also compatibility with IE. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71684 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:23:55 +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
pierre%netscape.com
b308cf318d Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618)
git-svn-id: svn://10.0.0.236/trunk@71601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 09:36:12 +00:00
pierre%netscape.com
225e6c27b2 Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618.
git-svn-id: svn://10.0.0.236/trunk@71590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:50:21 +00:00
mkaply%us.ibm.com
9d4a029884 # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:15:32 +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
waterson%netscape.com
f39433e11c Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@71406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:54:35 +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
waterson%netscape.com
aeed9836c3 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:47 +00:00
mstoltz%netscape.com
8d64704489 Fix for 16858 w/o breaking directory browser. r=waterson a=beard
git-svn-id: svn://10.0.0.236/trunk@71307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:57:48 +00:00
attinasi%netscape.com
a9a853f825 Floated elements now get their display type set to a block, in compliance with the CSS1 specification. Also, positioned elements get their float property cleared. b=32200 r=karnaze a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:31:00 +00:00
jst%netscape.com
7fef41cc2b Fixing dogfood+ bug 40571, various problems with multiple form objects with the same name. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71294 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:55: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
attinasi%netscape.com
44c387c3c8 Fixed problem with fixed background images. b=40217 r=mcclusk a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:34:03 +00:00
shaver%mozilla.org
6e2756c80d properly handle updating of class or id, #39642, r=attinasi, a=waterson
git-svn-id: svn://10.0.0.236/trunk@71169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com
112434216b # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
waterson%netscape.com
62f4fbbcad Bug 10373. Percent-encode URLs using the document's original character when returning the 'href' attribute. Cache the computed value once that's been done. Change event code to use GetHref() instead of raw GetAttribute() call. r=buster,warren,erik,attinasi,...
git-svn-id: svn://10.0.0.236/trunk@71124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:48:02 +00:00
waterson%netscape.com
7dfe2a4928 Add nsHTMLUtils.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@71122 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:36:53 +00:00
waterson%netscape.com
07dc1f7530 Bug 10373. Add NS_MakeAbsoluteURIWithCharset() and nsHTMLUtils class. NOT YET IN THE BUILD. r=buster,erik,warren,...
git-svn-id: svn://10.0.0.236/trunk@71116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:12:48 +00:00
pollmann%netscape.com
bf5160c243 Bug 36639: Fix memory leak / stability problems with circular form / form control references r=nisheeth
Bug 13652: Implement select and click methods for form elements r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@71055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 02:45:55 +00:00
jst%netscape.com
1e61aed599 Fixing silly regression I introduced last week when checking in some temporary DOM Level 2 code, HTML element names were not properly uppercased in the DOM. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 20:00:23 +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
waterson%netscape.com
4a050fe624 #if-0 out mstoltz's changes to fix tinderbox.
git-svn-id: svn://10.0.0.236/trunk@70994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:22:39 +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
harishd%netscape.com
8418999fec Implemented DumpContent() for parser regression test.
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:42 +00:00
jst%netscape.com
6472af28e8 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +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