Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
joki%netscape.com de1742192c Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu 2000-03-09 15:31:44 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
joki%netscape.com bb80e9df7d Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods 2000-01-18 15:17:31 +00:00
dbaron%fas.harvard.edu d23f14ddac 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
2000-01-16 15:13:46 +00:00
nisheeth%netscape.com 5bac2cf869 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. 2000-01-12 21:52:58 +00:00
nisheeth%netscape.com 409aee6ae9 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
troy%netscape.com a6b6c4cdc7 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
troy%netscape.com 3c7966f705 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
troy%netscape.com 53b3fe1d67 Removed some old dead code 1999-12-01 04:10:47 +00:00
troy%netscape.com 12f89b6912 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
kin%netscape.com bc173ec910 Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com
1999-11-23 22:05:05 +00:00
troy%netscape.com 18e16961d7 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com fe56995443 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kin%netscape.com 98547fd894 Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann
1999-11-05 17:42:21 +00:00
kipp%netscape.com f4f952bf1f r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly 1999-11-03 22:09:00 +00:00
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com 918255682c Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
troy%netscape.com d0190a7f34 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
troy%netscape.com 01cf059769 r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
peterl%netscape.com 2e3a8d9de7 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
kipp%netscape.com dff5b76938 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com fd426dec6a Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
karnaze%netscape.com 0b5b66f195 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
troy%netscape.com 2a655ce368 Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
troy%netscape.com 0fbde9c198 Cleanup of reflow command handling 1999-07-24 21:41:15 +00:00
troy%netscape.com ede5a246de Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com 537d74d82c Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com 9fdbc7ced3 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
peterl%netscape.com 47ad552cb6 fix reresolve style context to iterate all child lists 1999-07-18 00:18:45 +00:00
kipp%netscape.com 0d0a80aed0 Check for another bad reflow child behavior 1999-07-14 17:27:48 +00:00
vidur%netscape.com 3f5ea90274 Fix for bug 2989 - correcting result of GetFrameForPoint. 1999-05-07 00:08:02 +00:00
kipp%netscape.com 5f6359a4c8 Dump out next and style context pointers 1999-04-27 22:11:21 +00:00
kipp%netscape.com 7888af60c0 removed dead comment info 1999-04-20 00:26:47 +00:00
joki%netscape.com 4035f53372 Fix event handling on background areas of tags. 1999-04-13 21:29:08 +00:00
troy%netscape.com f88ce2f295 Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()
1999-04-13 00:15:13 +00:00
troy%netscape.com 9553d83a84 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy%netscape.com aa1d2236b2 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
troy%netscape.com 35f7636e04 Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead
1999-04-12 23:03:11 +00:00
troy%netscape.com 6fe76beacf Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets
1999-04-11 00:56:28 +00:00
peterl%netscape.com 78240897f9 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp%netscape.com 93d6bff384 added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:18 +00:00
kipp%netscape.com da63a4ae6d Removed dead code; output rects naturally 1999-03-05 04:22:54 +00:00
troy%netscape.com 8dfabdf1a8 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com 5d824c6f2b Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells
1999-02-21 18:59:00 +00:00
troy%netscape.com c37ccfbc4c Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00