bzbarsky@mit.edu
7b7597e967
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
dbaron@dbaron.org
92743fad12
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bzbarsky@mit.edu
58bdbe1010
Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
...
Saito <saito@densan.co.jp >, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +00:00
roc+@cs.cmu.edu
bfa2b2d5c6
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bryner@brianryner.com
08d2e8fc4c
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner@brianryner.com
f485f95ee8
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner@brianryner.com
180d96f792
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
roc+@cs.cmu.edu
605a63ab86
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
2004-02-22 03:31:30 +00:00
dbaron@dbaron.org
f4264ddfc8
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
bryner@brianryner.com
9a3c56b36f
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
dbaron@dbaron.org
de18c7a5d5
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +00:00
dbaron@dbaron.org
31b4b9ea2c
Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
2004-02-06 23:11:46 +00:00
roc+@cs.cmu.edu
404878514e
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
roc+@cs.cmu.edu
d8fd3d5bb4
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner@brianryner.com
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bmlk@gmx.de
71a84195ae
show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
2003-12-20 12:04:31 +00:00
jst@mozilla.jstenback.com
d47517f6dc
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
dbaron@dbaron.org
3696673382
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
peter@propagandism.org
fe3c6a6211
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
uid502
308b50e2e9
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
uid502
37854ee423
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
jst@mozilla.jstenback.com
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
dbaron@dbaron.org
8b35fbb545
My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
2003-09-20 21:31:18 +00:00
bmlk@gmx.de
7383d2b0a1
overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron
2003-09-13 16:21:41 +00:00
caillon@returnzero.com
ae8d4e8713
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch > with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky@mit.edu
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
brade@netscape.com
c4c3d2315b
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
2003-07-21 19:51:34 +00:00
dbaron@dbaron.org
ecb2c3ec36
Clean up GetView and SetView. b=208190 r+sr=roc
2003-07-12 00:50:00 +00:00
smontagu@netscape.com
4908fce960
Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
2003-07-11 23:34:42 +00:00
dbaron@dbaron.org
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
roc+@cs.cmu.edu
31ecd75b3f
ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
2003-06-28 11:48:14 +00:00
roc+@cs.cmu.edu
b68d4fd6d2
ongoing deCOMtamination work. r+sr=dbaron
2003-06-27 18:13:48 +00:00
roc+@cs.cmu.edu
c23ffbd9d1
Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
2003-06-25 22:55:27 +00:00
bsmedberg@covad.net
de6e481b1f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
roc+@cs.cmu.edu
ff1d135241
Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
2003-06-21 18:57:14 +00:00
roc+@cs.cmu.edu
320344228d
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
2003-06-21 17:06:05 +00:00
dbaron@dbaron.org
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
bryner@netscape.com
f665fdef8e
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
kaie@netscape.com
c771b5c902
b=202046 Empty (inline) elements cause caret movement to fail
...
r=smontagu sr=kin/brendan
2003-06-17 23:41:21 +00:00
dbaron@dbaron.org
a914429f7f
Slight correction to previous patch. b=209359
2003-06-15 01:24:03 +00:00
dbaron@dbaron.org
d26ee941c9
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
2003-06-15 00:55:00 +00:00
caillon@returnzero.com
c8a200d763
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
2003-06-13 20:10:01 +00:00
dbaron@dbaron.org
c09908709a
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
2003-06-01 20:18:53 +00:00
bmlk@gmx.de
71fd334323
infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
2003-05-31 10:32:19 +00:00
dbaron@dbaron.org
f98e358469
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
2003-05-15 03:42:21 +00:00
aaronl@netscape.com
1a2a00cb33
Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
2003-04-15 08:45:55 +00:00
kin@netscape.com
de08c0b441
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
2003-04-07 14:28:51 +00:00
bmlk@gmx.de
df9892da90
display overflow information in debug reflow bug 200881 r/sr=bzbarsky
2003-04-06 08:36:19 +00:00
seawood@netscape.com
20d5a05ab6
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00