smontagu%netscape.com
4f2db22a33
Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144756 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:34:42 +00:00
dbaron%dbaron.org
593f58592d
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
bd259bdc4d
ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144244 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu
62382bd5e2
ongoing deCOMtamination work. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu
59de96e2fe
Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 22:55:27 +00:00
bsmedberg%covad.net
03384bfad0
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
...
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu
d65e3c6fd3
Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
...
git-svn-id: svn://10.0.0.236/trunk@144029 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
5784a81ebc
Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144027 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 17:06:05 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
bryner%netscape.com
112e4e9f44
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
kaie%netscape.com
27d6f745ef
b=202046 Empty (inline) elements cause caret movement to fail
...
r=smontagu sr=kin/brendan
git-svn-id: svn://10.0.0.236/trunk@143825 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org
b89215194d
Slight correction to previous patch. b=209359
...
git-svn-id: svn://10.0.0.236/trunk@143721 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 01:24:03 +00:00
dbaron%dbaron.org
994b83f818
Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143720 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:55:00 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
ae3f13f00e
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143158 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-01 20:18:53 +00:00
bmlk%gmx.de
b9f1fd315b
infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143137 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 10:32:19 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
aaronl%netscape.com
947985ab30
Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@141171 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 08:45:55 +00:00
kin%netscape.com
811daa38c7
Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
...
subtrees
mozilla/layout/html/base/src/nsFrame.cpp
- Added utility method ContentContainsPoint()
- Modified HandlePress() to allow selection of images, hrs and
-moz-user-select:all subtrees, and then disable selection
processing of drag events.
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
- Modified InsertFromDrop() so that it prevents a drop from
happening in a -moz-user-select:all subtree. (Temporary
workaround to avoid bug 195957 and bug 195959)
r=mjudge@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140805 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:28:51 +00:00
bmlk%gmx.de
ee6bc129df
display overflow information in debug reflow bug 200881 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140763 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 08:36:19 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
aaronl%netscape.com
affc2f4d4e
Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
dbaron%dbaron.org
534c5ba47d
Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140064 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 15:09:17 +00:00
roc+%cs.cmu.edu
ad79d0e7da
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
b993aac32b
Make sure all caller have to pass in the "ignore 'print backgrounds'
...
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574,
r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
dbaron%dbaron.org
2d204ffc53
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
...
git-svn-id: svn://10.0.0.236/trunk@136422 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 19:21:23 +00:00
bzbarsky%mit.edu
291ec6eb41
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 02:59:04 +00:00
aaronl%netscape.com
ee27cb1b5c
Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
a569c670f5
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
1c7f8e98ea
Make GetStyleDataExternal |const| to fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@136060 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 08:07:27 +00:00
bryner%netscape.com
6278746fdf
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
c278517282
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
dbaron%fas.harvard.edu
a436a28cb1
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135596 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu
55be3c1d27
Backing out fix for bug 170330... againr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
jfrancis%netscape.com
072ac8da08
fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135559 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:45:15 +00:00
roc+%cs.cmu.edu
b997358c68
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
caillon%returnzero.com
8a1bf17a45
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
...
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
dbaron%fas.harvard.edu
e4a0d80702
Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes.
...
git-svn-id: svn://10.0.0.236/trunk@135098 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:35:21 +00:00
dbaron%fas.harvard.edu
8c6d6103fa
Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@135092 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:29:35 +00:00
caillon%returnzero.com
6b60a8affb
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
roc+%cs.cmu.edu
4d55566a79
Backing out fix for bug 170330 due to Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
30ffe3fbf2
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134861 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:29:08 +00:00
karnaze%netscape.com
15faa7640c
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@134740 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:58:52 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
seawood%netscape.com
a12196ab17
Fix image dragging corruption on BeOS and remove redundant code.
...
Thanks to Stuart Parmenter <pavlov@netscape.com> for the patch.
Bug #178614 r=cls sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133193 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:14:59 +00:00
seawood%netscape.com
bb81de2d15
mach-o builds define both XP_UNIX *and* XP_MACOSX so we need to add a !XP_MACOSX to the XP_UNIX ifdef to avoid repeating a chunk of code twice and crashing.
...
Bug #173695 r=pavlov sr=alecf a=tor
git-svn-id: svn://10.0.0.236/trunk@131833 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 22:31:43 +00:00
dcone%netscape.com
1b3e519f6c
b=143046 r=rods sr=boris API change so we can create different depth nsImages
...
git-svn-id: svn://10.0.0.236/trunk@131135 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 03:32:26 +00:00