harishd%netscape.com
ddb2a5d1e3
Made HR tags more stylable
1999-02-04 23:10:21 +00:00
troy%netscape.com
bcc69e2898
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +00:00
kipp%netscape.com
6a87389b62
nuked
1999-02-04 16:29:25 +00:00
kipp%netscape.com
752de3f766
tweak so font-lock in emacs works better
1999-02-04 16:28:36 +00:00
kipp%netscape.com
2a44cdd816
Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
1999-02-04 16:27:18 +00:00
troy%netscape.com
1dcaa305b6
Fix for bug #2867 . Removed the questionable logic I added previously.
1999-02-04 00:43:49 +00:00
vidur%netscape.com
b91611a7b2
Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
1999-02-03 19:38:16 +00:00
kipp%netscape.com
8f64c7a3ef
Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames
1999-02-03 19:12:02 +00:00
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
peterl%netscape.com
62bc285367
added helper methods for selecting & querying alternate style sheets
1999-01-23 07:03:46 +00:00
peterl%netscape.com
1d4db24d11
added HTTP header atoms
1999-01-23 07:02:56 +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
troy%netscape.com
efc7c95a53
Added XXX comment indicating that the #if 0 code in Init() is causing
...
a memory leak...
1999-01-23 02:38:16 +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
86da618186
Stylecontext is passed to PaintBorder()
1999-01-22 22:28:12 +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
troy%netscape.com
3bd7fc220f
Added XXX comment for ReResolveStyleContext()
1999-01-22 18:23:06 +00:00
rods%netscape.com
1edca9201b
Added methods for creating ListControlFrame and ComboxControlFrames
1999-01-22 15:34:13 +00:00
rods%netscape.com
b7e36c8bcd
Added some additional attoms for the Combobox Frame Control
1999-01-22 15:25:12 +00:00
rods%netscape.com
4b464ba323
Removed the class def and put it in a new header nsScrollFrame.h
1999-01-22 15:23:51 +00:00
rods%netscape.com
1b7ed67e2d
Initial checkin the code was in nsScrollFrame.cpp
1999-01-22 15:23:15 +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
mjudge%netscape.com
dd0328320e
selection should work now more or less
1999-01-19 06:42:39 +00:00
troy%netscape.com
36158ba506
Changed it so the DidReflow() temporary hack doesn't apply to scrolled
...
frames
1999-01-19 06:00:08 +00:00
troy%netscape.com
ac82f1774c
Fixed it so computedHeight is correctly computed
1999-01-19 05:59:24 +00:00
troy%netscape.com
aebbda5000
Minor cleanup
1999-01-19 05:18:26 +00:00
troy%netscape.com
0c55cb8b0e
Part of the fix for bug #2485
1999-01-19 05:17:39 +00:00
mjudge%netscape.com
34430366b2
Files for selection across frames.
1999-01-18 22:57:12 +00:00
troy%netscape.com
48365eb8a1
Changed to position absolute child elements relative to the padding edge not the
...
border edge
1999-01-18 19:30:42 +00:00
troy%netscape.com
a855ea42a4
Improvements to absolute positioning code
1999-01-18 17:27:27 +00:00
troy%netscape.com
3af8d238b7
Initial check-in
1999-01-18 17:26:49 +00:00
troy%netscape.com
685b7256a3
Fix for bug #2450 ; 'padding' wasn't getting handled properly
1999-01-18 00:48:59 +00:00
troy%netscape.com
e805654323
Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
...
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
troy%netscape.com
5febae06f6
Fixed it so relatively positioned block frames act as containing blocks
...
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
troy%netscape.com
7103b076b4
Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
...
elements
1999-01-16 20:58:17 +00:00
hyatt%netscape.com
ab7046faba
Added code to support CLSID instantiation. Approved by amusil and av.
1999-01-16 02:43:51 +00:00
kipp%netscape.com
418cd0251c
Removed List code now that base class dumps all child lists
1999-01-16 00:19:30 +00:00