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

3975 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 79a2f3c0ec 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 ab9c01e037 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 1121eb36dd 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 58d63a095b 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 b7a0512856 debug build bustage fix (bug#237169). r/sr=peterv 2004-03-12 11:17:38 +00:00
dbaron%dbaron.org f92415768a 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 11f5ac3b78 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 67671e4852 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 6fcd42e796 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 548b1d9ba5 Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
bzbarsky%mit.edu de1d1b0866 Fixing build bustage. 2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu 684f965503 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 1679443f82 Fix bogus assertion. r+sr=bryner 2004-03-09 00:52:54 +00:00
sicking%bigfoot.com 1775c22dcc Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
sicking%bigfoot.com 4fd7bf2f12 Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
sicking%bigfoot.com 70084d0d39 Fix build bustage 2004-03-04 18:30:53 +00:00
sicking%bigfoot.com 953f045479 Bug 236472: Fix 3 warnings.
r/sr=tor
2004-03-04 18:04:29 +00:00
sicking%bigfoot.com e0a252e4f5 Bustage fix from previous patch. 2004-03-04 03:26:38 +00:00
sicking%bigfoot.com c01d1847b8 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 050843a6e0 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 806cad4c39 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 de1b178ccd Remove unused file.
r/sr=jst
2004-03-02 16:49:17 +00:00
darin%meer.net 1d2d419885 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 d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 6f88dc7dfb 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 8fb0d9c6da 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 8219076cd8 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 fd7b04962f 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 2f227e1eeb 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 745944525d 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 580557c74f 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 8662843478 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 09e02b6789 Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst 2004-02-19 21:51:10 +00:00
cbiesinger%web.de bb8f20a832 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org 920e4ac889 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 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com d576bb7676 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 6ca4c1a78e 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 b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com ae49f5a091 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 65d14b7bf0 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 8638287526 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 955a4a45ec 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 10d0a7ba8c Fix warnings. 2004-02-10 13:17:48 +00:00
peterv%propagandism.org 830c240dc2 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 19ba87419f 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 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu 20bef6960b 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 910395d42e 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 a2710c647c 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 8e8930d3ac 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 55db119e9b 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 42ba5fd813 Fix bug 233197. r+sr=jst 2004-02-07 19:38:10 +00:00
alex.fritze%crocodile-clips.com 910659d1c9 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 6da139214f 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 075957d311 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 a31b1523c3 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 1992d6919c 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 f082a6d5c8 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 84a5a671ab remove unused variable, fix warning (follow up to checkin for bug 229575) 2004-02-01 12:17:19 +00:00
bryner%brianryner.com f67839e02e 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 0ea3c127ae 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 1804c4910c 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 36e6edb041 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 78533f969d 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 b0106235cd 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 fd6fed0d82 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 e679e963b2 Make sure to not return uninitialized stuff. Bug 232317, r+sr=jst 2004-01-27 22:24:02 +00:00
jst%mozilla.jstenback.com b93150920c 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 b73f25bae6 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 1100669bd5 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 3de34f8d76 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
ere%atp.fi 7619e4406b Fix for bug 231001: [rte] HTMLArea (Midas) broken since 20040114
r=brade
sr=bz
2004-01-26 09:48:50 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
jst%mozilla.jstenback.com 3ae37720b3 Removing unused variable (bug 230947). Patch bygautheri@noos.fr, r+sr=jst@mozilla.jstenback.com 2004-01-22 22:20:54 +00:00
bzbarsky%mit.edu e933bb5c3c Move the methods for handling inline style and attribute style sheets up to
nsDocument.  Bug 230947, r+sr=jst
2004-01-22 03:35:09 +00:00
bzbarsky%mit.edu 944248d5d9 Make image inputs that got replaced by alt text still submit .x and .y (submit
empty strings).  Bug 122238, r+sr=jst
2004-01-22 03:26:17 +00:00
bryner%brianryner.com 93f6dc27e6 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
dbaron%dbaron.org 0d3378e7d3 Send ContentStateChanged notifications for the checked state with correct BeginUpdate and EndUpdate calls and even when there is no frame, except during element construction. b=231081 r=bzbarsky sr=jst 2004-01-21 04:28:57 +00:00
peterv%propagandism.org 172440f1a9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
peterv%propagandism.org 58d379eef9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst. 2004-01-18 11:59:21 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
peterv%propagandism.org 512c8d9a90 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +00:00
caillon%returnzero.com 652f6388a7 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org 739ce46d2f Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
bzbarsky%mit.edu 774747e4a0 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
sicking%bigfoot.com 048c504b30 Bug 195350: Fix regression from earlier patch in same bug: make html-attributes be case-insensitive again.
r=caillon sr=peterv
2004-01-16 22:44:33 +00:00
caillon%returnzero.com a3db938038 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org b7fcfdfbcc Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky 2004-01-15 21:00:35 +00:00
sicking%bigfoot.com 32a19f4b04 Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst
2004-01-15 17:07:27 +00:00
dbaron%dbaron.org 95c1a4e503 Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com 8b90ab243e Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky. 2004-01-15 03:26:56 +00:00
dbaron%dbaron.org b46ca5eba2 Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben 2004-01-15 02:25:08 +00:00
dbaron%dbaron.org 5adbb6a8c9 Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
dbaron%dbaron.org f0a3a7da49 Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bzbarsky%mit.edu 75c2b9acde Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu ccd7a90165 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com 6c1dc8beab Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu 0e655ce02d Don't allow pseudos that are supposed to be functions to pass through as ident
tokens.  Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com cf8eb4f045 Followup for the fix for bug 226522. Undo the part of the change that incorrectly made a bunch of methods in nsGenericHTMLElement virtual. r+sr=dbaron@dbaron.org 2004-01-10 04:42:06 +00:00
bzbarsky%mit.edu 4f04752672 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst%mozilla.jstenback.com 546a730aa4 Eliminate unnecessary (and incorrectly declared) IsContentOfType() method from nsHTMLSharedLeafElement. r+sr=dbaron@dbaron.org 2004-01-10 01:48:32 +00:00
jst%mozilla.jstenback.com 216aa9d2ca Undoing part of a change that was made by mistake in my last checkin (bug 226522), and eliminating the use of NS_METHOD on method declarations in nsGenericHTMLLeafElement and nsGenericHTMLContainerElement. r+sr=dbaron@dbaron.org. 2004-01-10 01:44:10 +00:00
dbaron%dbaron.org 1c56f1361b Fix UMR by filling in out parameter in IsEnabled. b=230536 r+sr=bzbarsky 2004-01-10 00:19:59 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu c70c9c9de3 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bzbarsky%mit.edu d37d9a3e5f Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bzbarsky%mit.edu 1795acd56f Add Content-Location header support. Bug 109553, r=jst, sr=darin 2004-01-08 04:04:16 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu a98357b26a Make HTMLButtonElement.type writable. Bug 228174, r+sr=jst 2004-01-06 17:22:08 +00:00
bzbarsky%mit.edu db378ea4f9 Nodes with an id but not in a form should not be accessible via
document.forms["foo"].bar.  Bug 207481, r+sr=jst
2004-01-06 17:14:58 +00:00
caillon%returnzero.com d76a4d1dd0 Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu cfba092448 Make changes to "align" attribute of <legend> trigger reflow. Bug 109280, r+sr=dbaron 2004-01-06 00:01:54 +00:00
bzbarsky%mit.edu 51ae8865ab Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu f3555cf1da Make generic DOM datanodes implement GetBindingParent in a semi-useful way so
that event retargeting works (bug 97634, bug 183878).  Also remove some code
that's no longer needed now that we have retargeting.  r=bryner, sr=jst
2004-01-05 23:52:57 +00:00
bzbarsky%mit.edu 10ba235d3f Make checkbox and radio also submit by clicking the submit button, like text
inputs do.  Bug 190559, r+sr=jst
2004-01-05 23:39:50 +00:00
dbaron%dbaron.org b63b8ca336 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org ef2caf0a83 Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org fae5e6db4e Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
dbaron%dbaron.org 8e545ec02a Add a correct comment. 2003-12-29 16:39:50 +00:00
hpradhan%hotpop.com dade597dd0 bug 229183 : Eliminate an unnecessary QI r+sr=jst 2003-12-25 10:30:48 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
hpradhan%hotpop.com 8c41240ea6 backing out last two checkins since they had no effect on Tp 2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com a77a58966b bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst 2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com 7bd11e3242 bug 229163 : Going back to using an nsISupportsArray
to try and fix perf regression r=sicking sr=jst
2003-12-24 07:45:06 +00:00
peter%propagandism.org a9ca4bdf33 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:48:14 +00:00
peter%propagandism.org 79b0f21971 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +00:00
cbiesinger%web.de 8d3b2b011f Bug 227567. make clientHeight work more like msie
patch by mats.palmgren@bredband.net r=bzbarsky sr=jst
2003-12-22 13:35:39 +00:00
jst%mozilla.jstenback.com ac9e9761a9 Fixing bug 226462. Eliminating the aReverseReturnResult argument from nsIScriptContext::CallEventHandler(). r=caillon@aillon.org, sr=brendan@mozilla.org. 2003-12-21 18:01:19 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
bmlk%gmx.de 8f220b9fdd oops, the last patch was done by Boris Zbarsky and it was for bug 155957 2003-12-20 12:19:41 +00:00
bmlk%gmx.de 60303543bc look into wrapper frames for inputs with :after and :before bug 15597 r/sr=dbaron 2003-12-20 12:15:48 +00:00
bzbarsky%mit.edu 5cd4d641b2 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
bzbarsky%mit.edu 9284fd2343 Fix issues with radios that have identical name and id (and multiple nodes in
the doc with the same id!  bad!).  Bug 183940, r+sr=jst, a=dbaron
2003-11-25 02:34:05 +00:00
dbaron%dbaron.org cd013628a9 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com 09b8388f44 Fixing bug 224952. Making uri attributes default to empty string in stead of null for compatibility with IE. r=caillon@aillon.org, sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-11-21 00:59:15 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
caillon%returnzero.com e819607622 Followup to 225411
XHTML as XML documents need to support the document.xml* DOM 3 attributes
r+sr=peterv
2003-11-18 22:07:53 +00:00
bzbarsky%mit.edu 5d2f30714a Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu 74b98017ac -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bryner%brianryner.com 09fafe0935 fix debug build bustage 2003-11-15 08:46:23 +00:00
bryner%brianryner.com aae0d0f085 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
caillon%returnzero.com 240c088368 Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst
2003-11-14 11:10:11 +00:00
dbaron%dbaron.org ba8abce8d4 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu b56da8ba84 Treat bogus "type" values as "text" consistently. Bug 225103, r+sr=peterv 2003-11-13 05:16:06 +00:00
bzbarsky%mit.edu bb435c6b86 Make cloneNode() copy the current value and checked properties for inputs. Bug
197294, r+sr=jst
2003-11-10 23:46:29 +00:00
hpradhan%hotpop.com 4fcc50d839 bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst
2003-11-10 05:52:29 +00:00
sicking%bigfoot.com 30fc41a1e0 Fix build bustage by taking the bug 224331 into account. 2003-11-07 17:07:03 +00:00
sicking%bigfoot.com 4059f5332e Bug 213445: Treat not having mParent *or* not having mDocument as not being in the documnt to fix radiobuttons created through sinks other then the html-sink.
r=bryner sr=jst
2003-11-07 16:53:46 +00:00
bryner%brianryner.com cc7596e3f1 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu 2c3f28dc3a Strip quotes from inside col/row-specs (where there should be no quotes to
start with, but some sites just code like that).  Bug 224598, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-11-07 04:26:30 +00:00
timeless%mozdev.org e31b85c754 Bug 224901 oom crash in MakeContentObject for form controls
r=dbaron sr=dbaron
2003-11-06 23:10:45 +00:00
bryner%brianryner.com 5784af7a5b Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu dd390ca189 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
dwitte%stanford.edu 989442c6ea removing redundant variable as a result of my previous checkin. 2003-11-04 23:15:22 +00:00
dwitte%stanford.edu f4cc4a66e9 remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).
2003-11-04 22:44:51 +00:00
bzbarsky%mit.edu e77100207e Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron
2003-11-04 03:16:10 +00:00
bzbarsky%mit.edu 05d1dbab0a Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
peter%propagandism.org 0c55888e97 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 15:16:24 +00:00
peter%propagandism.org d7a67ab4b2 Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 13:51:42 +00:00
uid502 f60aa658cf Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org 816b00b6cc Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
peter%propagandism.org 08e8d2f39b Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
dbaron%dbaron.org 18982145d0 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
dbaron%dbaron.org 063555105b Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
dbaron%dbaron.org 9033d75209 Attempt to fix Windows bustage. b=167262 2003-10-30 03:34:58 +00:00
caillon%returnzero.com 50c8451a33 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
dwitte%stanford.edu 48e1ec0204 remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
bzbarsky%mit.edu 0495bdb4fa Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu 24dc3bab0e Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
dbaron%dbaron.org a51b7b4593 Add missing null terminator to fix crash. b=224039 Patch from Adam James Fitzpatrick <ajfitzpatrick@lurking.org>. r+sr=bzbarsky,dbaron 2003-10-30 01:53:53 +00:00
dbaron%dbaron.org 06ca12003f Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky 2003-10-30 01:51:00 +00:00
dbaron%dbaron.org 4fd72ff1cd Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
dbaron%dbaron.org 2319e1e03e Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com de3d3fbf61 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu 334969fb54 Treat BeginUpdate/EndUpdate pairs as a batch, instead of flushing tags on any
BeginUpdate call.  Bug 222864, r=peterv, sr=jst
2003-10-21 16:23:27 +00:00
bzbarsky%mit.edu 321b58e88d Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
varga%nixcorp.com 0f42747ce0 Changing my email address. 2003-10-21 15:35:57 +00:00
bzbarsky%mit.edu c9db7359a7 Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu 92ccceaf8d Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org c844883c1b Forgot to address review comment. b=221531 r+sr=bzbarsky 2003-10-14 21:06:58 +00:00
dbaron%dbaron.org 13596c7a33 Miscellaneous cleanup of selector matching code:
* remove extra |if| around loop, and convert it from |while| to |for|.
 * remove extra test for |result|
 * rename |curdata| -> |prevdata| and |newdata| -> |data|.
 * use |IsContentOfType| instead of |GetTag|
