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

5979 Коммитов

Автор SHA1 Сообщение Дата
kostello ba5e25b37b Added SetTableForChildren to set the children's table instance variable 1998-04-28 22:40:22 +00:00
kostello 923e852d77 Added MapHTMLBorderStyle, MapBorderMarginPaddingInto 1998-04-28 22:34:16 +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
karnaze 0aaeba3e9b fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp 0aca6d71bf Correctly compute width of body frame 1998-04-28 16:12:54 +00:00
kipp 9c9549a2f1 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
kipp a88fd6bfe1 updated 1998-04-28 15:24:20 +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 4ec6283dbb Use PERCENT instead of PCT in style constants; udpated usage of vertical alignment information in nsStyleText 1998-04-27 21:26:48 +00:00
kipp 11bd0397f6 Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp b28f6f8258 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values 1998-04-27 21:24:33 +00:00
kipp 4037b259df Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp 8d8dab67b5 Use PERCENT style constants instead of PCT 1998-04-27 21:22:06 +00:00
kipp cd2d1fca8e Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp 706d9ecb49 Cleaned up percent names 1998-04-27 21:20:24 +00:00
kipp 7c6362636b Added nsStyleValue and then updated nsStyleText to use it 1998-04-27 21:19:45 +00:00
rods a441d625bf started adding selection 1998-04-27 16:44:52 +00:00
kipp 33bd81ad75 new 1998-04-27 15:43:09 +00:00
kipp 063c7a9abd Removed hack 1998-04-27 15:39:58 +00:00
troy 4d967a673b Added function to set a trapezoid's shape based on a rectangle 1998-04-27 03:35:05 +00:00
kipp 096465ba4b Get cursor properly 1998-04-26 03:47:53 +00:00
kipp 38416b1028 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp 6e81a203c7 Add in cursors 1998-04-26 03:47:06 +00:00
kipp 972bb14db7 Always return ibeam cursor for text 1998-04-26 03:46:51 +00:00
kipp 7d55b24b03 Added inherit for direction style 1998-04-26 03:46:26 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp 6621a09942 Added keywords for cursors and direction 1998-04-26 02:59:02 +00:00
rickg ff997823ad update 1998-04-25 19:46:11 +00:00
kipp acf5d69b34 new keywords 1998-04-25 19:11:20 +00:00
kipp 1767b4a8f8 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp 7858c97484 Fixed a memory problem; implement align and border properties 1998-04-25 18:48:30 +00:00
kipp 3e8149f651 Port to removal of nsStyleMolecule; add in border support 1998-04-25 18:46:55 +00:00
kipp b5a253fd63 Added in nsCSSDisplay; cleaned up text align; moved float, clear and display out of position and into display 1998-04-25 18:45:22 +00:00
kipp 051226c143 Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance 1998-04-25 18:44:55 +00:00
kipp a1062f035e Updated to use new style constants 1998-04-25 18:44:17 +00:00
kipp 7207ba993f Added support for more properties 1998-04-25 18:43:42 +00:00
kipp 7e340e0d25 updated 1998-04-25 18:41:41 +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
kipp e6603fbd39 Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp 8bc50dfc85 Tidy up style constants 1998-04-25 18:33:11 +00:00
kipp edb906c274 Cleaned up the API 1998-04-25 18:32:59 +00:00
kipp c1b2d798c8 Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others 1998-04-25 18:32:11 +00:00
troy 8b8a36182f Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
karnaze e37717d211 enabled text area 1998-04-24 22:27:07 +00:00
karnaze 4364c856d4 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
buster 927efaa036 even better pagination. Tables with small captions can split, and
simple tables with big cells can split the cell (and it's row)
1998-04-24 20:59:44 +00:00
kipp 6528c92508 Put generated source into the right directory 1998-04-24 19:56:36 +00:00
kipp ad7b05eb26 updated scripts to work properly 1998-04-24 19:56:23 +00:00
kipp bd49cefb6d added new properties 1998-04-24 19:56:09 +00:00
kipp deffb550af latest props 1998-04-24 19:55:53 +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 3edf6508da Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL) 1998-04-24 02:43:42 +00:00
buster 48f12cd759 fixed a nefarious little bug with multiple row spans in the same table
subsequent rows (the ones below the effected rows) were not placed correctly
when the height of the spanning cell became greater than the sum of the heights
of the rows it spanned.
1998-04-23 22:59:07 +00:00
troy 1e612802d7 More work on absolute positioning 1998-04-23 22:38:52 +00:00
michaelp b1d1b906a1 removed conditional calling of view->SetDimensions() in SizeTo(). 1998-04-23 21:51:03 +00:00
scullin 378a0cd5ea Fix abiguous null test for smart pointers. 1998-04-23 19:08:21 +00:00
buster 92ffa0d48f table header and footer rowgroups placed properly, replicated across continuing tables
some pagination fixes, including a hack to make negative available heights = 1.
1998-04-23 17:29:07 +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
buster 4ff4685dbe added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +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 3ba9ae16ba Added nsStylePosition 1998-04-22 23:29:01 +00:00
troy 3477ad0f5b Starting to pay attention to CSS positioning properties 1998-04-22 23:28:39 +00:00
troy 568903a5d9 Setting up style for CSS positioning 1998-04-22 23:28:02 +00:00
kipp 28ac9e9218 Added in support for select/option 1998-04-22 23:24:43 +00:00
kipp 8988288b3b support textarea tag; some support for custom form managers 1998-04-22 22:12:24 +00:00
kipp ba3994c9d5 snapshot 1998-04-22 22:11:52 +00:00
kipp 236f0da00d Disable noisy blink 1998-04-22 22:11:21 +00:00
troy 8c63963bdf Fixed some bustage 1998-04-22 18:15:48 +00:00
troy 6a693cd797 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +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
troy 71631d79cd Added support for CSS 'position' property 1998-04-22 15:46:53 +00:00
troy 0ea90de2c4 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match
1998-04-22 15:43:46 +00:00
peterl 66a1912794 Switch to nsIPtrs to eliminate leaks (and to test them)
added debug code for ref counts
1998-04-22 06:41:10 +00:00
peterl 17d1b9d01d WIP moving margin, border & padding out of nsStyleMolecule
added debug code to track ref counts
1998-04-22 06:40:21 +00:00
peterl b45f75c7cc WIP moving margin, border & padding out of nsStyleMolecule 1998-04-22 06:39:35 +00:00
peterl ffe8fffe19 Switch to nsIPtr for style context ptrs to eliminate leaks 1998-04-22 06:39:00 +00:00
peterl dc64321aa5 added ref counting debug code 1998-04-22 06:38:31 +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
peterl 7343d44516 moved border out of nsStyleMolecule 1998-04-22 06:36:28 +00:00
peterl b9de8ef7df WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
peterl 71f40ddc28 made GetStyleContext work with a null pres context 1998-04-22 06:32:55 +00:00
peterl d217c90cfa WIP removing border, margin & padding from nsStyleMolecule 1998-04-22 06:32:17 +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
scullin ac9ac64cb2 Fix release mode bustage. 1998-04-21 18:25:52 +00:00
buster 6378b17edb THEAD and TFOOT tags enabled 1998-04-21 16:36:46 +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
peterl 69f50285b9 added spacing and border structs 1998-04-21 00:02:44 +00:00
troy 42f3d1a152 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
buster 494d1f714f table performance and minor bug fixes. 1998-04-20 22:49:15 +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 e617812c67 Commented out the hack that explicitly set the P top margin since that's
now handled using CSS
1998-04-19 05:06:41 +00:00
troy ee9a9cab3d Added code to handle CSS margin properties 1998-04-18 22:16:37 +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 79a1be09d6 Fixed a bug I introduced in the previous checkin 1998-04-18 05:03:04 +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
buster aa3801157a removed noisy debug 1998-04-16 22:25:09 +00:00
peterl 6fb3bcb3e6 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +00:00
buster e9fef51c60 simple tables now paginate nicely. Some more complex tables
also paginate ok, though resizing in paginated mode doesn't work yet.
Captions still don't work.
1998-04-16 22:21:32 +00:00
peterl c839e3a447 fix leaks 1998-04-16 21:51:16 +00:00
peterl 76461eca1f fix memory leaks 1998-04-16 21:49:49 +00:00
rickg 9c576dc904 added 'marker-style' entities and fixed a few bugs 1998-04-16 08:18:15 +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
buster 39b10e3604 documentation changes 1998-04-14 21:45:28 +00:00
dario 7452f1816e fixing text to be proper terminated 1998-04-14 19:05:09 +00:00
karnaze 075757394d added doc++ comments 1998-04-14 16:53:16 +00:00
scullin c14e8a1fee IRIX build fixes. 1998-04-14 01:56:50 +00:00
kipp bc8c5300a4 pubbed 1998-04-13 21:23:46 +00:00
kipp 6ff26e3b6d another makefile tweak 1998-04-13 21:08:14 +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