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

124 Коммитов

Автор SHA1 Сообщение Дата
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
karnaze%netscape.com c7726efa2b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
bzbarsky%mit.edu b840b8f912 ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron
2002-11-06 02:26:52 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
jkeiser%netscape.com 3a72319ba7 Make form within table or tr not create a cell frame and screw up layout. bug 149282, r=dbaron@fas.harvard.edu, sr=waterson@netscape.com 2002-06-14 06:47:35 +00:00
dbaron%fas.harvard.edu e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
dbaron%fas.harvard.edu d10ff83425 Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson 2002-05-16 13:39:44 +00:00
karnaze%netscape.com dfbd7c0b89 bug 113235 - avoid reframing when content is inserted inside an inline frame which contains a block. sr=waterson, r=attinasi. 2002-04-30 21:34:15 +00:00
karnaze%netscape.com 3c6f09b5b9 bug 136848 - consider a sibling of type col group, col, row group as a valid siblings of a child only if the child is the same type. sr=attinasi, r=kin 2002-04-19 03:11:29 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +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
dbaron%fas.harvard.edu 4e14f27e66 Attempt to fix topcrash bug 118014 by calling DeletingFrameSubtree in a bunch of places where it should be called to ensure that we don't leave dangling pointers in the undisplayed content map. sr=attinasi r=kin a=brendan 2002-03-13 13:51:20 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
attinasi%netscape.com c4ce5b9e2e Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
hewitt%netscape.com 43cda34734 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt 2002-01-12 01:18:10 +00:00
bryner%netscape.com 6cf1d33b09 Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.
2002-01-05 07:17:10 +00:00
dbaron%fas.harvard.edu baa0b0869a Split ConstructFrameByTag into ConstructTextFrame and ConstructHTMLFrame to make it easier to reorganize frame construction by tag and by display type and to speed up text frame construction. b=109788 r=bryner sr=hyatt 2001-12-09 04:28:41 +00:00
dbaron%fas.harvard.edu 3d3259f0ed Backing out most of my checkin for bug 109788. b=111710 2001-11-24 23:28:45 +00:00
dbaron%fas.harvard.edu 223a3191ba Split ConstructFrameByTag into ConstructTextFrame and ConstructHTMLFrame to make it easier to reorganize frame construction by tag and by display type. b=109788 r=hyatt rs=waterson 2001-11-23 04:52:24 +00:00
attinasi%netscape.com fc97e27fd5 Export GetAltTextfor as static member fcn. b=102281 r=kmcclusk sr=waerson 2001-11-07 04:32:25 +00:00
jst%netscape.com 6d64ded4f2 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com 2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu c13d4f0b0c Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
hyatt%netscape.com 0f2fca64d1 Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson 2001-10-25 07:31:18 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +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
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
dp%netscape.com f4baa95a45 bug# 96469 caching xbl service r=jag, sr=waterson, a=asa 2001-08-23 20:07:10 +00:00
hyatt%netscape.com 8330834eb2 Fix for 96042. r=dbaron, sr=sspitzer 2001-08-20 21:42:14 +00:00
waterson%netscape.com 0ab49cfc57 Bug 84235. Make nsCSSFrameConstructor print debug information when GECKO_FRAMECTOR_DEBUG_FLAGS is set. r=dbaron, sr=attinasi. 2001-06-27 04:01:51 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
karnaze%netscape.com c785e1439e bug 23714 - don't resolve style for irrelevant whitespace. sr=waterson, r=rbs,hyatt 2001-03-21 05:10:40 +00:00
heikki%netscape.com 5c811dfbf3 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
hyatt%netscape.com 45c08e6635 Fix for 55292, r=ben, sr=brendan 2001-02-02 00:54:47 +00:00
buster%netscape.com 6a93e50850 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods%netscape.com b61dc0dad6 Removing all references to GfxListControlFrame
Bug 62960 r=kmcclusk sr=hyatt
2001-01-10 14:50:27 +00:00
hyatt%netscape.com 5616358584 This patch enables the tree widget to use custom tags via XBL. a=ben 2000-12-07 10:12:02 +00:00
karnaze%netscape.com b66f36dbfe bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi
2000-11-27 22:47:33 +00:00
karnaze%netscape.com a52b02e708 bug 54542 (Hyatt's patch) - pass in style context instead of resolving it. a=buster, r=karnaze. 2000-10-25 14:55:21 +00:00
attinasi%netscape.com 551e38cfa8 Fixed items are now removed in ReconstructDocElementHierarchy. b=42114, r=buster@netscape.com 2000-08-30 18:51:45 +00:00
bryner%uiuc.edu 9df5895710 Refixing bug 23140 to not cause a menu slowdown, and fixing bug 46615 -
removal of old tree widget.  r=hyatt.
2000-08-03 00:22:36 +00:00
waterson%netscape.com 9665015156 Bug 21456. Support for 'alt=' attribute on applet frames. Patch submitted by edburns@acm.org, r=waterson, nisheeth, a=waterson. 2000-07-19 05:06:55 +00:00
waterson%netscape.com feb9226f40 Bug 22037. Detect when CantRenderReplacedElement() is inserting a block frame into an inline. When this happens, 'split' the frame model to the nearest containing block. Re-arranged some of ConstructInline()'s support routines to share code with new method SplitToContainingBlock(). r=nisheeth 2000-07-06 04:31:33 +00:00
waterson%netscape.com a721679b5c Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster 2000-06-07 06:58:45 +00:00
waterson%netscape.com b71b209ac7 Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster 2000-05-25 19:58:51 +00:00
hyatt%netscape.com 481e0fdf9a XBL Fixes r=ben 2000-05-24 08:19:10 +00:00
sfraser%netscape.com af4865ebb9 Make XBL work for HTML elements. r=hyatt 2000-05-15 20:25:02 +00:00
karnaze%netscape.com 509f652995 bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux 2000-04-04 01:28:15 +00:00