b=221531  r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
bzbarsky%mit.edu f7143a2333 Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
dbaron%dbaron.org 831e32541e Bustage fixes for bug 221316 no longer needed thanks to bug 221525. 2003-10-07 23:21:50 +00:00
cls%seawood.org 650ad3bf45 what dbaron said 2003-10-07 22:43:54 +00:00
dbaron%dbaron.org 0810949538 Fix HP-UX and AIX bustage. b=221316 2003-10-07 22:15:26 +00:00
bzbarsky%mit.edu ca7587571d Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
hpradhan%hotpop.com dbb2c2e5b5 still bug 218837 : backing out all the backouts. they did not work. 2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com e6bbdada91 One final attempt to fix Tp regression from bug 218837 2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com 253cbc7037 backing out part of bug 218837. hoping to fix Tp regression 2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com c1e26f8bf8 bug 218837 : Refactor some code duplicated in the xml and html
content sinks into a base class r=sicking sr=peterv
2003-10-05 07:29:50 +00:00
bzbarsky%mit.edu 8801e97e8f Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 19a12727ec Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
hpradhan%hotpop.com 371b6824c0 Bug 170985 follow up : get rid of some unused code r=peterv sr=jst 2003-09-28 08:52:31 +00:00
bzbarsky%mit.edu 228afa0530 Make imagemaps work again. Bug 220519, r+sr=dbaron 2003-09-28 06:28:39 +00:00
stephend%netscape.com ccdcce81da Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz 2003-09-28 06:20:24 +00:00
dbaron%dbaron.org f98cd462cc Spelling too. b=220464 2003-09-28 05:39:03 +00:00
dbaron%dbaron.org 442d0880ad Fix 80th column violations in code that I just reindented. b=220464 2003-09-28 05:35:25 +00:00
dbaron%dbaron.org 4e84478a04 Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky 2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bsmedberg%covad.net c6cf364869 Bug 184686 - convert HTMLFormElement to use nsTHashtable
r=jkeiser sr=dbaron
2003-09-26 19:26:17 +00:00
bzbarsky%mit.edu 9c69b01fa8 Make charset-detection code work with just a BOM (no @charset rule) in the
sheet.  Bug 218915, r=smontagu, sr=dbaron
2003-09-25 05:57:28 +00:00
dbaron%dbaron.org 6341da9f4d Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky 2003-09-25 03:55:04 +00:00
hpradhan%hotpop.com 57100331ce Bug 170985 : fix for gcc3.4 bustage 2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com 876dc1ae19 Bug 170985 : table-based content object creation r=peterv sr=jst 2003-09-24 06:16:52 +00:00
bzbarsky%mit.edu c9e744b974 Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
together with their DOM rules (except for inline style).  Bug 215735,
r+sr=dbaron
2003-09-24 03:34:27 +00:00
dbaron%dbaron.org a3011ffe64 Fix --disable-xul bustage. b=219058 2003-09-22 23:52:16 +00:00
dbaron%dbaron.org 33b61b03c6 Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky 2003-09-21 05:21:40 +00:00
jst%mozilla.jstenback.com 4de644c859 Fixing bug 217000. Make sure the content sink gets a docshell even if we don't have a script global object (fixed document.write in some javascript: [i]frame cases). r=caillon@aillon.org, sr=peterv@propagandism.org 2003-09-19 20:00:24 +00:00
dbaron%dbaron.org cb01f2577b Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2003-09-13 19:18:52 +00:00
timeless%mozdev.org 333cd26184 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=jst sr=jst
2003-09-11 03:18:49 +00:00
dbaron%dbaron.org bef79ef9ea Remove unneeded null checks in attribute mapping functions. r+sr=bzbarsky b=127269 2003-09-11 01:34:29 +00:00
bryner%brianryner.com 7f4af2e0f9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon%returnzero.com c11c6acb17 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
dbaron%dbaron.org 2aaf4f83a7 Fix attribute mapping for image inputs by always mapping the attributes that work on image inputs. b=214077 r+sr=bzbarsky a=brendan 2003-08-11 21:53:24 +00:00
bzbarsky%mit.edu 8adc5f0690 Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz 2003-08-11 18:16:48 +00:00
jag%tty.nl 1ba4a1c3b4 Bug 212793: crash when following link when a file upload box is on the screen with XSLT generated content. r=Pike, sr=jst, a=choffman 2003-08-07 18:58:30 +00:00
roc+%cs.cmu.edu 50878e792b Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
axel%pike.org d7a30c5fba bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf 2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu 4715551627 Don't override earlier attrs on <body> with later ones from a separate <body>
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu db19c4b681 Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst 2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu b252cdf56b Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron 2003-07-30 23:45:34 +00:00
caillon%returnzero.com 422dde1351 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu 5d48360cf0 Fix crash when an event handler removes the submitting element from the
document.  Bug 194582, patch by mats.palmgren@bredband.net (Mats Palmgren),
r=jkeiser, sr=bzbarsky
2003-07-29 22:59:37 +00:00
bzbarsky%mit.edu c70375d813 Fixing more windows bustage 2003-07-29 01:15:55 +00:00
caillon%returnzero.com b5219decb0 Introduce a weak ptr here to avoid extra addref/releases in this loop. r+sr=bzbarsky@mit.edu on irc. 2003-07-28 22:32:31 +00:00
bzbarsky%mit.edu 49e5784b14 Left this out. Bug 213823, r=caillon, sr=build-bustage 2003-07-28 22:23:06 +00:00
bzbarsky%mit.edu 272e86c75d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu 0a144d33f1 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
bsmedberg%covad.net e290dea9ea Fix assertion from bug 211470, rs=bz 2003-07-28 01:12:36 +00:00
bsmedberg%covad.net 4e62df9073 Forgot a review nit from bug 211470. 2003-07-27 15:46:52 +00:00
bsmedberg%covad.net 117dcd4d23 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
jshin%mailaps.org aa8fa1540c bug 199237 : fix the rendering of the non-ASCII title of a media/image doc : follow-up (no actual change in the code but just a couple of changes in comment) 2003-07-26 05:54:42 +00:00
jshin%mailaps.org 2c54b7c2dc bug 199237 : fix the rendering of the non-ASCII title of a non-text doc(image, media) opened in a new tab/window (r=bryner, sr=bz) 2003-07-26 05:17:26 +00:00
bzbarsky%mit.edu df8614a442 Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu 042b7cacc7 Remove unused variable. 2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu 7e9533ee38 Don't bother loading scripts from the network when scripts are disabled. Bug
66857, r=sicking, sr=jst
2003-07-24 23:22:45 +00:00
caillon%returnzero.com 1bcbfbb835 Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
r=bzbarsky@mit.edu sr=jst@netscape.com
2003-07-24 20:38:08 +00:00
bzbarsky%mit.edu 76799ff743 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu 9915e0fd45 Don't load the image for image inputs till we have all of our attributes. Bug
209242, r=caillon, sr=jst
2003-07-24 17:10:14 +00:00
caillon%returnzero.com 9c22160a4b Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org f61c45ed1a Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu 75f97d4fb0 Avoid having to call SetAttr for each attribute we set by just looping
backwards over the attributes in the parser node instead.  Bug 213347, r+sr=jst
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu 4fc2fdc1a9 Sync up the attribute-adding code in the fragment sink to the HTML sink to
avoid stripping quotes too many times.  Bug 212805; r=jkeiser; sr=jst
2003-07-22 01:31:34 +00:00