Граф коммитов

2068 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com f7cec2cb2b Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson
2000-09-22 00:43:40 +00:00
pierre%netscape.com 3cfd5c30d9 fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster 2000-09-21 10:21:23 +00:00
jst%netscape.com 6e53f5662f Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan 2000-09-21 02:42:46 +00:00
jst%netscape.com ac39c5e211 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth 2000-09-20 05:12:44 +00:00
harishd%netscape.com 715a0d19de 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]
2000-09-19 22:35:50 +00:00
heikki%netscape.com c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
jst%netscape.com 1a5288822d Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
jst%netscape.com a72320d2a1 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki 2000-09-19 05:11:59 +00:00
joki%netscape.com 0267aa3dd3 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst 2000-09-15 06:15:31 +00:00
rpotts%netscape.com 792c2c3c30 Removed two bogus asserts... 2000-09-15 06:13:11 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
morse%netscape.com a0648104b0 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd 2000-09-14 18:59:47 +00:00
dbaron%fas.harvard.edu 19bd466446 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
pinkerton%netscape.com 3a03377767 before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541. 2000-09-14 08:47:46 +00:00
jst%netscape.com 347b9460b5 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org 38e1cdde57 if you want a pointer to characters, you're going to have to |.get()| it 2000-09-13 08:21:04 +00:00
scc%mozilla.org cfbee28623 if you want a pointer to the characters, your going to have to |.get()| it 2000-09-13 04:47:36 +00:00
scc%mozilla.org f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
kandrot%netscape.com 861c2cc6cb Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
harishd%netscape.com 6aab716011 Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst
2000-09-12 21:18:50 +00:00
akkana%netscape.com f9508b7d47 36082: don't load contents of script tag if script evaluation is off. r=brendan 2000-09-11 22:27:53 +00:00
rods%netscape.com 8405e126aa stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd
2000-09-11 21:21:40 +00:00
vidur%netscape.com 580c3f4c4b Added missing HTML tags. r=jst 2000-09-10 07:04:30 +00:00
rods%netscape.com e50b4c7bdd reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi
2000-09-09 22:18:53 +00:00
jst%netscape.com a29c8269e1 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pollmann%netscape.com a5c145257d Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com 2000-09-09 01:22:01 +00:00
pnunn%netscape.com 7a62c0d377 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
valeski%netscape.com a0ab5edcee 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
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