Commit Graph

749 Commits

Author SHA1 Message Date
kipp%netscape.com
b23b120a19 Implement TreatFrameAsBlock 1999-02-01 17:32:49 +00:00
kipp%netscape.com
12322a8a10 Added another TreatFrameAsBlock method 1999-02-01 17:32:33 +00:00
kipp%netscape.com
e6c0c373a9 Updated a comment 1999-02-01 17:32:19 +00:00
kipp%netscape.com
c2a13558a4 Removed ReplaceFrame 1999-02-01 17:31:21 +00:00
kipp%netscape.com
0887e5eedf Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
kipp%netscape.com
bcca9bcff4 Fixed up debug output 1999-02-01 17:29:58 +00:00
kipp%netscape.com
50b6da75a7 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion 1999-02-01 17:29:37 +00:00
kipp%netscape.com
859dde6287 Renamed InsertNewFrame->s; defined nsAnonymousBlock class 1999-02-01 17:28:39 +00:00
kipp%netscape.com
7e4600613e Rewritten to use an anon. block frame to manage block children 1999-02-01 17:27:56 +00:00
kipp%netscape.com
64610329f0 Cleaned up comments; removed ReplaceFrame from the API 1999-02-01 17:25:30 +00:00
troy%netscape.com
f987894585 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
troy%netscape.com
25be57b96c Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com
7c0d5680c3 Changed ReflowFixedFrame() to take the computed left and top margin into
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com
051df63e8f Added code to force an absolutely positioned child that ignored its
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com
5cd1cbadbf Added code to make sure that a fixed child frame ends up with the correct height
evebn if it disregards the computed height value
1999-01-30 17:39:29 +00:00
troy%netscape.com
f2d3dd631e Fixed leak of nsIHTMLDocument interface in GetImageMap() 1999-01-30 01:04:35 +00:00
troy%netscape.com
bb2686580f Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
troy%netscape.com
78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
troy%netscape.com
1741d8cae3 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com
2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
rickg%netscape.com
e53c0df266 missed this API change 1999-01-26 01:45:40 +00:00
mjudge%netscape.com
bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com
5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
amusil%netscape.com
43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
mjudge%netscape.com
110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
troy%netscape.com
b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
troy%netscape.com
b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com
0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
akkana%netscape.com
56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com
eab0e22fa7 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com
626cdf9ca8 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com
11e90148bb PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com
d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com
7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com
317d0d7c4e Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
mjudge%netscape.com
ee295b609b selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge%netscape.com
769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
rods%netscape.com
1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
troy%netscape.com
a1161339c0 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy%netscape.com
41250f6f85 Made handling of absolutely positioned child frames more efficient 1999-01-22 00:30:27 +00:00
troy%netscape.com
0f8e34e2e2 Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain
1999-01-20 05:11:17 +00:00
troy%netscape.com
4dd1d39c67 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com
174494f84c Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
mjudge%netscape.com
d52a50ae45 fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
karnaze%netscape.com
29d75b2c52 content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell 1999-01-19 23:16:02 +00:00