rods%netscape.com
cd373c38d9
Border left and right was being added to an unconstrained size
...
b 21945 r=troy
git-svn-id: svn://10.0.0.236/trunk@60883 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:10:23 +00:00
pinkerton%netscape.com
566aef7a31
removed obsolete (and ifdef'd out) d&d test code. r=saari.
...
git-svn-id: svn://10.0.0.236/trunk@60835 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 07:13:21 +00:00
dbaron%fas.harvard.edu
f1cd9a202b
Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
...
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line. This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements. Many of the changes are removing an earlier fix for 24186.
r=buster
git-svn-id: svn://10.0.0.236/trunk@60795 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:26:44 +00:00
dveditz%netscape.com
3d8644431b
Attempting to fix nsCOMPtr .get() related bustage on Linux
...
git-svn-id: svn://10.0.0.236/trunk@60788 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 02:55:23 +00:00
beard%netscape.com
b7742c48e0
fixes nsIAtom leaks, bug # 25761, r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@60767 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:17:18 +00:00
buster%netscape.com
f8a979601a
bug 26840 r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@60678 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:54:20 +00:00
buster%netscape.com
daf94d0477
bug 25510 r=troy
...
bug 26289 for roc+moz@cs.cmu.edu , r=buster
git-svn-id: svn://10.0.0.236/trunk@60677 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:52:22 +00:00
troy%netscape.com
ed97833d64
b=26184 r=karnaze@netscape.com Changed it so that for a percentage width based
...
floater if the containing block width is unconstrained we use NS_UNCONSTRAINEDSIZE
for the floater's computed width. We were using 0 and this was causing table column
widths to be incorrect
git-svn-id: svn://10.0.0.236/trunk@60650 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:55:18 +00:00
hyatt%netscape.com
5d47c37c68
Moving previous 9701 fix out of frame constructor and into presshell. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60620 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 06:07:38 +00:00
nisheeth%netscape.com
907a57920f
r=hyatt. Partial fix for PDT+ bug 13537. Session history captures frame state now.
...
git-svn-id: svn://10.0.0.236/trunk@60527 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:54:37 +00:00
troy%netscape.com
53d97bab09
b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
...
flag now
git-svn-id: svn://10.0.0.236/trunk@60493 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:31:41 +00:00
nisheeth%netscape.com
740297e197
r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.
...
git-svn-id: svn://10.0.0.236/trunk@60460 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 07:11:43 +00:00
vidur%netscape.com
f1a9c3f401
Fix for bug 9140. Area elements now have event fired for them. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
attinasi%netscape.com
c0556bcafb
Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406
...
git-svn-id: svn://10.0.0.236/trunk@60384 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:05 +00:00
tbogard%aol.net
330b980016
Removed unused include.
...
git-svn-id: svn://10.0.0.236/trunk@60377 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:16:30 +00:00
evaughan%netscape.com
a9aadf75b0
1) Fixed freeze because of sync drawing in forms
...
2) Fixed fieldset blocker
-r rods, granrose
git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
mjudge%netscape.com
9d16b27f7a
fix for memory leak bug 24332
...
git-svn-id: svn://10.0.0.236/trunk@60306 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:55:34 +00:00
mjudge%netscape.com
41735e6bdd
fix for bug 18528. fixing tabs controls in selection guessing.
...
git-svn-id: svn://10.0.0.236/trunk@60305 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:48:17 +00:00
nisheeth%netscape.com
1ece5d5eba
r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor.
...
git-svn-id: svn://10.0.0.236/trunk@60301 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:27:43 +00:00
mjudge%netscape.com
44c8697114
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
...
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
evaughan%netscape.com
a268db39c4
1) implememted box reflow coelescing.
...
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
31beeacc3d
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
troy%netscape.com
ca27394aa8
b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
...
line dirty even if it also marks the preceding line dirty
git-svn-id: svn://10.0.0.236/trunk@59993 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 15:36:08 +00:00
dbaron%fas.harvard.edu
22c80ea3f0
Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
...
r=joki
git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
troy%netscape.com
05e293d03e
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
git-svn-id: svn://10.0.0.236/trunk@59586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:51:37 +00:00
ftang%netscape.com
a128731cb0
r=nhotta, fix 24451. Change the IME hightlight code so
...
it won't draw out the clip boundary. It now draw by different color
instead of different hight.
git-svn-id: svn://10.0.0.236/trunk@59565 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:39:25 +00:00
brade%netscape.com
b40b18cebb
export file for rdf.mcp
...
git-svn-id: svn://10.0.0.236/trunk@59544 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:37:51 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
buster%netscape.com
d64562d6fd
fixing linux bustage. got caught by a platform difference in handling
...
of nsCOMPtr and the equality operator
git-svn-id: svn://10.0.0.236/trunk@59509 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:28:37 +00:00
buster%netscape.com
faf4d905b4
fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
...
r=troy
git-svn-id: svn://10.0.0.236/trunk@59508 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 07:38:23 +00:00
buster%netscape.com
a7432b62d5
fixing very minor compile-time error that only shows up if you have certain
...
debug flags set. r=none
git-svn-id: svn://10.0.0.236/trunk@59507 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 07:37:18 +00:00
nisheeth%netscape.com
cdc51db942
Enabling async reflow after the document has loaded.
...
git-svn-id: svn://10.0.0.236/trunk@59443 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:19:52 +00:00
troy%netscape.com
1fe10fe3f2
b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
...
update the maximum width
git-svn-id: svn://10.0.0.236/trunk@59233 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:42:23 +00:00
troy%netscape.com
573b3e8c49
b=25245 Changed ComputeContainingBlockRectangle() to set the containing
...
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly
git-svn-id: svn://10.0.0.236/trunk@59232 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:40:48 +00:00
troy%netscape.com
1c1bc9d99d
b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
...
unconstrained reflow
git-svn-id: svn://10.0.0.236/trunk@59231 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:29:52 +00:00
troy%netscape.com
0d18407104
b=25245 Changed Reflow() to return 0 for a max-element-width if the
...
image has a percentage based width
git-svn-id: svn://10.0.0.236/trunk@59230 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:28:38 +00:00
troy%netscape.com
9866fd9793
b=25223. Block code now does a better job of determing where the floater
...
should go before reflowing it
git-svn-id: svn://10.0.0.236/trunk@59137 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:47:33 +00:00
troy%netscape.com
f06fedd7c3
b=22692 Changed RemoveFloater() to return PR_FALSE if the floater is
...
associated with that line
git-svn-id: svn://10.0.0.236/trunk@59134 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:17:04 +00:00
sfraser%netscape.com
e3af49b9d0
Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
rods%netscape.com
4161da0c7d
when an option contained a comment node and and an attr was unset case a
...
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi
git-svn-id: svn://10.0.0.236/trunk@59070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:03:00 +00:00
troy%netscape.com
345ea758ec
b=25049. Fixed a problem with max-element-size not being calculated
...
correctly for a floated table
git-svn-id: svn://10.0.0.236/trunk@59008 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:12:30 +00:00
karnaze%netscape.com
e8ff8bb21f
bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
...
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
56e559d918
Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
...
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kmcclusk%netscape.com
5f7ac3effb
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
troy%netscape.com
206226ce30
b=24936, r=nisheeth@netscape.com Changed block code to set mNextRCFrame to
...
NULL after reflowing the frame, so if we reflow it again we don't think it's
an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@58819 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:18:33 +00:00
kin%netscape.com
88159ea0e4
Fix for bug #12825 : {css-moz} overflow: -moz-scrollbars-* not implemented
...
Added code to implement the new overflow -moz-scrollbars values.
r=evaughan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@58812 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:56:03 +00:00
troy%netscape.com
ec50403f3b
b=22677. Fix for the part of the bug where the second table taht is relatively
...
positioned flashes when the window is resized
git-svn-id: svn://10.0.0.236/trunk@58724 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 03:44:36 +00:00
troy%netscape.com
b630d28d5e
b=22497. Changed ReflowBlock() to better calculate the x-offset where the
...
table will be positioned
git-svn-id: svn://10.0.0.236/trunk@58691 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:45:47 +00:00
rods%netscape.com
f25bb8eb63
impls the new flag to only scroll when not visible
...
b 18649 r=troy
git-svn-id: svn://10.0.0.236/trunk@58617 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com
d23c598d3c
r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
...
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00