dbaron%dbaron.org
75df55b0bf
Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145090 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 00:14:16 +00:00
dbaron%dbaron.org
f10c26b785
Fix top vs bottom typo. b=190743 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145048 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 06:13:45 +00:00
roc+%cs.cmu.edu
f12a3fdf92
Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144867 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 00:04:43 +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
timeless%mozdev.org
74b0dfbdb3
Bug 211183 Infinite loop in nsBlockFrame::DoRemoveFrame
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144349 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 18:28:30 +00:00
roc+%cs.cmu.edu
fc35098277
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144189 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 11:30:17 +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
kin%netscape.com
20a95c95e4
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
git-svn-id: svn://10.0.0.236/trunk@143337 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 17:42:29 +00:00
roc+%cs.cmu.edu
360ffeb90a
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
...
git-svn-id: svn://10.0.0.236/trunk@143163 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:03:07 +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
jkeiser%netscape.com
d214c656a8
Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142762 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:56:35 +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
roc+%cs.cmu.edu
48f5e93a92
Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@141562 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu
fe8997ff0a
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.
git-svn-id: svn://10.0.0.236/trunk@141067 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 16:06:54 +00:00
roc+%cs.cmu.edu
d4ac9a5795
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
...
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
4dfef42d7f
Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
dbaron%dbaron.org
0465d009bf
Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@140250 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:24:07 +00:00
timeless%mozdev.org
0e5f07166f
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
kyle.yuan%sun.com
fcde9c769e
Bug 193656 [ATK Accessibility] implement accessible object for block frame
...
r=aaronl, sr=henry.jia
git-svn-id: svn://10.0.0.236/trunk@138910 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 02:51:36 +00:00
kin%netscape.com
e0cac23611
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
git-svn-id: svn://10.0.0.236/trunk@138348 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 19:02:08 +00:00
dbaron%dbaron.org
897a1a273b
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
...
git-svn-id: svn://10.0.0.236/trunk@138197 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:19:31 +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
karnaze%netscape.com
8ece4a7c7a
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136686 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 18:04:34 +00:00
karnaze%netscape.com
dc2886a303
back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash.
...
git-svn-id: svn://10.0.0.236/trunk@136645 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:44:23 +00:00
karnaze%netscape.com
64afda8ff4
bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@136644 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:25:29 +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
dbaron%fas.harvard.edu
ffb8d9cca7
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
...
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +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
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
dbaron%fas.harvard.edu
a7efa8275b
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
...
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
dbaron%fas.harvard.edu
10a7236c6a
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
...
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu
0da606ffe7
Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135094 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:38:33 +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
dbaron%fas.harvard.edu
d77395a3b9
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)
...
git-svn-id: svn://10.0.0.236/trunk@134576 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:29:28 +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
dbaron%fas.harvard.edu
10dd68c42b
Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896
...
git-svn-id: svn://10.0.0.236/trunk@134264 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:20:20 +00:00
dbaron%fas.harvard.edu
a0f469c2b2
Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134007 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:51:25 +00:00
dbaron%fas.harvard.edu
307f43b5a1
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
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
54f34022d8
Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@133497 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 18:33:37 +00:00
karnaze%netscape.com
3d58e9c1e1
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
karnaze%netscape.com
31d587fa18
bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@132320 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-21 14:54:00 +00:00
karnaze%netscape.com
7e2beae782
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
...
git-svn-id: svn://10.0.0.236/trunk@131456 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:35:26 +00:00
caillon%returnzero.com
0f7366d6d0
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
git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
cd7f730327
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
...
git-svn-id: svn://10.0.0.236/trunk@131355 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:52:34 +00:00
karnaze%netscape.com
35e78f4c8c
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@130380 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 22:13:20 +00:00