Commit Graph

135 Commits

Author SHA1 Message Date
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
rods%netscape.com
13d86b3341 Initial checkin of SVG prototype code for Dean Jackson (if def'ed) 2000-04-01 22:26:38 +00:00
evaughan%netscape.com
53b00e50f0 box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
rods%netscape.com
9c19444a41 Added space manaer flag to the creation of Labels.
b=33200
Reworked how and when the prefs are accessed for getting the Gfx Scrollbar prefs
they are got only once and then are cached. Potential preformance issue.
2000-03-27 22:12:42 +00:00
rods%netscape.com
b96d5f84ab Checkbox construction now gets the resolved moz-checkbox style on creation.
Fieldset's block frame now gets the flags with the spacemanager set if it is being absolutely positioned.
r=kmcclusk,dcone b=32949
2000-03-24 15:48:59 +00:00
nisheeth%netscape.com
a89fa8ead5 r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines. 2000-03-23 23:18:56 +00:00
hyatt%netscape.com
6ead515970 Improving XBL support. 2000-03-11 10:38:36 +00:00
pollmann%netscape.com
9a177eff73 Bug 28691/16999: Removing obsoleted code. r=harishd a=rickg 2000-02-23 21:36:29 +00:00
evaughan%netscape.com
5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
attinasi%netscape.com
d6004947d4 Minor reformatting and some comments added. b=none r=none 2000-01-27 02:17:04 +00:00
troy%netscape.com
8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
rods%netscape.com
02a831ab54 Pulled child frame frame creation out of the nsFieldsetFrame and put it in
here. Added new method for creating fieldset.
troy reviewed the approach but not the code (it's not turned on yet)
b=23156
2000-01-09 02:04:36 +00:00
rbs%maths.uq.edu.au
97d27d7b0c [NOT PART OF THE DEFAULT BUILD]. *Changes to bring MathML in sync with layout (added aPresShell on factory routines). *Postfixed atoms with underscore to avoid conflicts with reserved names in C++ and math.h 1999-12-10 13:07:59 +00:00
nisheeth%netscape.com
24d990e18b Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +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
kmcclusk%netscape.com
199bc6a632 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
evaughan%netscape.com
57b995359f Fixed gfxscrollbar bugs #16460 and #15722 1999-11-10 23:51:44 +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
0a512d8393 r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737) 1999-11-01 15:24:57 +00:00
kipp%netscape.com
06f88727ca r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies. 1999-10-29 14:39:48 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
rbs%maths.uq.edu.au
129e3d048e Adding remaining MathML hooks and changing ifdef INCLUDE_MATHML to ifdef MOZ_MATHML to avoid thinking autoconf-related. r:peterl 1999-10-02 10:41:40 +00:00
hyatt%netscape.com
e252669b87 Fixing tree widget updating problem (bienvenu). 1999-09-28 00:57:31 +00:00
peterl%netscape.com
e4c87f11a1 moved re resolve style logic into frame manager 1999-09-21 07:55:37 +00:00
troy%netscape.com
2eba2292ea Changed CreateGeneratedFrameFor() to set the parent object and the document
object of the generated content
1999-09-07 03:09:33 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
kipp%netscape.com
2bbab750e5 Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly 1999-08-27 21:46:10 +00:00
evaughan%netscape.com
f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00
evaughan%netscape.com
a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
7e25f731c9 Create an autocomplete text widget if needed 1999-08-19 22:11:03 +00:00
kmcclusk%netscape.com
61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
rods%netscape.com
c28f09b2b4 Added RemoveDummyFrameFromSelect method for removing the dummy frame when the select is empty, finished adding the code to completely handle the creating and removing of the dummy frame. 1999-08-06 21:14:45 +00:00
pierre%netscape.com
1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
troy%netscape.com
71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
rods%netscape.com
c0ba35bb79 Added the style context to the CreateInputFrame method, the pseudoContext
was not being created with it's parent and needed to be. Fixes Bug #10716
1999-08-03 14:41:48 +00:00
kmcclusk%netscape.com
d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
hyatt%netscape.com
4e29132a5d Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).
1999-07-09 20:58:16 +00:00
kipp%netscape.com
224337a955 Fixed bug #8905 by moving a copy of the first-letter construction code into the bowels of the generated content frame generation code 1999-07-05 18:46:09 +00:00
troy%netscape.com
5b550f3d8a Added function FindPrimaryFrameFor() 1999-07-02 04:46:19 +00:00
evaughan%netscape.com
54afa7f4f6 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
hyatt%netscape.com
58cda7a8d0 Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(
1999-06-29 20:20:40 +00:00
hyatt%netscape.com
c756114f03 Number Two: Mail/news performance continued to decline. We thought the
situation with the tree widget was hopeless.  And so we cloned it.  This
new tree widget is exactly like the original in every way... only
1/8 its size.

Dr. Evil: I shall call it... MINI-TREE.

(Translation: Backward scrolling now works in the lazy tree
widget.)
1999-06-28 08:35:10 +00:00
hyatt%netscape.com
b66c3c67f2 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
kmcclusk%netscape.com
881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
evaughan%netscape.com
e2255c4a64 Integrated a new XP scrollbar
Added tri state behavior to titled buttons.
1999-06-15 04:02:43 +00:00
buster%netscape.com
82ee6d0c3e added support for ender GFX-Rendered text control 1999-06-12 22:32:41 +00:00
karnaze%netscape.com
14a2e6c1eb fixed crash in bug 5190, allowing a table to be the top level XML element. 1999-04-30 19:51:59 +00:00
troy%netscape.com
dc90d5782e Aded nsFrameConstructorState structure 1999-04-28 19:08:14 +00:00
kipp%netscape.com
2f9d97e73d Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames 1999-04-28 00:21:51 +00:00
kipp%netscape.com
896a295081 Create first-letter frames as needed 1999-04-27 22:14:54 +00:00
troy%netscape.com
eda127dabd Change so we use nsPlaceholderFrame frames for all placeholders 1999-04-25 16:58:42 +00:00
peterl%netscape.com
09405cfc34 widened state change api
added test for state dependent style
1999-04-20 00:05:14 +00:00
troy%netscape.com
fb899785d8 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents
1999-04-14 04:00:16 +00:00
kmcclusk%netscape.com
a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
troy%netscape.com
1fea9f892b Added a check that the content objects match when determining if a
frame is generated content
1999-04-07 03:10:59 +00:00
troy%netscape.com
0439adf764 Changed ContentAppended() and ContentInserted() to work correctly
if the parent frame has :before or :after pseudo-elements
1999-04-06 04:58:05 +00:00
troy%netscape.com
0cd13af7b0 Work on generated content 1999-04-05 02:53:07 +00:00
troy%netscape.com
f772926cd0 Work-in-progress for generated content 1999-03-30 15:22:54 +00:00
peterl%netscape.com
91c548b4eb added methods to process style changes on frames 1999-03-25 06:42:07 +00:00
troy%netscape.com
13d84ddc5c Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
kmcclusk%netscape.com
82dac76411 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
vidur%netscape.com
cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
karnaze%netscape.com
f641f7af45 fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
kipp%netscape.com
c4b8cdb1ac Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
karnaze%netscape.com
b9d95f9ba2 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
troy%netscape.com
e44548e676 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
hyatt%netscape.com
bedf348d9a Changes to the table frame construction code to fix breakage in the tree view. 1999-02-12 01:35:37 +00:00
karnaze%netscape.com
0f23c87234 table related frames don't create frames for children that are invalid (e.g. map, body, etc.) 1999-02-11 23:08:28 +00:00
hyatt%netscape.com
7ac31f8c5f Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
troy%netscape.com
261c24cc5e Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use
1999-02-06 03:45:11 +00:00
peterl%netscape.com
157564981f moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00