2974 Commits

Author SHA1 Message Date
jst%netscape.com
e8443d3679 Adding new file for shared container elements. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@123513 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 20:03:54 +00:00
bzbarsky%mit.edu
adea31703d Check the status code of HTTP channels before blindly loading the
sheet.  Bug 112644, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@123493 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:46:11 +00:00
bzbarsky%mit.edu
8e8e728a62 fix rendering of <font size="+0">. Bug 150022, r=doron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123492 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:42:40 +00:00
bzbarsky%mit.edu
9d76728323 fix build bustage -- views are not refcounted
git-svn-id: svn://10.0.0.236/trunk@123485 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 01:01:54 +00:00
bzbarsky%mit.edu
bd8809da27 NS4 measures image.x/image.y from the enclosing layer, not from the
body.  Bug 130415, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@123477 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 23:45:21 +00:00
bryner%netscape.com
b848d573e1 Fix crasher 151568 caused by my checkin for focus bug 131651. r=dbaron, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@123405 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 23:38:06 +00:00
mstoltz%netscape.com
3cba7a04ae 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@123373 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:54:18 +00:00
glazman%netscape.com
fa208cf299 Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
b=148501, r=brade, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@123313 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 12:36:43 +00:00
glazman%netscape.com
caec6c87e9 fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123208 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 08:29:51 +00:00
mstoltz%netscape.com
8324b9ee2c Backing out fix for 135267 - this patch requires another change that hasn't gone in yet.
git-svn-id: svn://10.0.0.236/trunk@123192 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 22:49:14 +00:00
mstoltz%netscape.com
4a618befec Fixing 135267 - don't allow access to style rules loaded from a different
host. r=dveditz, sr=scc.


git-svn-id: svn://10.0.0.236/trunk@123189 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 21:20:17 +00:00
jkeiser%netscape.com
b39021ec8c Make pressing enter submit by clicking the first button in form even if there is only one textfield in form. bug 147850, r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123143 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:50:45 +00:00
jkeiser%netscape.com
43ad149022 Comment form submission more thoroughly. bug 148466, r=alexsavulov@netscape.com, rs=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123142 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:39:08 +00:00
jkeiser%netscape.com
2e33319f15 Make select.selectedIndex = 3; clear all selections in multiple select. bug 77039, r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123141 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:36:57 +00:00
jkeiser%netscape.com
53396e1fbd Make input type=hidden save/restore value. bug 149962, r=rods, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123140 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 06:35:11 +00:00
bryner%netscape.com
f6cf7c683b Fix the situation where clicking a link that has a mousedown handler which opens a window would erroneously send a blur to the newly-opened window (bug 131651). r=saari, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@123133 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 05:00:35 +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
jkeiser%netscape.com
e7b5e6e67f Fire onSubmit event when enter pressed in no-submit-button forms (bug 149685). r=peterv, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@122906 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 23:00:17 +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
rods%netscape.com
83ef4246aa Check for null dom content before doing QI
Bug 148760 r=jkesier sr=jst


git-svn-id: svn://10.0.0.236/trunk@122673 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 12:06:59 +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
jkeiser%netscape.com
0c2a8f4e96 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
jst%netscape.com
cd8c0a0283 Attempting to fix bug 138900. Avoid multiple calls to LoadSrc() in iframe elements while the document is being built. This should speed up pageloads for pages with iframes on them. r=jkeiser@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122469 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 01:15:57 +00:00
dbaron%fas.harvard.edu
3fad646b6d Convert the 4 tables of the RuleHash from nsHashtable to pldhash. Encapsulate the differences between tables, and the quirks/strict differences within the id and class tables, in the 6 sets of hashtable ops. Remove mCaseSensitive member and related code from AtomKey and remove nsInt32Key completely. Null-terminate lists of RuleValues rather than using a special mEndValue, and build the lists in the reverse order (reversing the meaning of their index). Store universal rules in their own list rather than using magic key. b=112318 sr=waterson r=brendan
git-svn-id: svn://10.0.0.236/trunk@122246 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 00:49:44 +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
dbaron%fas.harvard.edu
ce23b316f1 Fix checking of checkboxes inside their label by not sending the duplicate event if the click was already within the form control. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@122042 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:23:12 +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
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
glazman%netscape.com
e22242dc35 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121925 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:33:25 +00:00
glazman%netscape.com
5ba41690ab output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121922 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 08:16:42 +00:00
jkeiser%netscape.com
2f1b928eaa Fix crasher regression from bug 74091. bug 74091, r=dbaron@fas.harvard.edu, sr=
jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@121908 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 02:11:05 +00:00
jst%netscape.com
00ab30aef5 Fixing typo in assert...
git-svn-id: svn://10.0.0.236/trunk@121904 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:26:27 +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
97546aa3a6 Backing out a small part of jkeiser's fix for bug 74091 which caused bug 145741. CallQueryInterface() is not null safe. r=harishd@netscape.com. sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121876 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 18:48:00 +00:00
dbaron%fas.harvard.edu
778a1c0cc9 Limit the quirk that prevents dynamic pseudo-classes from applying to quirks mode, to :hover and :active only, and to a stricter definition of global selectors, since we no longer have to worry about performance problems. b=96984 sr=attinasi r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@121850 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-19 02:05:29 +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
jst%netscape.com
408871e30b Fixing bug 145064. Don't throw exceptions when asking for .pathname n' friends on types of URI's that don't support the property in question. r=bzbarsky@mit.edu, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121789 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:31:23 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
jkeiser%netscape.com
2f9a0e53c7 Make option text show up when option changes. bug 136885, r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121666 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:27:13 +00:00
jkeiser%netscape.com
de1df5e67d Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121660 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:26:05 +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
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jkeiser%netscape.com
cd01f90b57 Make submit() and reset() work as events. bug 144534, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121507 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 01:24:59 +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
bzbarsky%mit.edu
0133886ac9 Fix blocker 143917 -- wrong form being submitted for nested
forms.  Patch by jkeiser, r=bzbarsky/peterv sr=jst/shaver


git-svn-id: svn://10.0.0.236/trunk@121384 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:22:30 +00:00
bzbarsky%mit.edu
954d9659e2 Initialize the hint, just in case. Bug 139968, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121339 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 23:26:44 +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
0985b9ce27 make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121183 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:05:25 +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