Commit Graph

1220 Commits

Author SHA1 Message Date
kipp%netscape.com
a0b694c5b8 Added List method 1999-02-03 19:10:26 +00:00
kipp%netscape.com
67741b5e3c Removed a couple of warnings 1999-02-03 19:10:03 +00:00
kipp%netscape.com
d77e41c463 Removed some unused variables 1999-02-03 19:09:37 +00:00
kipp%netscape.com
66115d3c10 Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations 1999-02-03 19:09:24 +00:00
troy%netscape.com
5238d0c73f Improvements to fixed positioning 1999-02-03 17:01:51 +00:00
troy%netscape.com
15e7a9f342 Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
whether the vertical scrollbar is currently showing
1999-02-03 04:30:57 +00:00
troy%netscape.com
c4b2263dbf Fixed it to so the root-frame isn't considered a containing block, and
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'
1999-02-03 01:31:09 +00:00
kipp%netscape.com
008d7e5acf nuked 1999-02-02 19:39:06 +00:00
kipp%netscape.com
24f144460b Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case 1999-02-02 17:32:09 +00:00
kipp%netscape.com
6e9110cb4c Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved 1999-02-02 17:31:36 +00:00
kipp%netscape.com
361ca345fb Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children 1999-02-02 17:31:09 +00:00
mjudge%netscape.com
ceb08a0190 scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge%netscape.com
cd2d3d137c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
kipp%netscape.com
c529fc11be Fixed invocation bug that mac compiler caught 1999-02-01 19:08:30 +00:00
troy%netscape.com
f1c963f7b5 Made sure that fixed positioned elements gets a widget 1999-02-01 18:36:23 +00:00
kipp%netscape.com
42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
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
a548c870f8 Minor bug fixing; reworked PullFrame; added VerifyParent 1999-02-01 17:32:05 +00:00
kipp%netscape.com
ddc318eee2 Added some comments :-) 1999-02-01 17:31:37 +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
troy%netscape.com
acbe598a4f Fixed logic that determines whether there's currently a visible vertical
scrollbar
1999-02-01 16:32:54 +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
karnaze%netscape.com
6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +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
akkana%netscape.com
eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com
01b9469528 Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed
1999-01-29 04:29:10 +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
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