troy%netscape.com
0499b15ed9
Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
...
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
1998-10-05 00:58:32 +00:00
troy%netscape.com
5eae9d2705
Removed nsIInlineReflow and folded it into nsIHTMLReflow
1998-10-03 04:28:05 +00:00
kipp%netscape.com
da1bc8412a
Fixed to not render trailing whitespace
1998-10-03 00:48:19 +00:00
kipp%netscape.com
5684b8ab62
Preliminary support for negative top/bottom margins
1998-10-03 00:17:44 +00:00
kipp%netscape.com
750a2e4ee6
Support changing the src url
1998-10-02 21:59:59 +00:00
kipp%netscape.com
750fa1536a
Reworked vertical margin collapsing
1998-10-02 21:50:53 +00:00
kipp%netscape.com
319c59254e
Return ascent/descent info too
1998-10-02 21:49:47 +00:00
troy%netscape.com
f095846367
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
7b7efc8d89
modified for new fontmetrics/renderingcontext.
1998-10-02 01:12:39 +00:00
troy%netscape.com
8b034f4950
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
troy%netscape.com
ded6581a19
Missed adding this
1998-09-30 21:35:29 +00:00
troy%netscape.com
5a65eb2714
Moved some files around
1998-09-30 21:01:11 +00:00
peterl%netscape.com
0bbb333f65
moved attribute change code to style sheete
...
cleaned up content change api
1998-09-29 23:48:07 +00:00
peterl%netscape.com
bd59f80ad2
added content changed & attribute changed to style frame construction api.
...
cleaned up api.
added attribute change hint.
1998-09-29 23:41:59 +00:00
kipp%netscape.com
95214f1753
Add in a bottom-line-margin when dealing with a zero-height line that contains a BR frame
1998-09-29 22:32:56 +00:00
kipp%netscape.com
f92bd37241
Added SetBRFrame/GetBRFrame for handling 0 height line layout and BR's
1998-09-29 22:32:04 +00:00
kipp%netscape.com
a94cce592f
Made BR frames 0,0; inform line layout of presence of the BR frame
1998-09-29 22:31:22 +00:00
kipp%netscape.com
4892cd2cf7
Fixed nbsp bug on some win95 systems - it turns out the nbsp wasn't being mapped to space in a few of the compression cases (doh!)
1998-09-29 16:24:32 +00:00
troy%netscape.com
097535bdf9
Added back in support for absolutely positioned frames
1998-09-29 04:47:59 +00:00
kipp%netscape.com
dc4362fa13
Changed factory method to parameterize the shrink wrapping behavior
1998-09-29 03:44:25 +00:00
troy%netscape.com
f16e96f86c
Fixed some bustage I introduced with the factoring
1998-09-29 02:18:09 +00:00
troy%netscape.com
7ede838ed2
Partially enabled support for absolutely positioned elements
1998-09-28 23:24:37 +00:00
buster%netscape.com
e5b27fe24a
minor cleanup, removed references to obsolete table content factory methods.
1998-09-28 23:16:39 +00:00
vidur%netscape.com
13c5a9aba4
Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
1998-09-28 21:22:31 +00:00
kipp%netscape.com
167e63dc87
Get max-element-size from inline-reflow state and pass it upwards
1998-09-28 18:57:28 +00:00
kipp%netscape.com
d5368292ee
Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on...
1998-09-28 18:50:59 +00:00
michaelp%netscape.com
cc2a2d15ea
massive changes to support java plugins.
1998-09-27 22:42:48 +00:00
kipp%netscape.com
61b9b6c8e6
Fixed mac/unix build problem
1998-09-26 22:48:52 +00:00
kipp%netscape.com
a9a9b3e33a
Fixed up list ordinal handling so that negatives don't work for roman numerals or for alphabetics, and that alphabetics count properly (a==1); this fixes bugzilla bug#589
1998-09-26 20:05:09 +00:00
kipp%netscape.com
cc598e583c
Added callback to image loading api
1998-09-26 18:36:59 +00:00
kipp%netscape.com
893dc326bb
use image-loader call back to trigger bullet frame reflows
1998-09-26 18:36:01 +00:00
kipp%netscape.com
d7c69dee34
Use modified css rendering API
1998-09-26 17:17:20 +00:00
kipp%netscape.com
b856b97ffb
Use modified css rendering API; handle background images differently (still not quite right)
1998-09-26 17:14:35 +00:00
kipp%netscape.com
9632c87bbf
Fixed memory leak (bug #910 )
1998-09-26 00:37:26 +00:00
vidur%netscape.com
13bb166f7c
Fixed memory leak in style change code
1998-09-26 00:06:26 +00:00
kipp%netscape.com
b549d341b5
Added support for percentage base margins to the root, root-content and block frames
1998-09-25 23:47:59 +00:00
kipp%netscape.com
696f3744c6
Added in support for border/padding/background-* properties for the HTML frame; added support for margin properties on the child of the HTML frame
1998-09-25 23:39:06 +00:00
troy%netscape.com
d5336ff9ad
Moved ContentReplaced() handler code to style system
1998-09-25 22:47:00 +00:00
kipp%netscape.com
8a68234233
Hooked up width/height attributes to style changed reflow
1998-09-25 18:25:20 +00:00
kipp%netscape.com
856e3e82e5
Support break-before/after for block frames
1998-09-25 17:50:09 +00:00
kipp%netscape.com
3764df874e
Removed some dead crud and implemented AttributeChanged
1998-09-25 16:35:01 +00:00
kipp%netscape.com
1c24cf2f69
Support style changes for leaf frames
1998-09-25 16:33:38 +00:00
kipp%netscape.com
5dd93faced
Renamed style-changed reflow method; fixed implementation to generate a reflow command
1998-09-25 16:11:36 +00:00
kipp%netscape.com
3a1b3e1c22
Switch over to FrameRemoved instead of FrameDeleted
1998-09-25 16:10:49 +00:00
kipp%netscape.com
cde642e1d6
Support (weakly) style-changed reflow and fixup naming of frame-removed methods
1998-09-25 16:10:10 +00:00
troy%netscape.com
318174a3d8
Moved ContentDeleted() document notification code to the style system which
...
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com
ded981efbe
performance tweaks to apply style change
1998-09-25 01:49:10 +00:00
vidur%netscape.com
c65c40efea
Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
1998-09-25 00:51:45 +00:00
kipp%netscape.com
4156cd43b6
Added some attribute handlers for inline frames (temporary)
1998-09-25 00:00:55 +00:00
kipp%netscape.com
39756bf44a
Added methods for triggering style/rendering/reflow changes
1998-09-25 00:00:22 +00:00
kipp%netscape.com
01b8c34dc8
Fixed up includes to not depend on old content model classes
1998-09-24 21:37:45 +00:00
kipp%netscape.com
eb17ac05c0
Removed unused include
1998-09-24 21:34:31 +00:00
kipp%netscape.com
04604ad3be
Removed bullet pseudo-content and instead use pseudo style to process bullets properly
1998-09-24 21:32:39 +00:00
troy%netscape.com
8708a830f9
Removed mChildCount from nsContainerFrame
1998-09-24 17:56:35 +00:00
kipp%netscape.com
a491a713e9
Fixed block's max-element-size computation for child inline frames
1998-09-24 17:47:25 +00:00
troy%netscape.com
2ed107ad4d
Removed IsPseudoFrame() from nsContainerFrame
1998-09-24 04:57:30 +00:00
troy%netscape.com
f5a11ac77b
Removed IsLastChild() member function from nsContainerFrame
1998-09-24 04:12:01 +00:00
troy%netscape.com
82c4fa9df0
Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame
1998-09-24 03:59:30 +00:00
troy%netscape.com
79eb911422
Removed some XXX CONSTRUCTION code that was work-in-progress, but is
...
no longer needed
1998-09-24 03:49:45 +00:00
troy%netscape.com
5e4611081b
Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
...
from nsContainerFrame
1998-09-24 03:36:52 +00:00
troy%netscape.com
86ce7613e4
Changed the way nsIFrame inherits from nsISupports
1998-09-24 01:50:16 +00:00
kipp%netscape.com
34339e3dd4
Fixed up includes
1998-09-23 20:12:21 +00:00
kipp%netscape.com
7a47ddc638
Removed bullet factory methods
1998-09-23 20:12:07 +00:00
kipp%netscape.com
7e269eb6c3
nuked
1998-09-23 20:11:22 +00:00
kipp%netscape.com
09c2bd18a7
Implement bullets here; implement list renumbering cleanly instead of having the bullets blindly do it (fixes a crash and several pagination bugs)
1998-09-23 20:10:40 +00:00
karnaze%netscape.com
b7d357fce8
Converted forms to use the new content model classes and better separate content from layout.
1998-09-23 17:16:51 +00:00
troy%netscape.com
ea7c23f8b9
Fixed bug in InsertNewFrame() that was screwing up the child list
1998-09-23 04:45:59 +00:00
kipp%netscape.com
efdb756715
Removed unused include
1998-09-23 02:33:23 +00:00
kipp%netscape.com
6ccd415fc4
use line-layout's pres-context as a ref not a pointer
1998-09-23 02:32:17 +00:00
kipp%netscape.com
5bb033f24d
Use pres-context as a ref instead of a pointer
1998-09-23 02:31:16 +00:00
kipp%netscape.com
90e7f6356a
Added methods for counting the number of placed frames; switched the pres-context to a ref from a pointer; removed some debris
1998-09-23 02:31:00 +00:00
kipp%netscape.com
e81efcd58d
Use nsHTMLContainerFrame instead of nsHTMLBase
1998-09-23 02:30:21 +00:00
kipp%netscape.com
5a0b05a4f0
Moved some methods from various places into this class
1998-09-23 02:29:31 +00:00
kipp%netscape.com
383af639b3
Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow
1998-09-23 02:25:26 +00:00
kipp%netscape.com
313976d02e
use line layout pres-context as a ref not a pointer
1998-09-23 02:24:49 +00:00
kipp%netscape.com
86fc054d7d
Renamed margin carry in/out variables in the metrics struct
1998-09-23 02:21:53 +00:00
troy%netscape.com
8b1e799713
Changed to how broken image is handled
1998-09-22 04:01:16 +00:00
troy%netscape.com
80993d95c6
Added display of icon when loading image
1998-09-22 03:34:44 +00:00
troy%netscape.com
2c48537ccc
Fixed a bug introduced with the LastFrame() changes
1998-09-21 16:37:38 +00:00
troy%netscape.com
88ce6d7582
Fixed some horkage I introduced
1998-09-21 16:35:49 +00:00
troy%netscape.com
e30e3bdf78
Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount
1998-09-21 03:50:44 +00:00
troy%netscape.com
e46c707ed3
Removed references to mFirstContentOffset
1998-09-21 03:47:45 +00:00
troy%netscape.com
4d0cc0344e
Work in progress for displaying icon while laoding image...
1998-09-20 00:08:24 +00:00
troy%netscape.com
8239f605ce
Changed FrameInserted incremental reflow code to insert the new frame
...
into the child frame list
1998-09-19 04:29:36 +00:00
troy%netscape.com
9955ac85ce
Removed farme enumeration member functions for indexed access, last child,
...
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
8390e920bf
Added AttributeChanged() member function for communicating attribute value
...
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com
c24f15c230
Removed CreateFrame() from nsIHTMLContent
1998-09-18 18:04:42 +00:00
troy%netscape.com
52eb998d8f
Removed nsIContentDelegate.h
1998-09-18 17:34:48 +00:00
troy%netscape.com
b6c1cfd2b8
Removed content delegates
1998-09-18 17:18:37 +00:00
troy%netscape.com
356c3c5ab5
Removed an unreferenced label
1998-09-18 03:10:00 +00:00
troy%netscape.com
4638bb8528
Removed some dead code
1998-09-18 03:08:23 +00:00
troy%netscape.com
b01fe7302c
Added CreateContinuingFrame()
1998-09-18 02:47:03 +00:00
troy%netscape.com
01aed8986f
Removed some code that's no longer needed with the new frame construction code
1998-09-18 00:04:55 +00:00
troy%netscape.com
163bcce1ad
Removed code that's no longer needed now that tables are using new
...
frame construction code
1998-09-17 23:46:16 +00:00
troy%netscape.com
64fbddffe3
Removed some XXX temp code that was needed until tables were switched
...
over to the new frame construction code
1998-09-17 04:57:50 +00:00
troy%netscape.com
740f73d46a
Cleaned up frame construction code
1998-09-17 04:07:58 +00:00
peterl%netscape.com
f66523e7c7
added decoration rendering code to deal with CSSisms
1998-09-17 00:18:25 +00:00
michaelp%netscape.com
91516c1897
cleaned up some link jumping nonsense.
1998-09-15 20:22:37 +00:00
buster%netscape.com
c47f9bbfcb
nsStyleConsts.h added some HTML 4 consts for tables
...
nsHTMLAtoms.cpp,h added some HTML 4 strings for tables
nsHTMLParts.h added constructors for new table content classes
nsGenericHTMLElement.cpp,h added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp these are the new table content classes
nsHTMLContentSink.cpp enabled the new content and removed the old
nsHTMLStyleSheet.cpp fixed the table style optimizations to work with new content
nsTable*Frame.cpp these work with the new content
1998-09-15 17:58:24 +00:00
michaelp%netscape.com
339f0de9fc
changes for new plugin world.
1998-09-15 03:46:52 +00:00
kipp%netscape.com
46acb2313a
Removed css/layout directory
1998-09-15 00:19:49 +00:00
troy%netscape.com
c19913ecf4
Container floated elements are now wrapped in a BODY frame
1998-09-14 04:01:08 +00:00
troy%netscape.com
1b1b0c939f
Changed to explicitly create frame of type frameset or outer frame instead
...
of using CreateFrame() which will be going away
1998-09-13 02:45:07 +00:00
kipp%netscape.com
b9e8a43908
Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
1998-09-12 19:33:48 +00:00
troy%netscape.com
a110f0c67d
Removed some XXX CONSTRUCTION commented out code
1998-09-12 04:54:04 +00:00
pierre%netscape.com
170f02692b
initialize member variables to 0
1998-09-11 09:13:02 +00:00
troy%netscape.com
29f72760df
Changed new frame construction code to handle floaters
1998-09-11 04:13:29 +00:00
troy%netscape.com
7f9a1669e1
Fixed it so bullets work again
1998-09-10 22:28:55 +00:00
troy%netscape.com
f370908aef
Phase one of frame construction changes
1998-09-10 19:32:14 +00:00
rods%netscape.com
b02a251eb8
GetPosition now uses a binary search for locating the cursor poistion. Also, selection now
...
uses the half width of a character for moving selection to the next character.
1998-09-10 19:18:01 +00:00
karnaze%netscape.com
be6a60c25f
in document, renamed nsHTMLFrame.cpp, nsHTMLFrameset.h, nsHTMLFrameset.cpp
1998-09-10 17:23:31 +00:00
karnaze%netscape.com
1141b63fe6
converted frame/iframe/frameset to new layout/content separation
1998-09-09 23:30:30 +00:00
kipp%netscape.com
58921403db
Removed some cruft
1998-09-09 16:18:40 +00:00
kipp%netscape.com
6dff4273c4
Turned off image load skid marks
1998-09-09 16:13:52 +00:00
rods%netscape.com
56048c21b0
XPCOM'ed the Selection and Search methods
1998-09-09 16:11:59 +00:00
kipp%netscape.com
65931b56e7
Removed some cruft; added NS_NewBodyFrame
1998-09-08 22:36:30 +00:00
kipp%netscape.com
1bacf0f89d
new
1998-09-08 22:34:40 +00:00
kipp%netscape.com
ee91dcd8d9
Removed some cruft; added NS_NewTextNode
1998-09-06 00:17:30 +00:00
michaelp%netscape.com
a8320310e0
added Scrolled() method. and support to call it. fixed NS_RELEASE(rc) bug in
...
pres shell as reported by pierre.
1998-09-05 20:57:57 +00:00
kipp%netscape.com
d7a47d0ea7
Added wbr
1998-09-04 01:02:54 +00:00
kipp%netscape.com
fc082ae5f3
Removed some cruft and promoted a few frame creation routines
1998-09-04 00:55:20 +00:00
kipp%netscape.com
485971f9e7
Added decl for NS_NewImageFrame
1998-09-04 00:18:53 +00:00
kipp%netscape.com
62c5c8e302
tweaked element ctor methods
1998-09-03 22:22:34 +00:00
karnaze%netscape.com
a26dce780e
frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR
1998-09-03 01:16:27 +00:00
kipp%netscape.com
675ed00281
Renamed element creation routines
1998-09-02 23:52:38 +00:00
buster%netscape.com
a8906329f4
expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
...
aFilter is useful for determining if a frame should output itself during
a List(). In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing. Currently this is controlled by command line switches on the viewer app.
1998-09-02 21:59:54 +00:00
kipp%netscape.com
013939ead8
Revised factory method argument order (normalized)
1998-09-01 01:35:19 +00:00
kipp%netscape.com
db1080d1fc
Added factory method names for all the new content objects
1998-09-01 01:33:19 +00:00
warren%netscape.com
34f3c0ef88
Renamed NSRepository to nsRepository.
1998-09-01 00:26:28 +00:00
kipp%netscape.com
8713c93675
Added NS_NewHTMLBR
1998-08-31 18:40:16 +00:00
troy%netscape.com
715766b02f
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
ed22b370c4
XPCOM'ized nsIContent and nsIHTMLContent
1998-08-29 20:20:38 +00:00
kipp%netscape.com
5a96e9378b
Added NewHTMLAnchor
1998-08-29 03:13:15 +00:00
kipp%netscape.com
b39d24a069
Export new HTML-HR factory method
1998-08-28 23:31:28 +00:00
rods%netscape.com
0c95d8533f
Fixed up some of the selection methods
1998-08-28 16:02:33 +00:00
michaelp%netscape.com
8190f7951c
DeleteFrame() now takes a pres context.
1998-08-28 03:02:39 +00:00
michaelp%netscape.com
aad018fcbb
deleteframe() now takes a pres context.
1998-08-28 02:50:17 +00:00
troy%netscape.com
35df864e01
Work in progress for LAYER tag
1998-08-26 02:23:21 +00:00
troy%netscape.com
b0d16a8897
Added missing NS_INIT_REFCNT()
1998-08-15 03:24:27 +00:00
troy%netscape.com
4b212c0467
Change to object lifetime management. Views are no longer ref counted
1998-08-08 04:23:33 +00:00
joki%netscape.com
20d06b486a
Adding window.open method, fixing editormode in release builds, various event fixes
1998-08-07 04:45:03 +00:00
rods%netscape.com
e26cb21fb1
Fixed: Links now work.
...
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)
1998-08-06 16:29:45 +00:00
kipp%netscape.com
046006426a
Added decls for framesets
1998-08-05 22:08:33 +00:00
michaelp%netscape.com
5469028d38
added tags for plugins.
1998-08-05 04:22:51 +00:00
kipp%netscape.com
a205def808
Tell line layout about floater
1998-08-04 21:16:32 +00:00
michaelp%netscape.com
9bd2a1fce5
another hack to get Unix to be happy.
1998-08-01 23:02:14 +00:00
michaelp%netscape.com
4cc548c8ba
plugin changes.
1998-08-01 05:47:53 +00:00
peterl%netscape.com
4d01ae8f02
rounding support
1998-07-31 23:34:45 +00:00
kipp%netscape.com
27ffd2eb94
Disabled widget&view for now; render the object so that people know code is coming
1998-07-29 19:33:48 +00:00
kipp%netscape.com
22f5a6d6c1
Tidy up the rendering; don't take space when show-borders is on
1998-07-29 19:33:27 +00:00
kipp%netscape.com
8349929d63
Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression
1998-07-29 04:05:49 +00:00
michaelp%netscape.com
3bc803ac1f
hooked up the plugin manager to the webshell.
1998-07-27 23:08:52 +00:00
kostello%netscape.com
efc6f70152
Added support for saving the selection (important for copy).
...
Change XIF interfaces
1998-07-27 18:08:58 +00:00
michaelp%netscape.com
8a42c31205
modified for new streaming APIs.
1998-07-23 20:35:43 +00:00
kipp%netscape.com
e93de67eb9
Removed hack reflow code now that body/block do it properly
1998-07-23 19:56:11 +00:00
troy%netscape.com
7232d0c359
Changed PaintBorder() to use the (x,y) that's passed in
1998-07-22 05:02:07 +00:00
troy%netscape.com
23eb4a6ae4
Changed nsCSSRendering::PaintBorder() so the entire rect is used
...
and not just the width and height
1998-07-22 02:46:00 +00:00
kipp%netscape.com
dd7f60627c
Set max-element-size when computing reflow metrics
1998-07-21 21:20:55 +00:00
karnaze%netscape.com
0bb1d87245
initial support for <frameset> <frame> in content sink
1998-07-20 18:52:40 +00:00
kipp%netscape.com
6eef05bf6b
Port to new nsIWebShell and related API's
1998-07-18 21:47:56 +00:00
joki%netscape.com
1b3eefccdb
Adding new DOM stuff to handle JS event handlers
1998-07-17 04:52:12 +00:00
kipp%netscape.com
384d6fbda5
Implement paint method
1998-07-16 23:32:04 +00:00
kipp%netscape.com
936a3f47d9
Size the placeholder differently when visually debugging; render it too:
1998-07-16 23:31:53 +00:00
kipp
4321face90
Indent tweak
1998-07-15 17:05:59 +00:00
troy
e264371e9b
Changed API for CreateContinuingFrame and GetReflowMetrics to take
...
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
243f3f1255
Changed GetReflowMetrics() to take a reference to a nsIPresContext
1998-07-15 02:59:06 +00:00
troy
e8893481dd
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp
b46eb126c9
More hacks for floating embed's, object's and applet's
1998-07-15 00:47:46 +00:00
kipp
f5cbcc3d7a
Added applet, object and embed support
1998-07-15 00:23:07 +00:00
kipp
d53bd676fa
new
1998-07-15 00:22:30 +00:00
kostello
97e90b0639
Added XIF (XML Interchange Format) Support. XIF is designed
...
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kipp
5bc86bdb50
Add factory methods for applets and objects
1998-07-14 18:54:20 +00:00
kipp
135b6b3efb
Tweaked
1998-07-11 03:49:17 +00:00
kipp
15a1048658
initialize reflow metrics and reflow state to avoid downstream bugs
1998-07-10 20:26:20 +00:00
troy
7c4b0ac9ae
Added some new sizing constraints
1998-07-09 20:53:37 +00:00
kipp
8beef8ceaa
Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else!
1998-07-09 17:06:12 +00:00
kipp
c21f2ee0f4
Implement ContentDeleted
1998-07-06 21:37:33 +00:00
kipp
e75706a7db
Added NS_CreateHTMLElement
1998-07-03 17:49:49 +00:00
kipp
8de1e92335
Reworked ContentInserted handling
1998-07-03 17:46:44 +00:00
troy
a3005d96d4
Changed reflow processing for floaters
1998-06-30 23:19:10 +00:00
troy
08cdd6ebcd
Changed anchor frames to forward content notifications to the real frame
1998-06-30 21:35:07 +00:00
kipp
11fba76f60
Use new PropagateContentOffsets API
1998-06-30 20:22:44 +00:00
kipp
9d76dca44e
disabled calls to PropagateContentOffsets for now
1998-06-30 20:20:29 +00:00
kipp
7292712c50
Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's
1998-06-27 22:54:58 +00:00
kipp
cdaedbbf86
Added NS_NewHTMLComment and NS_NewHTMLTitle
1998-06-26 16:12:22 +00:00
kipp
822565e6d7
Removed obsolete justify-reflow method
1998-06-26 15:11:53 +00:00
kipp
396b89b7f9
Added content directory and moved some code
1998-06-26 15:08:55 +00:00
kipp
163249f258
Eliminated IRIX compiler warnings (and a bug)
1998-06-26 15:07:09 +00:00
kipp
4b8864ebbc
New and improved (?) line layout
1998-06-25 16:33:10 +00:00
kipp
aa980ae438
Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum
1998-06-25 15:03:37 +00:00
kipp
cc04a28262
Added the same skip-over-non-body-content code that's in the root content frame code
1998-06-25 14:53:45 +00:00
karnaze
ea5cd1554d
named <iframe>s, scrolling attribute, more complete test9.html
1998-06-23 22:25:28 +00:00
troy
2c3c341cda
Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
...
instead
1998-06-14 05:14:17 +00:00
troy
af75aa1015
Changed some pairs of GetStyleContext/GetStyleData calls to a single call
...
to nsIFrame::GetStyleData
1998-06-14 05:00:38 +00:00
karnaze
6800f5f5d8
initial support for <iframe>
1998-06-11 16:46:33 +00:00
troy
454392645d
Changed block to do the initial reflow of a floater. Also fixed a problem
...
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
6c25e7131e
Fixed a pending-break clear bug; use new ReflowInlineChild API
1998-06-09 17:47:49 +00:00
kipp
18f4f90dea
Added nsIInlineFrame interface
1998-06-09 17:47:20 +00:00
kipp
6b4f435e4f
Implement ReflowChild directly so that it uses nsIInlineFrame is available
1998-06-09 17:40:21 +00:00
kipp
a07a851265
Implement ReflowInlineChild to check for nsIInlineFrame and use it when available
1998-06-09 17:32:52 +00:00
kipp
6d91246eaa
Updated reflow-inline-child to handle the new nsIInlineFrame api
1998-06-09 17:32:27 +00:00
troy
5aeffe1a29
Added nsIReflowCommand interface
1998-06-09 04:51:44 +00:00
kipp
bab137bdff
Added another tracing log message
1998-06-09 00:49:12 +00:00
kipp
5ca93333aa
Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's)
1998-06-09 00:48:56 +00:00
joki
7aad810a2f
Adding new event handling mechanism into raptor.
1998-06-08 00:57:15 +00:00
kipp
c76c309fef
Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly
1998-06-05 21:50:57 +00:00
kipp
71d12dae58
Sprinkled SizeOf methods around
1998-06-05 21:06:24 +00:00
kipp
dfc4dd32ae
Added no-wrap support
1998-06-05 17:53:28 +00:00
kipp
19adfee3f3
Added a reminder
1998-06-05 17:53:11 +00:00
peterl
71d5fd1025
sync up to new style data apis
1998-06-05 06:09:09 +00:00
peterl
55904e7030
changed GetStyleData to return const pointers to style structs
...
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
kipp
d0d066dc01
Fixed to return proper reflow status
1998-06-05 00:54:03 +00:00
kipp
5d8ad4e74d
Verify that mIsBlock is correct
1998-06-04 23:10:15 +00:00
kipp
2a8c488204
Removed dead code
1998-06-04 23:08:59 +00:00
kipp
35f737aeb1
IMplement ReflowBlockChild
1998-06-04 23:08:49 +00:00
kipp
4c0ffc1125
Added a head part
1998-06-04 21:33:07 +00:00
kipp
6ed0850c2d
Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
1998-06-04 21:04:50 +00:00
kipp
a130d61779
Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
1998-06-04 17:52:02 +00:00
kipp
f017361697
Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks
1998-06-04 17:51:27 +00:00
kipp
952e690f78
Log view creation when it's done; create view when child and parent opacities differ
1998-06-04 17:50:53 +00:00
kipp
da9567882e
Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically
1998-06-04 17:50:19 +00:00
kipp
8945757f0d
Added mPrevMarginSynthetic flag
1998-06-04 17:49:29 +00:00
kipp
b3a0265470
Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks
1998-06-04 17:49:15 +00:00
michaelp
ab13cdae91
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kipp
209e9ca775
new
1998-06-03 18:31:14 +00:00
kipp
7a7d1a61cd
Print out view during listings
1998-06-03 15:57:24 +00:00
kipp
7d43cef5b1
Wrap created frames in a view if necessary
1998-06-03 15:57:08 +00:00
kipp
31e0061a0f
disable notifies during synthetic content insertion
1998-06-03 15:55:49 +00:00
kipp
4e3f35d542
Print out views during listings
1998-06-03 15:51:17 +00:00
kipp
bab6234e9e
new
1998-06-03 15:49:00 +00:00
kipp
a34b1a43fd
IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
1998-06-03 15:47:22 +00:00
troy
71d8797ba4
Initialized nsBlockReflowState::mStyleSizeFlags to 0
1998-06-03 02:27:39 +00:00
troy
992a717874
Turned on incremental painting
1998-06-02 05:29:44 +00:00
kipp
76fcd38b25
Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames
1998-06-01 23:39:40 +00:00
kipp
8d21e9ced3
Fixed block frame Clear method to work properly
1998-06-01 23:38:40 +00:00
kipp
d4971d7ddc
Added SetFirstChild; made line layout a friend of block frame
1998-06-01 23:37:55 +00:00
troy
6158f7cec4
Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
...
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
kipp
581d6444fe
Support nsILinkHandler::OnOverLink
1998-06-01 20:55:10 +00:00
troy
9d672d75a1
Work in progress for floaters to handle percentage based
...
width/height
1998-06-01 19:56:58 +00:00
troy
2f68ab5d3a
Added some support for percentage based width/height. Currently only works
...
for the initial reflow
1998-06-01 19:52:53 +00:00
troy
f1bf0636c9
Fixed an assert
1998-05-30 23:56:28 +00:00
kipp
00d8c58559
Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
1998-05-30 21:21:11 +00:00
kipp
80acd0c50e
Use new cssLayout api
1998-05-30 21:18:32 +00:00
kipp
f9cd42fd7b
Use new mPendingBreak state
1998-05-30 17:46:11 +00:00
kipp
def13663bd
Support BR tags in inline frames
1998-05-30 17:45:46 +00:00
kipp
50881dab1b
Partial support for BR clear behavior
1998-05-30 17:45:15 +00:00
troy
5c80c8e537
Placeholder now wraps container content in a body pseudo frame
1998-05-29 23:12:26 +00:00
troy
5d79a7eef1
Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case
1998-05-29 23:05:12 +00:00
troy
cee140e58d
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
kipp
91eb6b5f64
Consolidated list handling state variables
1998-05-29 18:25:14 +00:00
kipp
ee56cc154f
Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow
1998-05-29 02:34:19 +00:00
kipp
03b868eeb4
Removed some unused list layout cruft
1998-05-29 02:33:50 +00:00
kipp
0a670a18f5
Get initial reflow state set right during child reflow; support list bullets directly
1998-05-29 02:15:46 +00:00
kipp
b3f2588ada
Pass on initial reflow to ProcessInitialReflow
1998-05-29 02:15:00 +00:00
kipp
189c6d2f00
Added bullet creator
1998-05-29 02:14:41 +00:00
kipp
9287e82ebb
Added initial reflow hook; setup list bullets using it
1998-05-29 02:13:25 +00:00
kipp
76f4a551b6
Added initial reflow hook
1998-05-29 02:13:13 +00:00
kipp
0c0146ddcf
Added list state for line layout
1998-05-29 02:11:38 +00:00
kipp
bbce64b181
Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook
1998-05-29 02:11:27 +00:00
kipp
b6bad15b86
Added another state bit
1998-05-29 02:09:18 +00:00
troy
5acc41f6bd
Added some more WillReflow() calls
1998-05-28 20:12:02 +00:00
troy
a361eea70c
Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set
1998-05-28 19:00:31 +00:00
troy
b637ca6f64
Changed Paint() to not check if the frame is a pseudo frame
1998-05-28 04:38:28 +00:00
troy
26579fc14a
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00
kipp
98e4c731ca
Use revised HorziontallyPlaceChildren api
1998-05-28 02:01:50 +00:00
kipp
cb7f95262e
Set x,y coordinate of frame before reflowing it
1998-05-27 22:24:57 +00:00
kipp
beb0e254da
Moved certain line layout state into a state struct that can be saved/restored for word breaking
1998-05-27 21:07:10 +00:00
kipp
c258ad8093
Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code
1998-05-27 21:06:55 +00:00
kipp
784f23e1f6
Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code
1998-05-27 21:05:47 +00:00
kipp
a30748d0f2
Updated to use lineLayout struct changes
1998-05-27 21:05:13 +00:00
peterl
28517de6a1
added visibility style attribute
...
moved attributes from position to display struct
1998-05-26 23:15:47 +00:00
troy
b2296227ff
Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
1998-05-25 17:31:49 +00:00
kipp
864f4e1fc4
Removed some dead code; added code to DidReflow children at a good spot
1998-05-22 18:37:49 +00:00
troy
6d84299cc2
Changed reference to reflow command to a pointer to a reflow command
1998-05-22 04:56:27 +00:00
troy
63046c8bfd
Changed splittable enum to be bit flags
1998-05-22 04:54:11 +00:00
troy
e6fd0dce2e
Changed the nsBandTrapezoid::State enum values to conform to the coding
...
standard
1998-05-22 04:03:14 +00:00
troy
3148067708
Added new Reflow() member function that will eventually supersede the two
...
existing reflow functions: ResizeReflow() and IncrementalReflow()
1998-05-22 03:52:51 +00:00
troy
23a25e2268
Some work in progress for incremental floaters
1998-05-22 02:38:41 +00:00
troy
a19cf15e0f
Fixed some busted code of a bogus type cast
1998-05-22 00:45:34 +00:00
kipp
c484dcc24a
disabled reflow-mapped-child for now
1998-05-21 16:29:20 +00:00
kipp
06f4a8f316
better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required
1998-05-21 16:12:10 +00:00
kipp
53d901a18b
Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow
1998-05-21 16:11:29 +00:00
peterl
5a96d99f60
Changed GetStyleData to use an enum instead of an nsID
1998-05-21 02:34:13 +00:00
kipp
a856223ff7
Disable reflow optimizations for now
1998-05-20 21:51:51 +00:00
kipp
0b5ee49086
Add in will/did reflow calls; add in tracing calls too
1998-05-20 16:28:05 +00:00
kipp
e4ff00c95f
Use new tracing macros; add in ReflowMappedChild to avoid reflowing children
1998-05-20 16:27:46 +00:00
kipp
37ab909588
Use new tracing macros and verify-tree-enable
1998-05-20 16:27:22 +00:00
kipp
9aa06b9d92
Added in mDeltaWidth to block reflow state
1998-05-20 16:26:46 +00:00
kipp
c009bb83d2
Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic
1998-05-20 16:26:34 +00:00
kipp
4f3ea52e14
Added more debugging hooks that use nspr logging
1998-05-20 16:22:15 +00:00
troy
a185df6362
Implemented RemoveRegion()
1998-05-20 05:14:14 +00:00
troy
ad60772a53
Changes for removing regions
1998-05-19 22:55:40 +00:00
troy
6b32a0861e
Work in progress on removing a region
1998-05-19 15:30:10 +00:00
troy
c6430d9196
Revamped space manager internals
1998-05-19 03:00:56 +00:00
kipp
be831d99f1
Print out state when non-zero
1998-05-18 16:53:09 +00:00
kipp
cfda8fbbf0
Call WillReflow before reflowing children
1998-05-18 16:52:57 +00:00
kipp
53e780d9cf
dump out state and next-in-flow/prev-in-flow conditionally
1998-05-18 16:52:41 +00:00
kipp
bea090f624
Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
1998-05-14 00:49:46 +00:00
kipp
87861be535
Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState
1998-05-14 00:47:05 +00:00
peterl
af91e8a55f
added style size calculation methods
...
made get style data const
1998-05-13 22:38:09 +00:00