dbaron@dbaron.org
8c318cc87d
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
2003-01-16 19:21:23 +00:00
bzbarsky@mit.edu
23d1955e11
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
2003-01-16 02:59:04 +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
bryner@netscape.com
e26531a108
Make GetStyleDataExternal |const| to fix build bustage.
2003-01-09 08:07:27 +00:00
bryner@netscape.com
c98c382545
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.
2003-01-09 06:49:07 +00:00
dbaron@dbaron.org
10ab824360
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +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
jfrancis@netscape.com
bca2b13822
fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin
2002-12-22 01:45:15 +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
caillon@returnzero.com
d0e275516e
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
2002-12-11 14:05:41 +00:00
caillon@returnzero.com
aa5e6343da
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
dbaron@fas.harvard.edu
12df5c0896
Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes.
2002-12-11 03:35:21 +00:00
dbaron@fas.harvard.edu
d68e0a876a
Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky
2002-12-11 02:29:35 +00:00
caillon@returnzero.com
382e7a0fa6
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +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
sicking@bigfoot.com
4b50c34806
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
seawood@netscape.com
3584d267ad
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
2002-11-06 21:14:59 +00:00
seawood@netscape.com
20ac3b8d03
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
2002-10-11 22:31:43 +00:00
dcone@netscape.com
f9250cd2c0
b=143046 r=rods sr=boris API change so we can create different depth nsImages
2002-10-04 03:32:26 +00:00
dbaron@fas.harvard.edu
caf11f4a59
Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
2002-09-30 14:46:56 +00:00
bzbarsky@mit.edu
f2995453fa
Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
2002-09-12 20:33:11 +00:00
mjudge@netscape.com
ed8840bc11
small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame
2002-09-12 10:35:46 +00:00
mjudge@netscape.com
dc800395b6
14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression
2002-09-12 06:16:51 +00:00
mjudge@netscape.com
a0d493e402
missed a ';' on a ifdef mac section. fixing build bustage
2002-09-11 03:41:46 +00:00
mjudge@netscape.com
387f1caee1
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
2002-09-11 03:03:49 +00:00
mjudge@netscape.com
373e597ffe
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
2002-08-30 01:32:11 +00:00
mjudge@netscape.com
79cf729b94
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
roc+@cs.cmu.edu
458e434a36
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
mjudge@netscape.com
8fb3469d21
163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames.
2002-08-20 22:42:26 +00:00
mjudge@netscape.com
766143213a
163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout.
2002-08-20 22:08:44 +00:00
mjudge@netscape.com
8f2de035fc
159207. HR is now selectable and navigatable. r=cmanske sr=kin
2002-08-06 23:56:50 +00:00
jkeiser@netscape.com
5049d0ace7
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
2002-07-26 20:57:24 +00:00
seawood@netscape.com
0ae28f14fb
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
cmanske@netscape.com
2441d48dab
Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin
2002-06-21 14:22:30 +00:00
karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
shanjian@netscape.com
8ee8e6e790
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst@netscape.com
78ccba6821
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
waterson@netscape.com
a7380946d3
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
mjudge@netscape.com
8e0811e97c
bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest
2002-04-16 23:02:11 +00:00
timeless@mac.com
2253d7ae99
disable-bidi bustage, bug 82151
...
r=biesi
2002-04-16 14:49:29 +00:00
mjudge@netscape.com
af5a683671
82151 r=jfrancis sr = kin
2002-04-16 02:42:09 +00:00
karnaze@netscape.com
335ac62023
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
2002-04-10 21:32:41 +00:00
heikki@netscape.com
3ebaa107f7
Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa.
2002-04-01 04:27:50 +00:00
dbaron@fas.harvard.edu
771618df2c
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
cmanske@netscape.com
61341db4c0
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
2002-03-22 15:25:08 +00:00