karnaze%netscape.com
7cf7c2cc59
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.
...
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
alexsavulov%netscape.com
083153ec7a
forgot some comments in the source... damn the tree will burs
...
git-svn-id: svn://10.0.0.236/trunk@116082 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:18:26 +00:00
alexsavulov%netscape.com
46ac9aab40
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
git-svn-id: svn://10.0.0.236/trunk@116074 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:51:05 +00:00
bryner%netscape.com
01634657fa
- 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.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
bryner%netscape.com
af01c27e5a
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.
git-svn-id: svn://10.0.0.236/trunk@115688 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 23:31:26 +00:00
rbs%maths.uq.edu.au
f59867d4df
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
...
git-svn-id: svn://10.0.0.236/trunk@115400 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:37:13 +00:00
attinasi%netscape.com
91eac9645b
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
...
git-svn-id: svn://10.0.0.236/trunk@115192 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:17:18 +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
karnaze%netscape.com
14130fefa0
bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
rbs%maths.uq.edu.au
d7f37a4594
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
...
git-svn-id: svn://10.0.0.236/trunk@114653 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:48:10 +00:00
bryner%netscape.com
79bcc86bfa
Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
...
git-svn-id: svn://10.0.0.236/trunk@114386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 10:47:18 +00:00
karnaze%netscape.com
39bb012a64
Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@114288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:57:49 +00:00
bryner%netscape.com
c76cc7e915
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.
...
git-svn-id: svn://10.0.0.236/trunk@113173 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 01:38:55 +00:00
waterson%netscape.com
3ddde9bd8f
Bug 102860. Relatively positioned frames do not have place-holders. r=dbaron, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@113068 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:03:31 +00:00
waterson%netscape.com
3229841ba0
Bug 121860. Handle case where block frame is embedded inside a XUL document. r=dbaron, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@113067 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:02:25 +00:00
bryner%netscape.com
89e99954e4
Bug 112716 - implement checkbox in XBL. r=jkeiser, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@113064 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:48:16 +00:00
pinkerton%netscape.com
64fdca15fd
changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
...
git-svn-id: svn://10.0.0.236/trunk@112880 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 22:01:41 +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
rbs%maths.uq.edu.au
f498083779
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
...
git-svn-id: svn://10.0.0.236/trunk@112847 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 07:14:07 +00:00
waterson%netscape.com
0ba428ed90
Bug 99691. nsBoxToBlockAdaptor shouldn't be creating space managers; instead, fix XUL <label> and <description> elements to create area frames. r=dbaron, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@112749 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:34:25 +00:00
hyatt%netscape.com
3f1f498838
Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@112513 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 05:30:28 +00:00
varga%utcru.sk
763dd8095d
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
git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:01:28 +00:00
attinasi%netscape.com
779d9368ff
Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
...
git-svn-id: svn://10.0.0.236/trunk@112109 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 22:05:26 +00:00
dbaron%fas.harvard.edu
45b310844b
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
bzbarsky%mit.edu
df8173369a
Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@112041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 04:03:52 +00:00
hewitt%netscape.com
72a8b46e4a
70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111995 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:18:10 +00:00
dbaron%fas.harvard.edu
307538c3e3
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
...
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
brade%netscape.com
c834c500ad
remove unused statics kHTMLImageElementCID and kIStyleFrameConstructionIID saving 32 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111700 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:45:50 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
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
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
dbaron%fas.harvard.edu
9fffba3f2b
Attempt to fix WS 5.0 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@111459 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 20:07:13 +00:00
dbaron%fas.harvard.edu
025f414842
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
...
git-svn-id: svn://10.0.0.236/trunk@111450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:25:38 +00:00
bryner%netscape.com
87d7aa496f
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.
git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
timeless%mac.com
21c081c8bc
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
hewitt%netscape.com
9eb5ae7fad
116198 - remove progressbar tag to simplify progressmeter, r=ben, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@110944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:41:32 +00:00
heikki%netscape.com
0fac54b986
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@110660 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 00:15:15 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +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
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
mkaply%us.ibm.com
b7dcb8f592
hack hack, wonderful hack
...
undef the index macro for VACPP
I guess this is a VACPP bug, we had to do this in js, but why name a function such a common macro?
git-svn-id: svn://10.0.0.236/trunk@110392 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 12:52:55 +00:00
bbaetz%cs.mcgill.ca
478af40f6f
Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
...
alex.fritze@crocodile-clips.com , james.turner@crocodile-clips.com , and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
dbaron%fas.harvard.edu
97e5cd4b32
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
...
git-svn-id: svn://10.0.0.236/trunk@110108 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 04:28:41 +00:00
dbaron%fas.harvard.edu
d3f3cc3a7b
Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@109818 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:45:07 +00:00
hewitt%netscape.com
801573f381
93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@109677 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:32:49 +00:00
bryner%netscape.com
5905d6acc1
Forgot this file as part of 113082. (pre-emptively fixing bustage)
...
git-svn-id: svn://10.0.0.236/trunk@109476 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:46:56 +00:00
roc+%cs.cmu.edu
35e1d479ea
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
attinasi%netscape.com
3db4a0e9ac
Checkin for Ulrich Drepper: cleanup of 'if' cascade in frame constructor for controls. b=99421 r=rods sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109370 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:43:35 +00:00
varga%utcru.sk
e0dc84b7d2
Fix for 97062.
...
Implement a content model view for <outliner>.
r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109326 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:41:55 +00:00
kin%netscape.com
0d6b36df4c
Fix for bug 69398: {label,hr,br}:after {content: ":"} repeats creation of :
...
with mouse movement
Modified RemoveGeneratedContentFrameSiblings() to handle the case where
the :after frame is in a continuing frame for the primary frame's parent.
r=dbaron@fas.harvard.edu sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109259 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:53:03 +00:00
attinasi%netscape.com
7451e69bbe
Fixed a problem where changes to inline-style were not causing the correct clearing of the style system's cached rules. b=97874 r=pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@109159 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:56:43 +00:00
dbaron%fas.harvard.edu
0e1a7a0ed0
Correct computation of containing block for absolutely positioned elements added dynamically within fixed positioned elements or for which the containing block's element is scrollable. b=111849, 91060 r=waterson sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109108 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:57:31 +00:00