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
kipp%netscape.com
10f24c7ebf
Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically
1999-01-16 00:19:10 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a
Switch to using nsFrameList for frame lists
1999-01-15 22:53:39 +00:00
troy%netscape.com
6d63084a70
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
troy%netscape.com
e075d4bfbc
Fixed an assert that was getting hit for absolutely positioned elements
1999-01-15 04:28:17 +00:00
peterl%netscape.com
e86b440abd
better base URL support
...
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
kipp%netscape.com
a1c6f729a4
Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame
1999-01-15 01:29:15 +00:00
kipp%netscape.com
173b41fc39
Added nsFrameList to the build
1999-01-15 01:28:46 +00:00
kipp%netscape.com
5c160586ce
new
1999-01-15 01:28:07 +00:00
vidur%netscape.com
895ce771ea
Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
1999-01-14 23:14:02 +00:00
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0
Fix for bug #2276 , and some initial support for 'right' and 'bottom'
...
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
f332dc3305
Re-committing my fucking changes...
1999-01-13 00:38:29 +00:00
cltbld%netscape.com
89457008d5
backing out changes made against a red tree
1999-01-13 00:00:57 +00:00
troy%netscape.com
72f689c40f
Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
...
miss the release
1999-01-12 23:17:20 +00:00
kipp%netscape.com
cd76455b98
Use new flag defines
1999-01-12 16:42:03 +00:00
kipp%netscape.com
3c5005ec2d
Clean up block frame flags
1999-01-12 16:41:30 +00:00
vidur%netscape.com
274a4add3e
Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent
1999-01-12 16:37:24 +00:00
troy%netscape.com
4f14253e33
Turned off assert
1999-01-09 01:43:02 +00:00
kipp%netscape.com
10a89709d7
new
1999-01-09 00:18:08 +00:00
kipp%netscape.com
75891f558f
nuked
1999-01-09 00:14:17 +00:00
kipp%netscape.com
4fb3f00732
Removed a turd
1999-01-09 00:14:09 +00:00
kipp%netscape.com
d1dd0f55bd
Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map
1999-01-09 00:13:53 +00:00
kipp%netscape.com
19e73d1f62
Use nsImageMap
1999-01-09 00:13:19 +00:00
kipp%netscape.com
b8a8b7e309
Changed over to using nsImageMap instead of nsIImageMap
1999-01-09 00:12:49 +00:00
kipp%netscape.com
4cbb066ec7
Added new atom
1999-01-09 00:12:28 +00:00
karnaze%netscape.com
c2cfb8b82f
dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186
Added support for 'right' and 'bottom' properties. Changed to using a
...
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com
6d753e4c78
Changed to handle FrameRemoved reflow command for an absolutely positioned
...
child frame
1999-01-07 05:46:26 +00:00
troy%netscape.com
b9a4ba7918
Fixed FindFrameWithContent() to do a better job of recognizing placeholder
...
frames and skipping them
1999-01-07 04:47:43 +00:00
karnaze%netscape.com
c111662c1f
Preliminary changes to support align="char"
1999-01-07 01:00:07 +00:00
brade%netscape.com
2ad8ae0483
reduce Macintosh compiler warnings byadding prototype
1999-01-06 18:52:58 +00:00
troy%netscape.com
9ceceead01
This time I think I got 'em in alphabetical order...
1999-01-06 04:41:47 +00:00
troy%netscape.com
67c86e0b0b
Did a better job of alphabetizing the source files
1999-01-06 04:39:33 +00:00
troy%netscape.com
dbc6ce7c5c
Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp
1999-01-06 03:46:55 +00:00
troy%netscape.com
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
844a41c615
Use macros from nsTextFragment
1999-01-05 23:02:27 +00:00
kipp%netscape.com
50b331f35c
Reinstated the last set of checkins that were backed out
1999-01-05 23:01:54 +00:00
troy%netscape.com
a423353676
Initial check-in
1999-01-05 19:44:41 +00:00
donm%netscape.com
9b2666a111
backing out changes against a long red tree. would like to clear
...
the hook. -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e29f665a91
Fix handling of removed-child incremental reflow to no longer crash (bug #1941 ); also disabled incremental behavior for remove and inserted for now so that layout looks correct
1999-01-05 17:50:41 +00:00
kipp%netscape.com
3a981f0215
Removed aPrevSibling from DoRemoveFrame's arg list
1999-01-05 17:49:44 +00:00
amusil%netscape.com
0adb3694fe
Temporary workaround so that plugins display correctly. This will change after support for
...
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
troy%netscape.com
c5ec74eb54
Changed nsISpaceManager interface to conform to XP-COM conventions on
...
return values
1999-01-04 04:54:33 +00:00
troy%netscape.com
99455f5082
Moved enum and replaced it with #defines
1999-01-03 00:31:46 +00:00
troy%netscape.com
eb188f8529
Changed comment to reflect the current state of the tree
1999-01-02 23:05:08 +00:00
troy%netscape.com
a8d603caa3
Changed computed width calculation for internal table elements to take
...
border/padding into account
1999-01-02 22:54:12 +00:00
troy%netscape.com
1d0d15f303
Added logic to make sure that internal table elements have reasonable
...
values for the computed width/height
1999-01-02 21:03:51 +00:00
troy%netscape.com
097f73ee6c
Changed CreatePlaceholderFrame() to use a pseudo element style context
...
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com
b8f80c0efa
Fix for bug 2109. If the child's maxSize.width is smaller than the containing
...
block's computed width then use it instead
1999-01-02 19:21:32 +00:00
troy%netscape.com
c30da1d1ee
Changed InitConstraints() to handle inline, block-level, and floated elements
...
(replaced and non-replaced)
1998-12-31 23:07:00 +00:00
troy%netscape.com
8e168ef086
Better computation of computed width and height and margins for block-level
...
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
4591f9d2ad
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
troy%netscape.com
ee997bddd1
Fixed it up to compile, because the Mac is still building it...
1998-12-29 05:54:59 +00:00
troy%netscape.com
14ae1a9919
Fixed it up to compile again, because the Mac is still building it...
1998-12-29 05:53:54 +00:00
troy%netscape.com
487a0952b3
Changed some of the member functions to conform to XP-COM conventions for
...
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com
583682a5c1
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
5cebecb150
Fix for bug #1924
1998-12-22 05:02:46 +00:00
troy%netscape.com
98e47c310d
Fix for bug #1942 . Also made it so we respect 'width' and 'height' properties
...
specified on the HTML element
1998-12-22 03:49:04 +00:00
troy%netscape.com
6493c0fc74
Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
1998-12-21 18:22:44 +00:00
troy%netscape.com
9619058141
Changed the frame hierarchy, and changed how scrolling works. Also added
...
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
8943d05510
Implement GetSkipSides so that continued inline frames render properly
1998-12-18 22:12:42 +00:00
kipp%netscape.com
ed1c9c40e1
Display inline borders/background during content painting, not during background painting (per css2 spec)
1998-12-18 22:12:15 +00:00
akkana%netscape.com
c3905a8204
Attempt to patch mac build error
1998-12-18 21:04:33 +00:00
troy%netscape.com
3545ee7a90
Added nsAreaFrame.cpp
1998-12-18 17:59:13 +00:00
troy%netscape.com
8d3739ba94
Initial check-in
1998-12-18 17:54:54 +00:00
kipp%netscape.com
40c2cfef07
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
troy%netscape.com
b550507587
Minor cleanup
1998-12-18 17:33:23 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
troy%netscape.com
5f8a4c8bd0
Fixed a compiler warning by include nsHTMLParts.h
1998-12-18 05:52:05 +00:00
troy%netscape.com
087d7aeae8
Fixed a couple of compiler wanrings by including nsHTMLParts.h
1998-12-18 05:50:19 +00:00
troy%netscape.com
9cc97f6532
Fixed a compiler warning by including nsHTMLParts.h
1998-12-18 05:44:26 +00:00
troy%netscape.com
c5204005c1
Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
...
SetScrolledView()
1998-12-18 05:26:16 +00:00
troy%netscape.com
7e29c81e53
Changed CreateViewForFrame() to check whether the parent view is a scrolling
...
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage
1998-12-18 05:25:36 +00:00
scc%netscape.com
ba11eb34ad
Added static IID() method. This member function will be generated automatically in the future.
1998-12-18 03:43:29 +00:00