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

4053 Коммитов

Автор SHA1 Сообщение Дата
peterv%propagandism.org 77b4c8d68a Remove redundant nsDocument::CreateElement function. r/sr=jst 2004-07-22 14:54:49 +00:00
dbaron%dbaron.org 7e59447e8d Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky 2004-07-21 21:20:14 +00:00
dbaron%dbaron.org cdfbc24f0a Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky 2004-07-20 06:11:27 +00:00
bzbarsky%mit.edu eed5e27bad Fix offsetWidth,clientWidth and scrollWidth for empty block elements. Bug
186516, r+sr=roc
2004-07-18 20:40:52 +00:00
bzbarsky%mit.edu 23673826b6 Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst. 2004-07-18 19:40:44 +00:00
roc+%cs.cmu.edu e0a7bb0095 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron%dbaron.org 45c8de80a6 Clean up string usage in nsFont::EnumerateFamilies and nsCSSStyleSheet.cpp's ValueIncludes, although not all the other places to which this pattern was copied. b=235755 r+sr=roc 2004-07-17 19:03:13 +00:00
dbaron%dbaron.org f2d5d6aac6 Back out again (except indentation fix). b=236889 2004-07-16 23:28:36 +00:00
dbaron%dbaron.org f1aa7d5490 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload. 2004-07-16 22:55:42 +00:00
dbaron%dbaron.org 4da6a59fbe Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron%dbaron.org e4fd9c5b92 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload. 2004-07-16 20:26:39 +00:00
jst%mozilla.jstenback.com 23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
dbaron%dbaron.org a278b260f5 Trim unneeded includes to speed up compilation. b=64023 r+sr=jst 2004-07-16 06:32:16 +00:00
bzbarsky%mit.edu 89005ed71c Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
jst%mozilla.jstenback.com e3726ac002 Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org 2004-07-15 05:24:40 +00:00
bzbarsky%mit.edu 91e6373bba Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron%dbaron.org 678827b364 Make :active hierarchical. b=65917 r+sr=bzbarsky 2004-07-14 22:27:24 +00:00
dbaron%dbaron.org 3e623876f0 Ensure chrome: URLs stay that way so theme switching code doesn't get confused, even though most chrome: stylesheet loads don't come through this codepath. b=226791 r+sr=bzbarsky 2004-07-14 22:21:07 +00:00
dbaron%dbaron.org 4847dc9d90 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
dbaron%dbaron.org 8722abfd09 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
dbaron%dbaron.org a5d71df614 Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin 2004-07-14 21:56:23 +00:00
dbaron%dbaron.org 4075eaa0ad Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky 2004-07-14 21:52:19 +00:00
aaronleventhal%moonset.net b713fd9ebb Bug 250692. Can't select in textarea with tabindex. r=bryner, sr=jst, a=mkaply 2004-07-12 20:59:40 +00:00
cbiesinger%web.de 84c0d8d35e bug 250230 call base class's HandleEvent even if aPresContext is NULL
r=aaronl sr=jst a=sspitzer,dveditz
2004-07-08 18:41:54 +00:00
aaronleventhal%moonset.net b5c3acd891 Fix big regression with mouse events in content caused by checkin to bug 171366. Just changes NS_OK back to NS_OK as we had in original sr='d patch. 2004-07-07 03:35:46 +00:00
aaronleventhal%moonset.net 1f6e33dc7a Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
dbaron%dbaron.org 92c9034866 Use string comparators more to simplify code. b=249172 r+sr=bryner 2004-07-06 23:29:31 +00:00
tor%cs.brown.edu be84fdf585 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst
2004-07-06 22:52:03 +00:00
peterv%propagandism.org fb05e5b554 Remove bogus line that aaronl added. 2004-07-06 11:35:52 +00:00
neil%parkwaycc.co.uk a6a9612d3f Fix <textarea> b=249665 and quirks <input> b=249416 debug weirdness r/sr=peterv 2004-07-05 10:16:39 +00:00
aaronleventhal%moonset.net 87ddf79d06 Bug 17602. Keyboard access to HTML radio buttons should use arrow keys, as it does on most OS's radios as well as XUL radios. r=bryner, sr=neil 2004-07-05 01:31:30 +00:00
jst%mozilla.jstenback.com c7779149d9 Fixing typo... 2004-06-27 06:09:46 +00:00
jst%mozilla.jstenback.com d944f3cada Fixing bug 248638. Make input.type always return the actual type, not the value of the type attribute. r+sr=peterv@propagandsim.org 2004-06-26 16:49:33 +00:00
peterv%propagandism.org a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
peterv%propagandism.org f2a15f3301 Fix for bug 248172 (XMLSerializer corrupts namespace prefixes when XHTML namespace is used). r=sicking, sr=jst. 2004-06-24 19:38:03 +00:00
bryner%brianryner.com 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
jst%mozilla.jstenback.com d563452e1c Fixing bug 246700. Write out a BOM when writing UTF-16 data to the cache so that we know how to read it back. r=mozilla-bugzilla@future.shiny.co.il, sr=darin@meer.net 2004-06-17 19:46:10 +00:00
roc+%cs.cmu.edu 087ede0319 Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com f43478d533 Landing fix for 246556. Null-check mDocument before accessing it. r+sr=jst@mozilla.jstenback.com, patch by silver@warwickcompsoc.co.uk 2004-06-16 00:26:14 +00:00
jst%mozilla.jstenback.com e7c9f2b51c Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org 2004-06-15 08:28:52 +00:00
jst%mozilla.jstenback.com e10531d5f6 Fixing bug 140690. Patch by m.wargers@hccnet.nl. Making element.innerHTML not do newline conversion. r+sr=jst@mozilla.jstenback.com 2004-06-10 00:11:38 +00:00
bsmedberg%covad.net a7deb4f150 Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin 2004-06-09 18:36:25 +00:00
bzbarsky%mit.edu cbcd653320 Use property ids from the property list, as long as we're using preprocessing
to create all the Set/Get* functions for nsIDOMCSS2Properties.  Bug 243728, r+sr=dbaron
2004-06-08 01:32:29 +00:00
dbaron%dbaron.org 4ef5842ac2 When asked to remove a property that doesn't exist, don't try too hard (and crash). b=245572 r+sr=bryner 2004-06-07 19:30:54 +00:00
roc+%cs.cmu.edu 229401e3f5 Bug 245627. Minor deCOMtamination of HTML element constructor functions. r+sr=jst 2004-06-06 02:38:32 +00:00
cbiesinger%web.de c3bc3380df bug 243966 getPropertyValue truncates values for computed system font value
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
2004-06-03 21:19:08 +00:00
mkaply%us.ibm.com 2322a772da #245274
r/sr = jst
Make quirks mode not validate createElement's tagName argument to preserve 1.4 compat
2004-06-02 16:21:22 +00:00
roc+%cs.cmu.edu 626c4c26f5 Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
roc+%cs.cmu.edu 9e7e86faed Bug 244921. Tweak nsGenericHTMLElement attribute exposure macros. r+sr=jst. Relanding since backing it out did not affect Tp on btek. 2004-05-31 22:26:41 +00:00
roc+%cs.cmu.edu f21403ef17 Bug 244921. Backing out because it hurt Tp on btek and the codesize savings were quite meagre. 2004-05-31 19:43:13 +00:00
roc+%cs.cmu.edu 8546494c14 Bug 244921. Tweak nsGenericHTMLElement attribute exposure macros. r+sr=jst. 2004-05-29 00:11:28 +00:00
bzbarsky%mit.edu 1838c2acfd Fixing Windows bustage. Forgot to change declaration here... 2004-05-27 23:15:48 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
mvl%exedo.nl 0c9bdf8d12 Add CSS3 pseudo-class selector :only-child
bug 237568, patch by Sander <mybugzilla@juima.org>, r=bzbarsky, sr=dbaron
2004-05-25 13:43:52 +00:00
timeless%mozdev.org b49d33e07d Bug 140324 NS_ENSURE_TRUE(NS_SUCCEEDED(),) used needlessy in some places
patch by Morten@Nilsen.com r=hwaara sr=alecf
2004-05-25 06:09:43 +00:00
jst%mozilla.jstenback.com bf67fdce87 Fixing regression bug 244576. Pass the *new* node back from cloneNode(), not the node being cloned. And fix an nsCOMPtr QI needed assertion. Fix suggested by bzbarsky@mit.edu, r+sr=jst@mozilla.jstenback.com 2004-05-25 04:40:18 +00:00
bryner%brianryner.com 0f922ae38e Bug 244475, avoid some shared buffer overhead and an extra allocation/copy when looking up attribute name atoms. r+sr=bzbarsky. 2004-05-24 06:10:52 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu 62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bzbarsky%mit.edu 2c0451a21d Add suport for a "text/plain" first arg to document.open() (no support for any
other types, and none really planned).  Bug 73409, r+sr=jst
2004-05-21 21:32:11 +00:00
peterv%propagandism.org b62c56d2be Fix for bug 243998 (Visiting the networkassociates, noggin, upromise crashes Mozilla & Firefox). r/sr=bz, a=tor. 2004-05-19 15:44:18 +00:00
bzbarsky%mit.edu dd9db43d16 Fix permissions check for CSS background images, again. Bug 243948, patch by
mvl@exedo.nl, r+sr=bzbarsky
2004-05-19 04:22:05 +00:00
jst%mozilla.jstenback.com 59694687e9 Removing extra ';'. 2004-05-18 22:23:49 +00:00
jst%mozilla.jstenback.com 2416426a01 Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu 2004-05-18 20:58:12 +00:00
timeless%mozdev.org 9ebaf2e5ea Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst
2004-05-18 04:00:47 +00:00
bzbarsky%mit.edu 4ebe94aa34 Fix serialization of selectors when namespaces are around to be smarter; fix
serialization of pseudo-elements to prepend '*' as needed.  Bug 173586,
r=glazou, sr=roc
2004-05-18 02:42:13 +00:00
bryner%brianryner.com d0e0e1e49e Fix regression bugs 242709 and 242949 by making sure to flush pending form submits after invoking script onclick handlers. r=bzbarsky, sr=brendan. 2004-05-17 22:05:41 +00:00
mvl%exedo.nl 7968f4a79b Didn't mean to check this in just yet 2004-05-13 20:09:10 +00:00
mvl%exedo.nl fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bryner%brianryner.com 2683530f86 nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well. 2004-05-13 17:09:20 +00:00
bzbarsky%mit.edu 5181bf717a Don't reset the notification timer on every parse start/stop. This speeds up
flurries of little document.write calls a good bit.  Bug 242899, r=peterv,
sr=jst
2004-05-13 01:39:29 +00:00
bryner%brianryner.com 13638907d1 Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron. 2004-05-12 21:20:09 +00:00
jst%mozilla.jstenback.com f3889c559f Fix for bug 241058. Debug only crash due to nsCOMPtr's internal checks when QI'ing. r+sr=bzbarsky@mit.edu 2004-05-12 01:57:54 +00:00
jst%mozilla.jstenback.com 28af5fab0c Fixing one more part of bug 243034. Avoid wasting time on string concatenation document.write() when we don't need to concatenate. r+sr=bzbarsky@mit.edu 2004-05-11 22:37:31 +00:00
bzbarsky%mit.edu cb3f422652 Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv 2004-05-11 18:16:41 +00:00
jst%mozilla.jstenback.com bda87cd456 Fixing bug 243034. Prevent converting string data to UTF-8 only to store it in the cache when document.write()'ing. r+sr=bzbarsky@mit.edu 2004-05-09 21:37:32 +00:00
bzbarsky%mit.edu 370fc22149 Make sure to re-lookup the entry pointer if the table changed while we flush.
Supplement to bug 240633, r+sr=brendan
2004-05-08 06:07:04 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
caillon%redhat.com 2794a9ea25 We need to also copy over mAppearance in the nsCSSDisplay copy constructor
r+sr=bzbarsky via irc; no bug.
2004-05-07 20:41:38 +00:00
bzbarsky%mit.edu c574b11e7e Do a better job of flagging "reserved" names and don't flush till we know we're
not dealing with one of those in ResolveName.  Bug 240633, r+sr=jst
2004-05-07 20:02:40 +00:00
caillon%redhat.com 56b3fc7a8c Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky%mit.edu d5673f0fd9 Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron 2004-05-05 00:43:50 +00:00
bzbarsky%mit.edu 32a4619a53 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
silver%warwickcompsoc.co.uk 022d627b12 Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
r+sr=bzbarsky
2004-05-02 19:48:54 +00:00
bryner%brianryner.com 7d1dbeb3a8 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
jst%mozilla.jstenback.com ec216cd099 Checking in patch by smaug@welho.com. Fixing bug 242151. Making document.body work right in XHTML documents when the body is a frameset element. Also fixing a compiler warning while I'm at it. r+sr=jst@mozilla.jstenback.com 2004-04-30 17:44:53 +00:00
jst%mozilla.jstenback.com 77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
sicking%bigfoot.com 866dd6aee4 Bug 241924: Use SetValueInternal so we don't get caught in security checks.
r/sr=bz
2004-04-29 00:52:53 +00:00
bzbarsky%mit.edu 37f55f34af Implement "replace" argument for document.open(). bug 164821, r+sr=jst 2004-04-28 01:40:39 +00:00
bzbarsky%mit.edu 4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bmlk%gmx.de ae21dddee3 remove unused files bug 240559 r/sr=bzbarsky 2004-04-22 04:27:54 +00:00
bmlk%gmx.de de5b842be2 Remove unused functions bug 240559 r/sr =bzbarsky 2004-04-21 15:49:29 +00:00
dbaron%dbaron.org 667dbe556f Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst 2004-04-20 23:41:56 +00:00
bzbarsky%mit.edu e127bbbcc5 Fix HasAttributeDependentStyle to not assume that class and ID attributes are
named "class" and "id".  Bug 240766, r+sr=dbaron
2004-04-20 19:48:20 +00:00
bzbarsky%mit.edu 241afa342c Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron
2004-04-18 20:10:09 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
gerv%gerv.net f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
bryner%brianryner.com 642f7ede36 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst. 2004-04-18 00:28:47 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
darin%meer.net c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
cbiesinger%web.de 14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu 7a292c3f22 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
2004-04-15 01:51:32 +00:00
bzbarsky%mit.edu b2acedae2e Remove GenericElementCollection; convert consumers to nsContentList for extra
lazy goodness.  Bug 76994, r=sicking, sr=jst
2004-04-14 04:26:00 +00:00
bzbarsky%mit.edu 14c6b02ec5 Make sure to apply our styles to our anonymous content no matter what the
page's style language is.  Bug 234761, r=sicking, sr=jst
2004-04-14 02:05:52 +00:00
jst%mozilla.jstenback.com 4b8ba6e3a3 Fixing bug 240321. Making XHTML documents default to UTF8 in stead of trying to autodetect or what not. r+sr=bzbarsky@mit.edu 2004-04-13 22:28:16 +00:00
sicking%bigfoot.com 03f96fc967 Bug 236479: Kill nsMappedAttributes::GetAttribute.
Patch by Wladimir Palant (trev@gtchat.de)

