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
dbaron%fas.harvard.edu
6bf02d19fa
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
...
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
bzbarsky%mit.edu
2539b61b98
Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@129411 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:33:11 +00:00
mjudge%netscape.com
79716034a2
small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame
...
git-svn-id: svn://10.0.0.236/trunk@129330 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 10:35:46 +00:00
mjudge%netscape.com
2d40b81f4a
14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression
...
git-svn-id: svn://10.0.0.236/trunk@129319 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 06:16:51 +00:00
mjudge%netscape.com
d190cc810e
missed a ';' on a ifdef mac section. fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@129226 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:41:46 +00:00
mjudge%netscape.com
d412f97810
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
...
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
mjudge%netscape.com
24b6c23cc2
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
...
git-svn-id: svn://10.0.0.236/trunk@128516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:32:11 +00:00
mjudge%netscape.com
2f5c006a1d
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
...
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
c6bb83f66a
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
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
mjudge%netscape.com
1b7fd3dbf6
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.
...
git-svn-id: svn://10.0.0.236/trunk@127730 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:42:26 +00:00
mjudge%netscape.com
c19120f618
163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout.
...
git-svn-id: svn://10.0.0.236/trunk@127722 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:08:44 +00:00
mjudge%netscape.com
7ce727c759
159207. HR is now selectable and navigatable. r=cmanske sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@126554 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:56:50 +00:00
jkeiser%netscape.com
325bff7164
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
seawood%netscape.com
a7c7e77b8b
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
git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
7c4652cc16
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
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
cmanske%netscape.com
fde673846b
Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@123788 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 14:22:30 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59
#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
git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
waterson%netscape.com
5bae3657e6
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
...
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
mjudge%netscape.com
537bde0fdf
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
...
git-svn-id: svn://10.0.0.236/trunk@119173 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:02:11 +00:00
timeless%mac.com
2efde25601
disable-bidi bustage, bug 82151
...
r=biesi
git-svn-id: svn://10.0.0.236/trunk@119110 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:49:29 +00:00
mjudge%netscape.com
971c0c3c10
82151 r=jfrancis sr = kin
...
git-svn-id: svn://10.0.0.236/trunk@119055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:42:09 +00:00
karnaze%netscape.com
6dcf85a892
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.
...
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
heikki%netscape.com
261767c20d
Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117835 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 04:27:50 +00:00
dbaron%fas.harvard.edu
0b4effd4ea
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
...
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
cmanske%netscape.com
0b6789dd9e
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
karnaze%netscape.com
e4f8ba49ca
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@116402 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
e045387a83
reversion of patch for 92868, to repair severe regression (129827, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@116295 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
7cf7c2cc59
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
kin%netscape.com
9915882306
Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
...
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.
r=kmcclusk@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115509 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:34:47 +00:00
kin%netscape.com
c972b3fe60
Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
...
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.
r=kmcclusk@netscape.com sr=roc+moz@cs.cmu.edu a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@115138 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:03:31 +00:00
joki%netscape.com
d9bb857aa4
Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js
...
git-svn-id: svn://10.0.0.236/trunk@115091 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:23:35 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
mjudge%netscape.com
09b2352881
check for null to not crash is good. 115350 thanks to Shataro
...
git-svn-id: svn://10.0.0.236/trunk@114432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:40:46 +00:00
timeless%mac.com
5be877f2d4
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:12:50 +00:00
kin%netscape.com
9d69384546
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +00:00
pinkerton%netscape.com
46d542dcc5
ifdef-fu for mach-o. rs=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@113797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:42:06 +00:00
cathleen%netscape.com
dd8ebc5bd1
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
bernd.mielke%snafu.de
05a135ab75
completing the backout of my checkin for bug 110596
...
git-svn-id: svn://10.0.0.236/trunk@111720 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:28:12 +00:00