130 Commits

Author SHA1 Message Date
peterv%propagandism.org
c1c35accda Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898 Back out fix for bug 251025 to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
roc+%cs.cmu.edu
22e0ff6cb8 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu
c6733ef5e7 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
roc+%cs.cmu.edu
bc82fb52fd Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161296 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 03:07:05 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
b3c7e5391b Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153649 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu
986d8acdaa Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
caillon%returnzero.com
c8612ff038 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


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bsmedberg%covad.net
03384bfad0 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
bryner%netscape.com
3adf1814d6 taking a stab at luna orange... removing bogus forward declaration
git-svn-id: svn://10.0.0.236/trunk@141025 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 11:29:32 +00:00
locka%iol.ie
945fbd5fb9 Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140583 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 11:18:00 +00:00
dbaron%dbaron.org
c3056f0f60 Make floats margin roots so that margins of floats do not collapse with their descendants, to be compatible with CSS2 and MSIE. b=193461 r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139111 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:25:55 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
dbaron%fas.harvard.edu
a7efa8275b Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
dbaron%fas.harvard.edu
721fd4b402 Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@135259 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:13:17 +00:00
dbaron%fas.harvard.edu
bbf1cff0b4 Back out previous checkin. b=180711
git-svn-id: svn://10.0.0.236/trunk@134575 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu
782bef8d5f Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134574 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:12:16 +00:00
jfrancis%netscape.com
0d9a9af955 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134301 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:24:29 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
jkeiser%netscape.com
d85e8fc690 Mac bustage fix.
git-svn-id: svn://10.0.0.236/trunk@122620 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 01:52:10 +00:00
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
rods%netscape.com
fb493821d3 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112856 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 14:30:14 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jst%netscape.com
ac8fa2d5a5 Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:14:06 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
25df26f9d3 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +00:00
nisheeth%netscape.com
eeb70ed5a9 Fix OS/2 build bustage from fix to bug 29171.
git-svn-id: svn://10.0.0.236/trunk@94762 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:12:33 +00:00
nisheeth%netscape.com
31703335d7 r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace.
git-svn-id: svn://10.0.0.236/trunk@94747 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 05:10:48 +00:00
harishd%netscape.com
a7cfbd40f7 Added refresh & setcookie atoms
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88431 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:41:02 +00:00
rbs%maths.uq.edu.au
d9c1a81f37 Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87805 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:42:12 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
pollmann%netscape.com
0699ec2d69 Bug 3326: Implement IsIndex frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:43:31 +00:00
jst%netscape.com
b05c03746d Removing unused code from the build. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
troy%netscape.com
e68720f217 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas


git-svn-id: svn://10.0.0.236/trunk@66390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:13:43 +00:00
jst%netscape.com
158746e816 Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260.
git-svn-id: svn://10.0.0.236/trunk@65269 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:46:48 +00:00
rods%netscape.com
e5bece7999 Added extra parameter to NS_NewLabelFrame for setting the space manager bit
b=33200


git-svn-id: svn://10.0.0.236/trunk@64245 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:16 +00:00
troy%netscape.com
4c7a5176ae Added declaration of new function NS_NewGeneratedContentIterator()
git-svn-id: svn://10.0.0.236/trunk@63715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:55:05 +00:00
troy%netscape.com
53d97bab09 b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now


git-svn-id: svn://10.0.0.236/trunk@60493 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:31:41 +00:00