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
karnaze%netscape.com
e8ff8bb21f
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.
git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
attinasi%netscape.com
475c4732e6
Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre
...
git-svn-id: svn://10.0.0.236/trunk@58101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:38:50 +00:00
vidur%netscape.com
4a4cce66b8
Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
pollmann%netscape.com
945d82f2db
Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
...
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
rods%netscape.com
52cc20d7d0
Added a "flags" varaible for combobox creation
...
r=self, bug 19382
git-svn-id: svn://10.0.0.236/trunk@55380 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:19 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
eed8ac6824
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
...
git-svn-id: svn://10.0.0.236/trunk@52629 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:42:12 +00:00
troy%netscape.com
d79892b99d
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
git-svn-id: svn://10.0.0.236/trunk@51664 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 23:19:14 +00:00
troy%netscape.com
579c8e2248
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
git-svn-id: svn://10.0.0.236/trunk@50200 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:32:46 +00:00
troy%netscape.com
032742ad4c
Moved space manager to block frame and changed it the space manager is
...
temporary only during the reflow process
r=kipp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50036 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 22:05:23 +00:00
rods%netscape.com
714db7d291
Added NS_NewSelectsAreaFrame
...
git-svn-id: svn://10.0.0.236/trunk@45898 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:52:17 +00:00
kipp%netscape.com
66b0997d2a
Create floating frame properly (bug #2751 )
...
git-svn-id: svn://10.0.0.236/trunk@45511 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:58 +00:00
ducarroz%netscape.com
e865dd4c3a
Add constructor definition for autocomplete widget
...
git-svn-id: svn://10.0.0.236/trunk@43706 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:53 +00:00
rods%netscape.com
5cc177c04a
Added NS_NewAttributeContent method
...
git-svn-id: svn://10.0.0.236/trunk@43615 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:32:19 +00:00
troy%netscape.com
8a85938908
Changed to table incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
pierre%netscape.com
6a1d462764
breaking up gfx & native widgets
...
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
kipp%netscape.com
5cdd7daa80
Tweaked area frame shrink wrapping for bug #5999
...
git-svn-id: svn://10.0.0.236/trunk@39297 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:12 +00:00
troy%netscape.com
7b82473d6a
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
git-svn-id: svn://10.0.0.236/trunk@36985 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 03:21:49 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
buster%netscape.com
b020694215
added support for Ender GFX-rendered text control
...
git-svn-id: svn://10.0.0.236/trunk@35040 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:28:11 +00:00
akkana%netscape.com
435dce283a
Part of Vidur's html fragment changes: files which aren't in the build yet
...
git-svn-id: svn://10.0.0.236/trunk@33627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:12 +00:00