roc+@cs.cmu.edu
941d1579a5
Ongoing deCOMtamination. r+sr=dbaron
2003-06-26 11:30:17 +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
kin@netscape.com
6939c50433
Fix for bug 205165 (a href link fails to work until window is resized)
...
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling
SyncFrameViewAfterReflow().
r=jkeiser@netscape.com sr=dbaron@dbaron.org
2003-06-05 17:42:29 +00:00
roc+@cs.cmu.edu
5dda98776b
Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
2003-06-02 04:03:07 +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
jkeiser@netscape.com
530dd1bf91
Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
2003-05-22 20:56:35 +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
roc+@cs.cmu.edu
a489acfea3
Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky.
2003-04-22 01:33:14 +00:00
bzbarsky@mit.edu
bcb986c88e
Fix crash when composer and comboboxes interact. The real fix is in
...
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
roc+@cs.cmu.edu
7143d14503
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
roc+@cs.cmu.edu
f3d81cb0cf
Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
2003-04-05 21:27:45 +00:00
dbaron@dbaron.org
406b60ce4b
Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc
2003-03-25 15:24:07 +00:00
timeless@mozdev.org
92a3737c5c
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
kyle.yuan@sun.com
cb63ca5fd9
Bug 193656 [ATK Accessibility] implement accessible object for block frame
...
r=aaronl, sr=henry.jia
2003-03-05 02:51:36 +00:00
kin@netscape.com
50ee90b33e
Fix for bug 191339: M130A Trunk crashing while printing [@ nsLineLayout::ReflowFrame]
...
Modified nsBlockFrame::Reflow() so that it reparents the frames in the overflow placeholder list when handing it off to an
ancestor that does not already have an overflow placeholder list.
r+sr=dbaron@dbaron.org
2003-02-24 19:02:08 +00:00
dbaron@dbaron.org
ea100487d6
Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz
2003-02-22 16:19:31 +00:00
dbaron@dbaron.org
834096485c
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner@netscape.com
ba58162e96
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.
2003-02-22 00:32:13 +00:00
karnaze@netscape.com
a9a3087c48
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
2003-01-20 18:04:34 +00:00
karnaze@netscape.com
719981548e
back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash.
2003-01-19 20:44:23 +00:00
karnaze@netscape.com
68ecec4aa2
bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov.
2003-01-19 20:25:29 +00:00
aaronl@netscape.com
4d7c6b14ce
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
2003-01-09 20:56:53 +00:00
dbaron@dbaron.org
1c37d177d4
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
2003-01-09 14:26:32 +00:00
dbaron@fas.harvard.edu
8a88f30fc6
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
2003-01-01 23:53:20 +00:00
dbaron@fas.harvard.edu
8859d5e783
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
roc+@cs.cmu.edu
8c5e0d7537
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+@cs.cmu.edu
f1531817b2
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
2002-12-21 23:25:38 +00:00
dbaron@fas.harvard.edu
7afb0869ad
Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
2002-12-19 00:12:08 +00:00
dbaron@fas.harvard.edu
4c4f65aba0
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
dbaron@fas.harvard.edu
ac6e0e350b
Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc
2002-12-11 02:38:33 +00:00
roc+@cs.cmu.edu
3a4d16c359
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+@cs.cmu.edu
ac29090710
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
karnaze@netscape.com
e02d92db7a
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
2002-12-04 00:58:52 +00:00
dbaron@fas.harvard.edu
8bcfcfd685
Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
2002-11-28 19:29:28 +00:00
sicking@bigfoot.com
4b50c34806
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron@fas.harvard.edu
b5aa3f413f
Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896
2002-11-21 15:20:20 +00:00
dbaron@fas.harvard.edu
c0b8c3124a
Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin
2002-11-17 15:51:25 +00:00
dbaron@fas.harvard.edu
72f2298b73
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky@mit.edu
94a59a302a
Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz
2002-11-09 18:33:37 +00:00
karnaze@netscape.com
587f0cc185
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
2002-10-30 15:33:36 +00:00
karnaze@netscape.com
6f3adcf511
bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov.
2002-10-21 14:54:00 +00:00
karnaze@netscape.com
e11b43eac2
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
2002-10-08 20:35:26 +00:00
caillon@returnzero.com
0d9875f0a1
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron@fas.harvard.edu
a2c47c0843
Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin
2002-10-08 01:52:34 +00:00
karnaze@netscape.com
d94f7cf2db
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
roc+@cs.cmu.edu
3d29b8d6ba
Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin
2002-09-24 11:43:48 +00:00
bzbarsky@mit.edu
2b09788244
Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...".
2002-09-12 03:44:37 +00:00
karnaze@netscape.com
8b8c23a500
bug 149275 - Allocate reflow state and let ReflowBlock initialize it so the correct reflow state can be passed to DidReflow. Combined DoReflowBlock with ReflowBlock. sr=bzbarsky, r=alexsavulov.
2002-09-04 06:55:40 +00:00
alexsavulov@netscape.com
bc0cc0ed71
Fix for bug 78820 - right aligned floater in nowrap blocks are not
...
positioned correctly. r= alexsavulov sr= kin
2002-08-27 22:31:24 +00:00
dbaron@fas.harvard.edu
f663074ee8
Don't repeatedly reapply the carried out bottom margin when clearing long words past floats. Fixes infinite loop in the case where the margin is negative. b=153429 sr=bzbarsky r=roc+moz
2002-08-14 12:44:40 +00:00