Граф коммитов

1149 Коммитов

Автор SHA1 Сообщение Дата
peterl f5413b1108 fixed clip rect handling (auto side support) 1998-05-12 22:26:59 +00:00
troy c0dbf1e2f9 Removed some temporary code that isn't needed now that content changed
reflow commands aren't generated for the body
1998-05-12 04:46:27 +00:00
troy 87d8314c08 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy 3b08586876 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp efec7aae79 Release image loader during delete frame to break so that images shutdown properly 1998-05-12 01:32:30 +00:00
kipp 9ac5634a00 Added container methods for the singly contained frame 1998-05-12 01:31:22 +00:00
kipp 42bbccee9d Use new image loading API's 1998-05-11 22:58:20 +00:00
troy 6b8094d7b4 Changed table code to pay attention to the ALIGN attribute 1998-05-11 21:31:12 +00:00
troy 89274c06e4 Wrapped VerifyLines() inside of a NS_DEBUG #define 1998-05-11 18:54:15 +00:00
troy eaaa05815e More incremental reflow work. 1998-05-11 18:38:10 +00:00
troy 27dd88d7ae Work in progress on block incremental reflow 1998-05-09 03:52:29 +00:00
kipp c795d58828 Use new LoadImage API 1998-05-09 03:23:54 +00:00
kipp b16f6224cd Fixed pseudo-frame body behavior 1998-05-08 19:43:25 +00:00
rods 2cb9962312 added major selection method and data members 1998-05-08 18:33:42 +00:00
kipp 7d7aba9ef3 Factored out sizing into ComputeDesiredSize and fixed the size to reflect the size of the content 1998-05-08 17:23:06 +00:00
troy 88e5de1f65 Moved ContentChanged() logic to nsFrame since it was completely generic and
serves as reasonable default behavior for all frames
1998-05-08 16:34:27 +00:00
troy d558e0944f Added ContentChanged() member function 1998-05-08 04:56:47 +00:00
kipp 5124564620 Support width/height ala css 1998-05-08 00:16:41 +00:00
kipp a2f4220ebc Added MapImagePropertiesInto 1998-05-08 00:16:30 +00:00
kipp b00942a319 Support css width&height style properties 1998-05-07 23:38:51 +00:00
kipp b756f040c3 Support width & height ala css1 1998-05-07 21:50:56 +00:00
kipp ec92662afe order sid's alphabeticly 1998-05-07 21:36:41 +00:00
troy 78de74ac42 Work in progress 1998-05-07 21:10:07 +00:00
troy dde4836b65 Started hooking up appended content handler 1998-05-07 20:28:16 +00:00
troy f6e0e4fd8b Work on getting floaters working again 1998-05-07 05:25:08 +00:00
kipp 707a667dd2 Implemented destroy-lines 1998-05-07 03:45:29 +00:00
troy 645ad97191 Checks whether the next-in-flow should be deleted 1998-05-07 02:51:30 +00:00
kipp c07c22af17 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
kipp 0c6469b295 Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code 1998-05-07 00:06:53 +00:00
troy dc0c1c644c Hooked up DOM insert/replace/delete 1998-05-06 16:27:15 +00:00
troy ca23e47c2e Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy af4352b9f4 Work in progress for inserted incremental reflow 1998-05-05 04:47:53 +00:00
troy 806d70ed8c Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy 049905f1f8 Added ContentInserted handler 1998-05-04 18:32:12 +00:00
troy 9ae1d79f61 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
troy 38acdd1740 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy 7b7acfc81c Made sure to set previous bottom margin when restoring reflow state 1998-05-03 04:37:56 +00:00
troy 855a687477 Fixed a problem with mY not being updated properly for a bottom
margin
1998-05-03 04:16:13 +00:00
troy 4c182aadd1 Removed ColumnFrame from the build 1998-05-03 04:00:37 +00:00
troy df86871d93 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp 1dfce13cc2 Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code) 1998-05-02 00:56:24 +00:00
kipp aef76fa930 Updated 1998-05-02 00:40:25 +00:00
kostello f7b27f2578 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00
rpotts 374ac13e18 added netlib to the include path... 1998-05-01 05:07:25 +00:00
michaelp 50d60e5f6c added missing NS_RELEASE() after getting a window in the cursor setting code. 1998-05-01 03:09:07 +00:00
kipp 573023df7a new 1998-04-30 23:32:32 +00:00
peterl ede73bb36a updated to new value class api 1998-04-30 19:55:51 +00:00
michaelp c44715a002 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
michaelp c1742af35d more cliprect api changes... 1998-04-29 02:24:07 +00:00
troy f4c0f974bb Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
peterl e680905372 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
troy 7fcce0e743 Added an XXX to CreateFrame() as a reminder that we're resolving the
style context more than once...
1998-04-28 20:58:46 +00:00
michaelp dcd4451871 changed clipping apis so that they take parameters in the same form that
clipping is expressed in layer tags and css-p.
added support for setting transforms in layers (untested and very likely
problematic if scales are applied).
changed event handling and painting apis in views to support inherited
visibility.
all parameters passed into view.Init() are now properly stored in the view.
view opacity apis are now real.
1998-04-28 19:16:24 +00:00
kipp 0aca6d71bf Correctly compute width of body frame 1998-04-28 16:12:54 +00:00
troy 2aae959115 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
buster b03d7357dd sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)
1998-04-27 22:33:55 +00:00
kipp 8d8dab67b5 Use PERCENT style constants instead of PCT 1998-04-27 21:22:06 +00:00
kipp 972bb14db7 Always return ibeam cursor for text 1998-04-26 03:46:51 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp 1767b4a8f8 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp cb044e1968 Stop using nsStyleMolecule; fixed bug that led to missing spaces 1998-04-25 18:41:33 +00:00
kipp 36734f3ef9 Fixed up cursor handling; map align parameter 1998-04-25 18:40:47 +00:00
kipp b5083a9b07 Removed nsStyleMolecule decl 1998-04-25 18:40:17 +00:00
kipp 9fd58ae134 Repaired cursor discovery logic to handle A tag oddities 1998-04-25 18:40:01 +00:00
kipp f5e013b60d new atoms 1998-04-25 18:39:16 +00:00
kipp d6718b8dd3 Updated to new style constants 1998-04-25 18:37:29 +00:00
kipp 47d2590fc1 Stop building unused tags file 1998-04-25 18:34:02 +00:00
troy 8b8a36182f Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
karnaze 4364c856d4 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
troy e8efdaa3c6 Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
troy 6d930e9882 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
troy 1e612802d7 More work on absolute positioning 1998-04-23 22:38:52 +00:00
buster aca5f1f83e fixed a bug where a case during pagination wasn't being tested correctly 1998-04-23 17:22:46 +00:00
kipp d93d7220ba nuked ref to line layout 1998-04-23 17:09:16 +00:00
kipp 01ab9174da define win32_lean_and_mean 1998-04-23 16:47:26 +00:00
troy aa7d0f6143 More CSS position work 1998-04-23 15:39:48 +00:00
troy 3477ad0f5b Starting to pay attention to CSS positioning properties 1998-04-22 23:28:39 +00:00
kipp 236f0da00d Disable noisy blink 1998-04-22 22:11:21 +00:00
troy 98001a329a Work in progress on absolutely positioned elements 1998-04-22 16:06:21 +00:00
troy b3af473a24 Initial check-in 1998-04-22 15:59:33 +00:00
peterl 64cc4238d1 WIP moving margin, border & padding out of nsStyleMolecule
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:37:57 +00:00
troy 21b7d0a128 Changed space manager to pass in the frame that's associated with a block
of unavailable space
1998-04-21 23:06:41 +00:00
troy 33156c179e Fixed column's incremental reflow function to properly handle margins 1998-04-21 04:27:34 +00:00
troy fc6732dae0 Made sure pseudo frames get a top and bottom margin of 0 1998-04-21 03:16:11 +00:00
troy 42f3d1a152 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
troy c698570711 Fixed problem of hitting an assert when encountering an incomplete
frame when reflowing appended children
1998-04-20 20:24:25 +00:00
troy ef8ffb4eb4 Changed to using continuing frames for runaround of left/right floaters 1998-04-20 19:56:35 +00:00
troy ccfe33ed0a Changed to get nsIRunaround directly rather than use ReflowChild() 1998-04-20 19:55:45 +00:00
troy 7c5818ac1f Made it so that continuing frames have a top margin of 0 1998-04-20 04:37:49 +00:00
troy 616900b4e4 Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements
1998-04-18 22:06:05 +00:00
troy 91a9babbf7 Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy e285e45a5f Cleaned up some logic 1998-04-17 01:47:21 +00:00
troy d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
dario 0df61ed795 doc 1998-04-15 18:55:21 +00:00
michaelp 5542eeba5e fixed bug where we would double paint any frame that had a view. 1998-04-14 21:49:29 +00:00
dario 7452f1816e fixing text to be proper terminated 1998-04-14 19:05:09 +00:00
scullin c14e8a1fee IRIX build fixes. 1998-04-14 01:56:50 +00:00
kipp b18134c5e8 Repaired build problems w/ layout/base dependencies 1998-04-13 20:56:42 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00