jkeiser%netscape.com
d73bc69f1a
Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
andreas.otte%debitel.net
fa69b03848
fix bug 166085 [Assertion constructing about: URIs
...
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 22:04:03 +00:00
jfrancis%netscape.com
6cf80b2b8c
fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz
...
git-svn-id: svn://10.0.0.236/trunk@128445 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 08:17:41 +00:00
shanjian%netscape.com
5d1c227024
#162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
...
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
henry.jia%sun.com
d4a65691fd
Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
...
Patch by leon.zhang@sun.com
r=Henry, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +00:00
seawood%netscape.com
823af36499
Removing unused defines:
...
_IMPL_NS_BASE (bug #162142 )
_IMPL_NS_GFXONXP (bug #162145 )
_IMPL_NS_UI (bug #162183 )
B_ONE_M (bug #162196 )
XP_NEW_SELECTION (bug #162230 )
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
0fccde2c29
respect content-style-type HTTP header and support the <meta> tag in
...
XML. Bug 161268, r=peterv, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@126516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:48 +00:00
bzbarsky%mit.edu
cddc8ec348
<object> should be in form.elements. Bug 127847, r=jkeiser, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@126485 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 08:32:19 +00:00
jkeiser%netscape.com
701be434fb
Make save/restore work for all forms, not just the first (bug 138892), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@125331 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:38:51 +00:00
jst%netscape.com
ce2c73b7b7
Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@124818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:49:58 +00:00
mstoltz%netscape.com
8946598190
Bug 152725 - Get URL passed to cookie module from document principal, not document URL.
...
THis ensures that cookies set by javascript URL pages are set in the correct domain.
r=morse, sr=dveditz.
git-svn-id: svn://10.0.0.236/trunk@124514 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 17:58:24 +00:00
bzbarsky%mit.edu
819a2aa815
Expose document.referrer for image documents. Bug 155052, r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124446 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 00:08:46 +00:00
dbaron%fas.harvard.edu
ee63eedd77
Correcting comment. r=bzbarsky b=153032
...
git-svn-id: svn://10.0.0.236/trunk@124269 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 06:31:30 +00:00
harishd%netscape.com
cba309a0c0
Make marquee tag a block level element. b=154173, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124152 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
timeless%mac.com
d82a6cb235
Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',
...
r=bz sr=jst
so much for consistency, the bug fix was errant in its parallelism and caused a crash
thanks to jonsmirl@yahoo.com for pointing out the correct index var
git-svn-id: svn://10.0.0.236/trunk@124050 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 23:49:02 +00:00
dbaron%fas.harvard.edu
7c4652cc16
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
timeless%mac.com
c865cd2a92
Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@123996 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 06:47:53 +00:00
shanjian%netscape.com
447b7a35cc
#102407 Unexpected instances of POSTDATA warning messages [form sub]
...
Swap the priority of weakdoc charset and default charset.
disable auto detection for POST document.
r=ftang, sr=darin
git-svn-id: svn://10.0.0.236/trunk@123131 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 04:18:31 +00:00
harishd%netscape.com
2f67ab9c46
Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
alecf%netscape.com
6ebda75c34
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
...
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
jkeiser%netscape.com
65ed9147ab
Bug 125578.
...
git-svn-id: svn://10.0.0.236/trunk@122629 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:46:30 +00:00
dbaron%fas.harvard.edu
36706675ec
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
...
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
jst%netscape.com
9dc48e1db8
Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
pete.zha%sun.com
5894b69ba2
bug 143168:remove ilayer layer tag from mozilla code
...
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com )'s fix
git-svn-id: svn://10.0.0.236/trunk@121590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:08:15 +00:00
caillon%returnzero.com
00ebc565e0
Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
radha%netscape.com
2ae3fea654
Removing a printf from a previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@121188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:35:02 +00:00
bzbarsky%mit.edu
171fd440e2
Fix off-by-one-char error that caused hang. Bug 142290, r=caillon, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121169 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:41:51 +00:00
jkeiser%netscape.com
4fd4a3d9c6
Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
jkeiser%netscape.com
6fecd9e30b
Remove DemoteForm. Sweet, sweet revenge--may you rest in peace. bug 90756, r=harishd@netscape.com, sr=vidur@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121130 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:29:23 +00:00
jst%netscape.com
a9a7bb82fa
Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
mkaply%us.ibm.com
c54005fdf8
OS/2 bustage - forgot to remove it in header
...
git-svn-id: svn://10.0.0.236/trunk@119366 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:05:03 +00:00
mkaply%us.ibm.com
77d458f0c1
OS/2 bustage - no PR_CALLBACK here
...
git-svn-id: svn://10.0.0.236/trunk@119344 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:33:00 +00:00
jst%netscape.com
e489d07941
Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@119336 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:25:35 +00:00
jst%netscape.com
bd884250a1
Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@119332 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:49:39 +00:00
harishd%netscape.com
c996b9fb65
Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +00:00
jst%netscape.com
67ee650f45
Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
timeless%mac.com
2a70c77497
Bug 137780 lots of warnings about unhandled enum and a complaint about
...
using an unscoped nsCOMPtr in a switch
r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@119114 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:09:53 +00:00
caillon%returnzero.com
d283e6e7a2
Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
harishd%netscape.com
4737cceba4
Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
dbaron%fas.harvard.edu
1e850f52c6
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
harishd%netscape.com
a6dd951b3e
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
...
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c
Backing out timeless's checkin. This wasn't supposed to happen until we branched
...
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
jkeiser%netscape.com
6d34e23b51
Fix recursion in content sink causing pageload crashes (bug 133669), r=harishd@netscape.com, sr=jst@netscape.com, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 00:47:43 +00:00