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

204 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 311213e939 Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-08 20:13:17 +12:00
Robert O'Callahan 36e333a796 Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures 2008-09-07 00:35:20 +12:00
Robert O'Callahan c2ca6a7204 Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-06 21:35:05 +12:00
Robert O'Callahan edc33b1edc Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
smontagu@smontagu.org 43a5e11b2a Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc 2007-12-05 00:15:15 -08:00
bzbarsky@mit.edu a2bba38560 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
dholbert@cs.stanford.edu 9f681499ba Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
smontagu@smontagu.org 47796d6787 Previous checkin was for bug 382422 2007-09-03 00:00:10 -07:00
smontagu@smontagu.org ba9c0ad3c2 Bug 394222: Optimize calls to Bidi resolution. r=dbaron, sr+a=roc 2007-09-02 23:51:11 -07:00
bzbarsky%mit.edu ad75d79f05 Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
smontagu%smontagu.org 2932d47653 Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron 2007-02-15 05:07:57 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu cbcaad14b4 Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
cvshook%sicking.cc 55d0c600fa Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957 2006-10-25 20:24:00 +00:00
sayrer%gmail.com 6fa03a1730 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst 2006-08-12 04:46:43 +00:00
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu 0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
roc+%cs.cmu.edu c91034f873 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron 2006-01-22 23:20:56 +00:00
roc+%cs.cmu.edu 520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu 680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
peterv%propagandism.org 3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
peterv%propagandism.org 85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org 86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
bzbarsky%mit.edu 48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bryner%brianryner.com a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu 1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
roc+%cs.cmu.edu c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
roc+%cs.cmu.edu 5990b839d3 Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron 2004-08-26 03:07:05 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
peterv%propagandism.org a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu c7e522958e 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 2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu 9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com c000ae86e8 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
caillon%returnzero.com a9e2dece76 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
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
bryner%netscape.com 4eedb16db9 taking a stab at luna orange... removing bogus forward declaration 2003-04-11 11:29:32 +00:00
locka%iol.ie e2df34009e 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 2003-04-02 11:18:00 +00:00
dbaron%dbaron.org f246aacdad 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 2003-03-07 21:25:55 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
dbaron%fas.harvard.edu 69151bc05f 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 2002-12-19 00:12:08 +00:00
dbaron%fas.harvard.edu 5be27562ba 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 2002-12-13 20:13:17 +00:00
dbaron%fas.harvard.edu 77108322f1 Back out previous checkin. b=180711 2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu 4e0d918fb7 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 2002-11-28 19:12:16 +00:00
jfrancis%netscape.com ffd1706293 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin 2002-11-22 03:24:29 +00:00
jkeiser%netscape.com 78b069a372 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
jkeiser%netscape.com b3be2089fb Mac bustage fix. 2002-06-04 01:52:10 +00:00
dbaron%fas.harvard.edu d2188e6086 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 2002-05-22 00:14:51 +00:00
karnaze%netscape.com 773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
rods%netscape.com 00a2a4fa4d Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jst%netscape.com b494463795 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 2001-10-30 10:14:06 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
waterson%netscape.com d76d3fdf0d Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
nisheeth%netscape.com 72b5275077 Fix OS/2 build bustage from fix to bug 29171. 2001-05-12 07:12:33 +00:00
nisheeth%netscape.com debd64da49 r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace. 2001-05-12 05:10:48 +00:00
harishd%netscape.com b20fb5da2d Added refresh & setcookie atoms
r=heikki,sr=vidur
2001-03-03 00:41:02 +00:00
rbs%maths.uq.edu.au 2b65370bf6 Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson 2001-02-23 12:42:12 +00:00
jst%netscape.com 3c2288e0b9 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. 2000-12-23 10:56:31 +00:00
pollmann%netscape.com 929928c472 Bug 3326: Implement IsIndex frame; r=kmcclusk 2000-09-14 04:43:31 +00:00
jst%netscape.com df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
jst%netscape.com ee4b181034 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. 2000-05-10 13:13:39 +00:00
troy%netscape.com efc3b016a8 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas
2000-04-19 02:13:43 +00:00
jst%netscape.com f523d9cb3a 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. 2000-04-05 01:46:48 +00:00
rods%netscape.com 7719d8b6c7 Added extra parameter to NS_NewLabelFrame for setting the space manager bit
b=33200
2000-03-27 22:12:16 +00:00
troy%netscape.com d955ea1b86 Added declaration of new function NS_NewGeneratedContentIterator() 2000-03-22 05:55:05 +00:00
troy%netscape.com 26a77156ec b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now
2000-02-11 15:31:41 +00:00
karnaze%netscape.com bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
attinasi%netscape.com 58d061d613 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre 2000-01-18 15:38:50 +00:00
vidur%netscape.com 61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
pollmann%netscape.com 18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
rods%netscape.com dcfe8e548a Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com ef6a9e0b86 r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
troy%netscape.com 29963d8875 Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com 72ee697f6c Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
troy%netscape.com cdf2c77595 Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
rods%netscape.com e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
kipp%netscape.com 510e253e0f Create floating frame properly (bug #2751) 1999-09-01 20:57:58 +00:00
ducarroz%netscape.com 91e18f8021 Add constructor definition for autocomplete widget 1999-08-19 22:10:53 +00:00
rods%netscape.com 5bfe95c0f4 Added NS_NewAttributeContent method 1999-08-19 14:32:19 +00:00
troy%netscape.com f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
pierre%netscape.com 1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
kipp%netscape.com 9687a61f7a Tweaked area frame shrink wrapping for bug #5999 1999-07-14 17:26:12 +00:00
troy%netscape.com 32acfc4441 Fix for bug #6630. Don't force the desired width to 0 for zero-height
frames, and don't have the document element frame shrink wrap
1999-06-26 03:21:49 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
buster%netscape.com a2c09e8db1 added support for Ender GFX-rendered text control 1999-06-12 22:28:11 +00:00
akkana%netscape.com f3219d053d Part of Vidur's html fragment changes: files which aren't in the build yet 1999-06-03 22:30:12 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
kipp%netscape.com 86a3c69102 Added NS_NewFirstLetterFrame 1999-04-27 22:12:22 +00:00
kipp%netscape.com 31660cd5c2 Added NewFIrstLineFrame 1999-04-20 00:25:48 +00:00
troy%netscape.com bfd8240682 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00