Commit Graph

2038 Commits

Author SHA1 Message Date
pollmann%netscape.com
55a8fc8526 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com 2000-09-08 04:52:57 +00:00
sfraser%netscape.com
76a1ca49fb Fix the tree bustage. r=jst 2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu
c2cbfd2d6d Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi
2000-09-08 02:05:09 +00:00
pollmann%netscape.com
4262a79a1f Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com 2000-09-08 01:46:00 +00:00
akkana%netscape.com
3c2341c61c 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
morse%netscape.com
f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
hyatt%netscape.com
cccbddadec Patch to enable event.originalTarget on input fields. r=joki 2000-09-07 02:47:52 +00:00
ftang%netscape.com
fe633c6d96 fix bug 50654. r=nhotta take care " in the charset 2000-09-06 20:41:12 +00:00
rods%netscape.com
d21753a7fc For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
2000-09-06 14:02:44 +00:00
jst%netscape.com
4e563c4a15 Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com 2000-09-06 05:03:34 +00:00
dbaron%fas.harvard.edu
c9392da530 Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi 2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu
8c105459ae Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi 2000-09-06 02:15:18 +00:00
rods%netscape.com
2ec6128d8f fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk
2000-09-05 13:37:16 +00:00
dbaron%fas.harvard.edu
c3bbbaf9c8 Fix build warning by renaming variable. r=disttsc@bart.nl 2000-09-05 02:08:41 +00:00
beard%netscape.com
4503140e65 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc 2000-09-02 07:21:57 +00:00
saari%netscape.com
cbf6ecc1f7 fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt 2000-09-02 04:59:44 +00:00
jst%netscape.com
3e82d91d63 Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com 2000-09-01 23:23:35 +00:00
harishd%netscape.com
4668b6e263 7670 - Enable NOSCRIPT.
r=jst
2000-09-01 18:17:43 +00:00
jst%netscape.com
7fec4da1ce Comment and whitespace change... 2000-09-01 08:24:00 +00:00
jst%netscape.com
7aa7ed7f6d Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
vidur%netscape.com
e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pollmann%netscape.com
1b49ca7042 Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com 2000-09-01 00:48:47 +00:00
jst%netscape.com
ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
rods%netscape.com
f90be81a55 Notifying the doc that an attribute is changed is the wrong approach
Making "REFLOW" be the hint for when rows or cols attrs are changed
Not doing it for input text it seems to work fine without
b=50280
2000-08-30 21:59:53 +00:00
locka%iol.ie
11358c799f Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:06 +00:00
nisheeth%netscape.com
b65a3881e0 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
akkana%netscape.com
2c350ddd30 Fix a warning I introduced yesterday, and add a safety check 2000-08-29 23:29:52 +00:00
rods%netscape.com
8507f2d98b Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk
2000-08-29 01:50:31 +00:00
akkana%netscape.com
76b85d375c Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:18:53 +00:00
akkana%netscape.com
22f88b737e Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:17:44 +00:00
akkana%netscape.com
e01a11631a 41868 and 45994: Call parser to determine inline vs. block. r=harishd 2000-08-28 23:47:11 +00:00
attinasi%netscape.com
87e7fd47e2 Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com 2000-08-28 23:44:05 +00:00
jst%netscape.com
df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
warren%netscape.com
3ec392431b Bug 15623. Fixed registration of nsKeygenHandler. 2000-08-25 18:48:50 +00:00
rods%netscape.com
239bac387a changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
waterson%netscape.com
9c85e83202 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
jst%netscape.com
1c85ae898c Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com 2000-08-25 01:57:28 +00:00
rods%netscape.com
7f0dcda2ea Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
cltbld%netscape.com
7f50eca4d0 Fixing solaris bustage -jst,mcafee 2000-08-23 21:38:20 +00:00
jst%netscape.com
75698e4585 Fix for Solaris bustage. 2000-08-23 20:41:13 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
rods%netscape.com
835eb1c7c3 adds base href/target info to a form
b=34656 r=pollmann,harishd
2000-08-23 10:29:49 +00:00
rods%netscape.com
2838a98adc In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk
2000-08-23 10:28:28 +00:00
jband%netscape.com
5b1229a9a8 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
jst%netscape.com
bd22259260 Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com 2000-08-22 04:14:53 +00:00
ftang%netscape.com
2b20c4ed57 fix bug 21312. r=nhotta. Store the charset decision into the cache and reuse it later. 2000-08-21 23:16:43 +00:00
waterson%netscape.com
4eb1b2b3b0 Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron 2000-08-20 21:57:50 +00:00
warren%netscape.com
a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
attinasi%netscape.com
1139956e4c Fixed the application of the BodyFixupRule so that it is only created when the BODY element has the HTML element as its parent. b=17911 r=dbaron@fas.harvard.edu 2000-08-18 20:38:29 +00:00
jst%netscape.com
51dc0dea7d Fixing nsbeta3+ bug 31539. Adding support for the 4.x DOM property 'text' on links. r=pollmann@netscape.com 2000-08-18 07:46:58 +00:00
jst%netscape.com
f8d31e1884 Fxing nsbeta3+ bug 45680. Cloning an HTML element with a style attribute didn't clone the style declaration in the element so changing the style on the clone resulted in a style change for both elements. Also fixing a few memory leaks in nsHTMLTableElement. r=pollmann@netscape.com 2000-08-18 06:52:31 +00:00
waterson%netscape.com
038c1f7d4b Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth 2000-08-18 06:33:34 +00:00
pollmann%netscape.com
c23f5f7fb6 Bug 47281: form.reset now generates a reset event, and the frame is notified from the event handling code. r=jst@netscape.com 2000-08-18 05:18:01 +00:00
ftang%netscape.com
87f5cb86aa *** empty log message *** 2000-08-18 00:47:03 +00:00
harishd%netscape.com
8540cbd4f7 bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann
2000-08-17 20:55:48 +00:00
pierre%netscape.com
a4a9237d47 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start" 2000-08-17 13:28:18 +00:00
dbaron%fas.harvard.edu
d828a22239 Fix leak of strings used as hash table keys. r=waterson b=48880 2000-08-16 23:16:21 +00:00
dbaron%fas.harvard.edu
74fd1f046f Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi 2000-08-16 23:04:42 +00:00
alecf%netscape.com
1f1df4833b fix a bunch of UMRs r=syd
(no bug but I needed these to get my purify build going)
2000-08-16 07:39:38 +00:00
waterson%netscape.com
f7e7ca5d51 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +00:00
saari%netscape.com
0d2ab064c2 undoing hackery and fixing a leak. r=dbaron 2000-08-12 22:19:55 +00:00
hyatt%netscape.com
8da2baf3ca Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
sfraser%netscape.com
a3f4e3fcd0 Fix typo, bug 48616. r=pollmann 2000-08-12 01:42:04 +00:00
pierre%netscape.com
5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
mccabe%netscape.com
651f462b43 Spelling fix. 2000-08-11 20:31:17 +00:00
dbaron%fas.harvard.edu
370ac10052 Fix huge leak warren introduced last night. Changing the hash keys to have owning pointers caused circular ownership. r=waterson b=48373 (nsbeta3+) 2000-08-10 20:08:30 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
harishd%netscape.com
fdf725dc17 36944 - USe NS_VMREFRESH_NO_SYNC to refresh
r=kmcclusk
2000-08-09 22:30:36 +00:00
dbaron%fas.harvard.edu
edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
saari%netscape.com
6ea350941c hack part deux for testing for leak increase 2000-08-09 02:59:44 +00:00
sfraser%netscape.com
10d894e672 Fix Windows compiler suckage. Fixes bustage. 2000-08-09 00:27:38 +00:00
sfraser%netscape.com
9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
saari%netscape.com
4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
pierre%netscape.com
8c26256cb6 47138: Some invalid units are not resulting in dropped declarations. 15174: counter() and counters() should not be recognized by CSS parser. 2000-08-08 00:34:42 +00:00
dbaron%fas.harvard.edu
a0923a0d16 Fix potential leak. r=attinasi a=waterson 2000-08-07 03:06:22 +00:00
pierre%netscape.com
e85c205893 attempt to fix the SunOS build 2000-08-05 06:39:42 +00:00
pierre%netscape.com
1d4805ae87 9816 (Outlines should be disabled completely for FCS) 46562 ('display: run-in' disables whole declaration block) 45804 (In quirks mode, 0 in 'border' should set the width, not the color) 46547 (Background image not centered correctly) Thanks to emk <VYV03354@nifty.ne.jp> 2000-08-05 04:40:03 +00:00
pierre%netscape.com
f807d71a05 46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD) 2000-08-05 04:39:43 +00:00
pierre%netscape.com
712ba3287b 43420 (textarea inherits align="center" from parent td) 2000-08-05 04:37:57 +00:00
cata%netscape.com
b8880f180c Fix for bug #37543, a=ftang, r=nhotta. 2000-08-05 00:07:03 +00:00
attinasi%netscape.com
7701e70031 Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre 2000-08-04 20:44:08 +00:00
jst%netscape.com
c8bd99c6ab Checking in for Vidur (merging from SeaMonkey_M17_BRANCH). Fixing nsbeta2+ bug 9392, removing code that was hiding the correct native code for document.plugins. r=jst@netscape.com, a=nisheeth@netscape.com 2000-08-04 06:55:53 +00:00
pollmann%netscape.com
a49ef987bb Bug 3326: ISINDEX frame; r=kmcclusk 2000-08-03 23:45:50 +00:00
pollmann%netscape.com
d2670521ef Bug 40394: Strip only one leading LF if there is one; r=harishd 2000-08-03 22:19:43 +00:00
pollmann%netscape.com
c0143af2df Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd 2000-08-03 22:17:14 +00:00
pollmann%netscape.com
91e1eed21f Bug 34418: image input can't be submitted by space or enter; r=harishd 2000-08-03 22:11:57 +00:00
pollmann%netscape.com
d2a1288a4b 7913 Dynamic changing of ROWS and COLS for framesets; r=kmcclusk 2000-08-03 22:02:50 +00:00
rods%netscape.com
92c1ebc132 The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)
b=42972 r=kmcclusk
2000-08-02 22:06:37 +00:00
ftang%netscape.com
511e6b5315 fix 45430. patch proposed by beard@netscape.com r=ftang a=ftang
fix memory leak
2000-08-02 05:08:15 +00:00
heikki%netscape.com
a21f2617ea Bug 41599 browser crashes when executing function with certain name such as Click(). Fixed by stopping recursion. r=saari. 2000-08-01 21:40:38 +00:00
ftang%netscape.com
9a8d1b7ef7 fix bug 5313. Change "acceptcharset" to "accept-charset" according to
HTML 4.0 section 17.13.4 r=nhotta a=ftang
2000-07-31 00:35:20 +00:00
heikki%netscape.com
4df9edb205 Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd). 2000-07-28 21:48:08 +00:00
attinasi%netscape.com
5b3ec0dcbb Fixed bug 44396: LINK elements now act like links when they have generated content. b=44396 r=dbaron 2000-07-28 20:57:08 +00:00
attinasi%netscape.com
b9127374e1 Fixed bug 44199: fixed position background images were not being treated as fixed in all cases. b=44199 r=dbaron 2000-07-28 20:50:57 +00:00
hyatt%netscape.com
dccf9dcff0 Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:51 +00:00
harishd%netscape.com
d65b30ae01 Migrating beta2+ fix
----------------------------

45975 - Making sure that the stack position doesn't become negative.
Note: This is a HACK for beta2. The real fix will go in for beta3.

r=jst
a=nisheeth
2000-07-28 01:01:08 +00:00
attinasi%netscape.com
dece6a14f7 Trunk fix: bug 29061, where relative width value of '*' was getting 0 instead of 1. Simple fix, r=karnaze b=29061 2000-07-28 00:37:02 +00:00
dbaron%fas.harvard.edu
0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
dbaron%fas.harvard.edu
a09c77e4d1 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00