r=sicking sr=jst
2004-04-13 16:45:59 +00:00
jst%mozilla.jstenback.com 3b9482b945 Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org. 2004-04-13 03:21:50 +00:00
jst%mozilla.jstenback.com 0d37d31a30 Fixing bug 240122. Making the document.body setter do the right thing, and be faster and less bloaty. Also deCOMtaminate accesskey code in nsGenericHTMLElement. r+sr=bzbarsky@mit.edu 2004-04-12 23:30:01 +00:00
sicking%bigfoot.com 386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu ad1a26ddf7 Make <frame> elements own their own content viewer/docshell/dom like iframes
already do.  Refactors some code the two shared into a superclass.  Bug 170588,
r+sr=jst
2004-04-12 22:47:24 +00:00
sicking%bigfoot.com 45c0708f37 Bug 236873: Let more elements share classes to save codesize.
r/sr=jst
2004-04-12 22:25:17 +00:00
dbaron%dbaron.org 4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
dbaron%dbaron.org 90369f8699 Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky 2004-04-12 21:54:45 +00:00
caillon%redhat.com 4253baf71c Bug 219829
Allow mixing length and percentage values with keyword values for the background-position property, which is now allowed per section 14.2.1 of CSS 2.1
r+sr=dbaron
a=asa
2004-04-10 05:08:02 +00:00
bzbarsky%mit.edu 65126af19d Fix handling of deleteRow(-1) by table sections (bring it in line with what
tables do).  Bug 239566, r+sr=jst, a=asa
2004-04-09 21:05:27 +00:00
bzbarsky%mit.edu 4fa1428588 Cloned script nodes should not reexecute the script. Bug 127016, r=sicking,
sr=jst, a=asa
2004-04-09 21:04:25 +00:00
bzbarsky%mit.edu 13dc070af1 Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
something instead of merrily compiling it....
2004-04-03 19:01:38 +00:00
bzbarsky%mit.edu 83a86441a7 Fixing debug build bustage. Bug 239079. 2004-04-03 17:47:26 +00:00
bzbarsky%mit.edu 48dd7f1243 Fix ID selector parsing to check for a valid identifier. Bug 239079,
r+sr=dbaron, a=chofmann
2004-04-03 17:18:45 +00:00
darin%meer.net 6b03adea42 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron 2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu ba934aaa3f Make enter on file inputs submit form. Bug 111689, r+sr=jst, a=choffman 2004-04-01 00:56:58 +00:00
bzbarsky%mit.edu d088ac5727 Fix possible crash due to misuse of nsCOMPtr. Bug 238005, r=caillon,
sr=peterv, a=asa
2004-03-31 15:15:59 +00:00
bzbarsky%mit.edu 809c099e33 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
brade%comcast.net c4e74e47ae fix for bug 237103; implement QueryCommandIndeterm; patch by Alexandre Tr��mon; r=brade, sr=jst; a=chofmann 2004-03-19 14:17:51 +00:00
dbaron%dbaron.org 22cb21cb50 Prevent a label's for content from being another label (or itself), which can lead to crashes. b=237357 Patch from Rene Pronk <r.pronk@its.tudelft.nl>. sr=dbaron r=jst a=chofmann 2004-03-15 22:28:41 +00:00
bzbarsky%mit.edu f57a7660ce Make sure that the document -> node -> imgRequest -> channel -> listener ->
document cycle is always broken OnStopRequest.  Bug 237153, r+sr=jst, a=dbaron
2004-03-14 18:20:38 +00:00
alex.fritze%crocodile-clips.com 33a5da4fc1 debug build bustage fix (bug#237169). r/sr=peterv 2004-03-12 11:17:38 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
sicking%bigfoot.com 7aea5ea209 Bug 237071: Make height-attribute on tr-elements work again.
r/sr=jst a=dbaron
2004-03-11 23:38:58 +00:00
bzbarsky%mit.edu cf6a60bfae Fix leak when a window holding an image document is closed before the image
finishes loading.  Bug 237153, r+sr=jst, a=race between dbaron and brendan.
2004-03-11 20:47:51 +00:00
sicking%bigfoot.com d6f53e99a0 Bug 237071: Make start-attribute on ol-elements work again.
r/sr=jst a=tor
2004-03-11 20:13:25 +00:00
bzbarsky%mit.edu 655abf48ad Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
bzbarsky%mit.edu 26e1b4c6ec Fixing build bustage. 2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu 134fed8856 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org 7531bc934d Fix bogus assertion. r+sr=bryner 2004-03-09 00:52:54 +00:00
sicking%bigfoot.com fc084e0c73 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
sicking%bigfoot.com a24b8a0c5a Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
sicking%bigfoot.com 973fa76ca8 Fix build bustage 2004-03-04 18:30:53 +00:00
sicking%bigfoot.com 0c80133eea Bug 236472: Fix 3 warnings.
r/sr=tor
2004-03-04 18:04:29 +00:00
sicking%bigfoot.com 0058d1f7b8 Bustage fix from previous patch. 2004-03-04 03:26:38 +00:00
sicking%bigfoot.com 0079e5c632 Bug 75659: Make charoff support percent values in DOM. (charoff isn't supported yet by layout).
r+sr=jst
2004-03-04 02:18:44 +00:00
sicking%bigfoot.com 28169f7a8a Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst
2004-03-04 02:06:28 +00:00
bzbarsky%mit.edu 80f670494e Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
up to nsDocument so they're available in XHTML documents.  Bug 69840, r+sr=jst
2004-03-02 22:39:46 +00:00
sicking%bigfoot.com 06e1e6fc8e Remove unused file.
r/sr=jst
2004-03-02 16:49:17 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu efb5ed5c24 Make Click() work on image inputs. Bug 96595, patch by basic@mozillanews.org,
r=bzbarsky, sr=jst
2004-02-26 23:01:45 +00:00
dbaron%dbaron.org f016bec80e Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
sicking%bigfoot.com 17ca2df349 Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
dbaron%dbaron.org eafdebc6f0 Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc 2004-02-24 06:48:25 +00:00
bzbarsky%mit.edu 59a1afce57 Don't error out of sending empty file inputs on MacOS. Bug 199053, r+sr=jst 2004-02-24 02:54:12 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
sicking%bigfoot.com b20f53fefb Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
sicking%bigfoot.com 80e7d44850 Bug 232480: Fix warnings caused by earlier patch in same bug as well as a few random other warnings.
r=peterv sr=jst
2004-02-19 22:16:16 +00:00
bzbarsky%mit.edu ec51aa8877 Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst 2004-02-19 21:51:10 +00:00
cbiesinger%web.de e073bfa038 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org 43ca4b48b9 Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky 2004-02-19 18:02:20 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com feda3ad1b7 Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org 2004-02-11 21:31:53 +00:00
jst%mozilla.jstenback.com 64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com 33086e9ea8 Fixing regression bug 233753. Making document.createElement() create HTML elements again when called on an HTML document. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2004-02-11 02:22:43 +00:00
sicking%bigfoot.com b207ff1bdf Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:09:59 +00:00
sicking%bigfoot.com 0f00616420 More bug 232480: Forgot to make nsGenericHTMLElement forward to it's new parentclass
r/sr=peterv
2004-02-10 20:04:57 +00:00
sicking%bigfoot.com 99077ffa6f Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst
2004-02-10 19:36:43 +00:00
peterv%propagandism.org d5850e3177 Fix warnings. 2004-02-10 13:17:48 +00:00
peterv%propagandism.org 713c734ef8 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst. 2004-02-10 10:58:13 +00:00
sicking%bigfoot.com 4cedcd531b Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu 7077fb69a1 Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst
2004-02-09 20:48:20 +00:00
cbiesinger%web.de 9f0c10325f Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at
which we have the image dimensions.
r=varga sr=bzbarsky
2004-02-08 20:58:38 +00:00
dbaron%dbaron.org a52a065fe2 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
dbaron%dbaron.org 456b60e585 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
dbaron%dbaron.org 49aa2c0ab9 Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky 2004-02-08 07:29:42 +00:00
bzbarsky%mit.edu 739cc2278a Fix bug 233197. r+sr=jst 2004-02-07 19:38:10 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
hpradhan%hotpop.com de628eca3f Bug 193223 : Make the add() method on html option collections
more compatible with IE. r+sr=jst
2004-02-07 11:40:30 +00:00
jst%mozilla.jstenback.com cb45f84bb7 Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2004-02-05 06:48:30 +00:00
dbaron%dbaron.org 7eed40eacb Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky 2004-02-05 00:19:19 +00:00
dbaron%dbaron.org 474bdc807e Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
jst%mozilla.jstenback.com f894d79c80 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
hpradhan%hotpop.com 164a5876e6 remove unused variable, fix warning (follow up to checkin for bug 229575) 2004-02-01 12:17:19 +00:00
bryner%brianryner.com 42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com 08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jst%mozilla.jstenback.com dd5cd55cda Fixing bug 227263. Making document.domain return null in stead of throwing an exception when there's no domain to return. r+sr=peterv@propagandism.org. 2004-01-28 23:44:08 +00:00
dbaron%dbaron.org 96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com 51b35949b2 bug 229575 : refactor some code that was common between
the xml and html content sinks into nsContentSink
r=sicking sr=jst
2004-01-28 12:14:17 +00:00
bryner%brianryner.com bc74f0b352 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu 317cfcd106 Make sure to not return uninitialized stuff. Bug 232317, r+sr=jst 2004-01-27 22:24:02 +00:00
jst%mozilla.jstenback.com 3ceaf0031a Fixing bug 232133. Cleaning up nsHTMLSelectElement a bit. r+sr=bzbarsky@mit.edu. 2004-01-27 16:20:38 +00:00
jst%mozilla.jstenback.com 33dc243815 Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com 2004-01-27 04:41:12 +00:00
bzbarsky%mit.edu 88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
sicking%bigfoot.com 1152b3d656 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00