kin@netscape.com
ad0062a99b
Fix for bug 106489 (Text entered in box does not appear)
...
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
file where they could be called from my new utility method
AdjustOutOfFlowFrameParentPtrs().
- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
so that out-of-flow floater frames are reparented to the correct
containing block when the placeholder is moved under the block
created in ConstructInline().
r=attinasi@netscape.com sr=waterson@netscape.com
2002-04-12 14:41:40 +00:00
dbaron@fas.harvard.edu
4b63835325
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
dbaron@fas.harvard.edu
f378b4d7d2
Fix topcrash resulting from accidentally making DeletingFrameSubtree not null-safe. b=134508 sr=waterson r=attinasi a=asa
2002-04-09 01:11:25 +00:00
karnaze@netscape.com
5649c43c8a
bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
2002-04-06 22:16:12 +00:00
rbs@maths.uq.edu.au
dd76efcda1
Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
2002-04-04 15:42:45 +00:00
pinkerton@netscape.com
b50090c336
turn on building of native scrollbars from xbl, on for mac classic skin. r=sdagley/sr=beard/a=valeski. bug# 121440
2002-03-31 18:36:55 +00:00
dbaron@fas.harvard.edu
d1856f6f91
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
hewitt@netscape.com
ffbc59afea
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
dbaron@fas.harvard.edu
771618df2c
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
sicking@bigfoot.com
886b535148
Bug 41983: Make (x)html-elements support namespaced attributes.
...
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
bryner@netscape.com
06c9e50955
More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa.
2002-03-22 04:22:19 +00:00
dbaron@fas.harvard.edu
45dc126779
Fix dynamic style changes to the background of the root element or the BODY element by doing the necessary extra invalidation for backgrounds that are propagated to an ancestor. Restructure ApplyRenderingChangeToTree so it does less work in recursive calls, and remove old hack to invalidate for background changes that happen through attribute changes. b=63863 sr=attinasi r=bzbarsky a=scc
2002-03-21 23:51:17 +00:00
karnaze@netscape.com
9a3780e93f
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
1eda44576d
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
karnaze@netscape.com
1ca2aeac53
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
attinasi@netscape.com
d2272735d5
Support for overflow:hidden on body or html element, in html documents. b=93520 r=alexsavulov,jkeiser, sr=kin, a=asa OBO drivers
2002-03-11 21:47:40 +00:00
shaver@mozilla.org
f496748aa7
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze@netscape.com
3c53ca4de3
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
alexsavulov@netscape.com
dfd7d1af77
forgot some comments in the source... damn the tree will burs
2002-03-07 21:18:26 +00:00
alexsavulov@netscape.com
57cf0ca1ee
fix for bug 121368 - prevents the method nsCSSFrameConstructor::ReframeContainingBlock
...
to execute during a reflow and so destroy the frame tree that's in reflow
sr= attinasi, r= karnaze, a= asa
2002-03-07 20:51:05 +00:00
bryner@netscape.com
367cc93c8f
- 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
bryner@netscape.com
e72c48cb43
Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
...
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame. r=varga, sr=shaver, a=roc.
2002-03-03 23:31:26 +00:00
rbs@maths.uq.edu.au
b6d6e3cebf
bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver
2002-02-27 01:37:13 +00:00
attinasi@netscape.com
c86c42bc7e
Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver
2002-02-22 02:17:18 +00:00
karnaze@netscape.com
9a13af360b
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
karnaze@netscape.com
f96467ba92
bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
2002-02-18 15:57:19 +00:00
rbs@maths.uq.edu.au
c8fce0a45d
Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi
2002-02-16 02:48:10 +00:00
bryner@netscape.com
8e20636049
Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
2002-02-13 10:47:18 +00:00
karnaze@netscape.com
83f54a3163
Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
2002-02-12 15:57:49 +00:00
bryner@netscape.com
801e3a66b7
Bug 122512 - make sure we don't construct inline frames for children of a select (size > 1) widget when using xbl form controls. r=hewitt,sr=hyatt.
2002-01-30 01:38:55 +00:00
waterson@netscape.com
6a6aa4efde
Bug 102860. Relatively positioned frames do not have place-holders. r=dbaron, sr=hyatt
2002-01-29 00:03:31 +00:00
waterson@netscape.com
e1747e3887
Bug 121860. Handle case where block frame is embedded inside a XUL document. r=dbaron, sr=hyatt.
2002-01-29 00:02:25 +00:00
bryner@netscape.com
cf6dd9a760
Bug 112716 - implement checkbox in XBL. r=jkeiser, sr=jst.
2002-01-28 23:48:16 +00:00
pinkerton@netscape.com
d3f55fe301
changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
2002-01-25 22:01:41 +00:00
rods@netscape.com
5f9c45f5f9
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
rbs@maths.uq.edu.au
42389c55a5
Improvements to <mtable> to fix bug 39411. Here are the additional hooks needed in the frame construction code, (I also left some aliases that I can change later in nsMathMLParts.h), bug 120487, r=karnaze, sr=waterson
2002-01-25 07:14:07 +00:00
waterson@netscape.com
595fda51dc
Bug 99691. nsBoxToBlockAdaptor shouldn't be creating space managers; instead, fix XUL <label> and <description> elements to create area frames. r=dbaron, sr=hyatt
2002-01-24 22:34:25 +00:00
hyatt@netscape.com
a579bb36e7
Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan
2002-01-22 05:30:28 +00:00
varga@utcru.sk
0f4f4ed5db
Fixes for:
...
94653 - can't right align text in outliner cell
95730 - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.
- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable
r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes
sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
attinasi@netscape.com
04335c106c
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
dbaron@fas.harvard.edu
2757494bd9
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
bzbarsky@mit.edu
920b59e464
Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
2002-01-13 04:03:52 +00:00
hewitt@netscape.com
77b8bdf68d
70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt
2002-01-12 01:18:10 +00:00
dbaron@fas.harvard.edu
e537522240
Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
2002-01-11 20:10:46 +00:00
brade@netscape.com
e7b0931b95
remove unused statics kHTMLImageElementCID and kIStyleFrameConstructionIID saving 32 bytes (bug 117927; rs=glazou)
2002-01-09 15:45:50 +00:00
dbaron@fas.harvard.edu
edc54e6926
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
dbaron@fas.harvard.edu
e1d6ecafaa
Attempt to fix WS 5.0 bustage.
2002-01-06 20:07:13 +00:00
dbaron@fas.harvard.edu
ee7a0c3127
Get the visibility style struct to ensure that we check the 'direction' property and thus enable BIDI if necessary before beginning reflow. b=115921 r=smontagu sr=hyatt
2002-01-06 18:25:38 +00:00
bryner@netscape.com
2e1743aab5
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
timeless@mac.com
c16538ef81
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00