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
hyatt%netscape.com
d58696d355
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
...
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
troy%netscape.com
e06a6c1855
b=24815. Make sure not to squelch NS_IMAGE_LOAD_STATUS_ERROR notifications
...
because the image frame needs these to call CantRenderReplacedElement()
git-svn-id: svn://10.0.0.236/trunk@58528 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:00:26 +00:00
nisheeth%netscape.com
1f351b9156
r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor.
...
git-svn-id: svn://10.0.0.236/trunk@58488 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 19:11:02 +00:00
nisheeth%netscape.com
26ad5f5255
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
nisheeth%netscape.com
990dc941ec
r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
...
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
av%netscape.com
bd79393099
Fix for #18679
...
git-svn-id: svn://10.0.0.236/trunk@58179 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:31:52 +00:00
troy%netscape.com
d0163fda49
Made sure to subtract top margin from available height when paginated
...
git-svn-id: svn://10.0.0.236/trunk@58102 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:39:38 +00:00
attinasi%netscape.com
475c4732e6
Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre
...
git-svn-id: svn://10.0.0.236/trunk@58101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:38:50 +00:00
attinasi%netscape.com
0bd01644df
Added ASSERTION and run-time check for SpaceManager before dereferencing it. r=rods,pierre
...
git-svn-id: svn://10.0.0.236/trunk@58100 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:36:36 +00:00
joki%netscape.com
fb23199c5a
Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods
...
git-svn-id: svn://10.0.0.236/trunk@58097 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:17:31 +00:00
rbs%maths.uq.edu.au
9276d563b5
[MATHML] Change of the character coordinate system of the bounding metrics
...
git-svn-id: svn://10.0.0.236/trunk@58000 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 07:34:24 +00:00
dbaron%fas.harvard.edu
e94508f0df
Fix performance problem pointed out by Jim Nance that there is excessive creation and destruction of clip regions during painting. The fix stops using PushState() and PopState() to undo a translation, since that causes the creation and destruction of a clip region.
...
r=troy
git-svn-id: svn://10.0.0.236/trunk@57969 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 15:13:46 +00:00
hyatt%netscape.com
8f6502ffb7
Fixes for bugs 17460 and 21656. r=travis
...
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
1a9c3b3033
Fix for bug 23781.
...
git-svn-id: svn://10.0.0.236/trunk@57721 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:32:47 +00:00
brade%netscape.com
ff04156de5
use proper key for discontiguous selection on Mac (r=jfrancis)
...
git-svn-id: svn://10.0.0.236/trunk@57680 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 16:07:03 +00:00
nisheeth%netscape.com
a7972696d1
The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
...
git-svn-id: svn://10.0.0.236/trunk@57629 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 04:27:05 +00:00
troy%netscape.com
1b4ab66907
b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
...
constructor
git-svn-id: svn://10.0.0.236/trunk@57601 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
8978d5a35b
r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame.
...
git-svn-id: svn://10.0.0.236/trunk@57571 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:52:58 +00:00
mjudge%netscape.com
a21138136b
small changes for 22752 ctrl left and right. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@57564 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:39:36 +00:00
nisheeth%netscape.com
77cbdbf5e2
Removing the "ifndef XP_MAC" around the call to nsFrame::CreateAndPostReflowCommand(). The real problem, identified by Scott Putterman, was that the definition of this function was in a debug only section in nsFrame.cpp. He has moved the function out of the debug only section.
...
git-svn-id: svn://10.0.0.236/trunk@57555 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 17:43:18 +00:00
putterman%netscape.com
6f88f28b10
This should fix the build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57554 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 17:20:16 +00:00