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

669 Коммитов

Автор SHA1 Сообщение Дата
peterl%netscape.com 72cec4cb78 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com 97f3de44e9 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
peterl%netscape.com 0c55af98d5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
troy%netscape.com d98c1338c9 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com 341045341e Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
evaughan%netscape.com 66ca26c816 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com e459dc55f8 Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com 400b3d1ec0 Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
vidur%netscape.com a130dcf90d 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
peterl%netscape.com 83a73a5c8e improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
waterson%netscape.com 16c04c8ef0 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com 80a740ee38 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
peterl%netscape.com e0eef219d9 made visible an int instead of bool 1999-02-02 03:24:23 +00:00
waterson%netscape.com c5340bff6b Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
troy%netscape.com 32db624fdc Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +00:00
karnaze%netscape.com b9d192770b 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
joki%netscape.com 76111374a3 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
hyatt%netscape.com 6344101989 Making events still possible within tree cells. 1999-01-27 12:42:37 +00:00
hyatt%netscape.com 148948810c Fixed a bug wherein tree frames weren't being added to the flow. 1999-01-27 10:10:02 +00:00
hyatt%netscape.com 15a4267e53 @%!%@! 1999-01-27 07:30:24 +00:00
hyatt%netscape.com c5d1931ce3 Getting rid of a conflict that I had. 1999-01-27 07:23:58 +00:00
hyatt%netscape.com 351a867c31 Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com 3dfe0f6e71 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
troy%netscape.com 90936a12e0 Changed nsAbsoluteItems to be a derived class of nsFrameItems 1999-01-27 03:53:54 +00:00
troy%netscape.com d620a953d5 Hooked printing back up. It was a casuality of the viewport changes 1999-01-27 03:24:12 +00:00
troy%netscape.com 0dcf9ecb84 Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com 3c1d7d5b17 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com 35fe891e8b Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com 745bdb8e74 Removed "tab" chars 1999-01-26 01:47:01 +00:00
troy%netscape.com c72697fd30 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
hyatt%netscape.com 5e91eb5b3f Added support for tree indentation. 1999-01-26 01:12:51 +00:00
troy%netscape.com b145640f92 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com cf65195755 fixing build bustage for someone 1999-01-25 23:55:59 +00:00
hyatt%netscape.com c7911a76ab Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
hyatt%netscape.com 9d713b4c89 Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
peterl%netscape.com 31b951a961 allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com b68bec432e made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
vidur%netscape.com 6a4a691b03 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
rods%netscape.com 02cdf013af Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
pinkerton%netscape.com 028c0f687d hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com 09ce11d78f Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
pinkerton%netscape.com 79a42f97e3 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com 6864fb136f hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
hyatt%netscape.com 3c947c24ed Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
danm%netscape.com 97ccf3dcc7 create XUL frames 1999-01-21 03:37:37 +00:00
karnaze%netscape.com c1f9e8dde6 <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
karnaze%netscape.com 4a096a53f7 scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com fcf61df310 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp%netscape.com 06d2d8efb3 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy%netscape.com 0106607e08 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers 1999-01-15 22:09:15 +00:00
kipp%netscape.com b25ad154ee Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
peterl%netscape.com 0e2059924f better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar
1999-01-15 02:09:29 +00:00
peterl%netscape.com 1c11963511 don't assert when not mapping anything without mapping function
Checkin during red tree approved by sar
1999-01-15 02:08:20 +00:00
peterl%netscape.com b735f84565 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com 095a999ae8 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar
1999-01-15 02:07:15 +00:00
peterl%netscape.com 00692a6f8a better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar
1999-01-15 02:06:13 +00:00
peterl%netscape.com 62dde58889 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
kipp%netscape.com 3246006e73 Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed 1999-01-15 01:30:12 +00:00
troy%netscape.com 5d8b4656eb 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 8ac6e31715 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 2ca99d3bc9 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com 50bb86b809 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com af64fd8bd9 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com 9088d3fb1e Use new flag defines 1999-01-12 16:42:03 +00:00
karnaze%netscape.com ec97d3900b dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 310d08ec36 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 4141e3d219 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
harishd%netscape.com 4527f1559a Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
brade%netscape.com f8115e6d64 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com 7c8dc5d0fc added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
troy%netscape.com fabb2fd184 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com 2d45b350be Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com 4982bfd126 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f 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
peterl%netscape.com 93b7a60a7b fix a ref counting bug with class atoms 1998-12-21 18:38:44 +00:00
troy%netscape.com 900f469395 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com 5dfe5e9429 remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
peterl%netscape.com 28380a8dea fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
peterl%netscape.com 916e05c252 fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com 4db65df9b0 fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
troy%netscape.com c9dedf070c 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 e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com aef6ec508e attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com cf007064b5 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com cdd9d2802c sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +00:00
peterl%netscape.com 67228dac8d implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com b915e52038 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com 3a2e8fa776 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
troy%netscape.com 441ef12d7d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com 60363a423b Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com 2513a5445e Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
av%netscape.com 0fa0a7f9d5 Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
peterl%netscape.com d007ca3c8a added css atoms 1998-12-11 02:51:05 +00:00
peterl%netscape.com e0ce171455 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com 846697e4a9 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com fc358231ab added case sensativity switch 1998-12-11 02:48:40 +00:00
nisheeth%netscape.com 3985eb30bb Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
buster%netscape.com 9873d0f394 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
harishd%netscape.com 545162f28e Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
troy%netscape.com e7be4256f2 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy%netscape.com 1fcf20d0f3 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy%netscape.com 55f632387d Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com bd58bde76d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson%netscape.com 989c4fbe60 A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com 8ca32ffd70 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com 07920c6756 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com 6491194ab0 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com 36202d8d46 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 62f19b11dc added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com 4f5e330093 changed medium type to atom 1998-12-02 00:36:00 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com d04dbf19bd Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com 19549c35a8 made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com 96c289a47a removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com 33c08ec108 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com 7edd98cfcb deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com 1ec6fad39c handle whitespace in url() better 1998-11-26 01:30:51 +00:00
kipp%netscape.com ed15bc1725 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
kipp%netscape.com 5e7b2ca7ab Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com 199d61519b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
troy%netscape.com 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy%netscape.com 8550f707c1 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
troy%netscape.com 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 632a979901 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
buster%netscape.com 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur%netscape.com c068c96a00 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
troy%netscape.com 1ef01c4b61 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
peterl%netscape.com fa0074c6e2 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com 077d785b93 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com 2cdbac2a3e added table-layout
added mix/max width/height
made text-decoration not be cumulative
1998-11-06 00:58:23 +00:00
peterl%netscape.com 96a9c7b186 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 27305475ea removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com 582d848efb sync to declaration api change 1998-11-06 00:52:30 +00:00
troy%netscape.com cc8a206808 Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com 69ad11bff6 sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
peterl%netscape.com 9d15cc0b80 changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
buster%netscape.com e82356e5d9 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
buster%netscape.com d8ae00b810 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com 37c1eb59c2 Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 76945822e1 Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
kipp%netscape.com 86b7edb580 Implement opacity methods 1998-10-28 02:04:27 +00:00
kipp%netscape.com 262d020083 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com c88c131fe6 added the first Nav Quirk, when on, we now interpret numbers without units as pixel units 1998-10-28 01:12:38 +00:00
peterl%netscape.com d10c5c6553 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com 624446110a added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com a85997ba8b brought existing property handing up to spec for CSS2 1998-10-26 23:22:19 +00:00
peterl%netscape.com d51752e653 added aural style hint 1998-10-26 23:21:19 +00:00
peterl%netscape.com 03049c7b12 moved !important handling into parser 1998-10-26 23:20:45 +00:00
peterl%netscape.com 084e1104ba added new value types 1998-10-26 23:19:59 +00:00
peterl%netscape.com 4fdb71d1d3 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com 93aae1a40c added CSS2 properties 1998-10-26 23:16:27 +00:00
troy%netscape.com c4862c491c Changed some comments 1998-10-24 05:03:55 +00:00
karnaze%netscape.com 1610cecf5a implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
troy%netscape.com 6005461750 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
buster%netscape.com 05f76c4440 preliminary code to resolve parent frame issues for table frames 1998-10-21 22:24:59 +00:00
kipp%netscape.com 05d3950c8e Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
karnaze%netscape.com 6dce0be4e1 fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
kipp%netscape.com ed261f2102 Disabled the code 1998-10-13 20:43:05 +00:00
peterl%netscape.com 7cac29c2ed expanded font size table 1998-10-13 19:17:25 +00:00
peterl%netscape.com 2f06549f0b cleanup 1998-10-13 19:14:19 +00:00
peterl%netscape.com 035ffcf574 shifted CSS absolute font sizes 1998-10-13 19:13:59 +00:00
troy%netscape.com 7391b96095 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
kipp%netscape.com e3998954e5 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com 05a50b6ce3 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
buster%netscape.com 37e93ed6b7 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
kipp%netscape.com c612fef61e Fixed top relative position bug #1024 1998-10-08 15:37:34 +00:00
karnaze%netscape.com 580dde94fe fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
rpotts%netscape.com 88edff2205 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
peterl%netscape.com 5d132479e5 added css2 properties 1998-10-08 01:34:58 +00:00
peterl%netscape.com 56dd6acce2 init hash code to make purify happy 1998-10-08 01:32:41 +00:00
peterl%netscape.com 042308dc64 added CSS2 properties 1998-10-08 01:31:58 +00:00
peterl%netscape.com 2817e0c448 sync to css declaration changes 1998-10-08 01:31:38 +00:00
peterl%netscape.com c7b1ae602c moved from nsCSSDeclaration 1998-10-08 01:29:29 +00:00
vidur%netscape.com 0031f0710a Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
kipp%netscape.com ef4d185fa7 never create frames when display is none 1998-10-06 00:43:48 +00:00
troy%netscape.com 933dc19df8 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +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
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
peterl%netscape.com 0a14260f95 added get value as string 1998-09-30 01:08:59 +00:00
peterl%netscape.com 61650722ad make text decoration always an enum 1998-09-30 01:08:44 +00:00
peterl%netscape.com e2c4541df8 added attribute & content changed code 1998-09-29 23:51:28 +00:00
peterl%netscape.com 39dc4dbc04 added hint table
moved non-generated code to nsCSSProps2.cpp
1998-09-29 23:50:56 +00:00
peterl%netscape.com b9ace40b77 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
peterl%netscape.com 5bd69f379a added hint to parse delcaration 1998-09-29 23:49:19 +00:00
kipp%netscape.com dc4362fa13 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
michaelp%netscape.com b308bcd473 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).
1998-09-27 22:44:26 +00:00
kipp%netscape.com 69a575c5c0 Fixed the value of the background-image property when it's not set in the composite background property 1998-09-25 23:35:55 +00:00
kipp%netscape.com f33983a700 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
troy%netscape.com d5336ff9ad Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
kipp%netscape.com 058d6e86b5 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
kipp%netscape.com a1010ce974 Renamed FrameDeleted to FrameRemoved 1998-09-25 16:12:13 +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 7c988b7689 handle HTML comment tags as whitespace 1998-09-25 01:50:51 +00:00
peterl%netscape.com a99f96fb65 fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work
1998-09-25 01:50:34 +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
troy%netscape.com 450e900440 Added call to ProcessChildren() for OBJECT tag 1998-09-24 20:35:59 +00:00
troy%netscape.com 88d8d60841 Removed a comment that is no longer applicable 1998-09-23 21:55:41 +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 cbc01b084c Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
kipp%netscape.com 1feda2c07d Added a list method for outputing top/right/bottom/left objects like border/padding/margins 1998-09-23 02:36:07 +00:00
kipp%netscape.com 4a352f5802 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com 216fa8884f Removed VerticallyAlignChildren (it's in nsInlineReflow now) 1998-09-23 02:34:43 +00:00
kipp%netscape.com c734b42d73 Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
buster%netscape.com c663125cd3 captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
troy%netscape.com a0d36cd575 Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com b6c1cfd2b8 Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com 740f73d46a Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com 9326c0f61f connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
troy%netscape.com 517a28dfaa Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed
1998-09-17 00:06:46 +00:00
troy%netscape.com abdd161d93 Frame construction changes for tables 1998-09-16 17:19:20 +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
kipp%netscape.com 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com 7d331e2c97 Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
troy%netscape.com 2766a78b70 Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()
1998-09-12 23:51:57 +00:00
troy%netscape.com 8444a92233 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com daaf147818 vend important rule when present 1998-09-12 02:46:59 +00:00
peterl%netscape.com 4192bbe6e8 fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
peterl%netscape.com 1637c22891 added debug code for ref counting 1998-09-12 02:45:26 +00:00
peterl%netscape.com b58ec8977e init ref count of important rule 1998-09-12 02:43:48 +00:00
troy%netscape.com 21eebef753 Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
kipp%netscape.com c38dcf9b44 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com 991dab3f18 added strength api to style rule 1998-09-11 02:07:58 +00:00
peterl%netscape.com f787309dc5 added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com d1deab28e2 added important rule support
factored declaration processing to a static method
1998-09-11 02:07:05 +00:00
kipp%netscape.com 634f05dad5 Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation. 1998-09-10 23:43:12 +00:00
kipp%netscape.com 50abb37993 Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
troy%netscape.com 585ef01470 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com f370908aef Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com 1114073cf0 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com f3cffd4969 removed assert on x-height unit 1998-09-10 01:18:27 +00:00
peterl%netscape.com 13290e1093 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com 9099acfd69 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com d91efeb4f8 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com 703a2a4274 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com 0487d758b2 COMified style rule interface 1998-09-02 02:09:43 +00:00
warren%netscape.com 28969e9e90 Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com 6a2fa61df2 Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
peterl%netscape.com 0839a8ef32 added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
peterl%netscape.com 7950fd1f43 reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com 595a6844b4 fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com 1d86a0da53 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com 939ca85c1d fixed font face support 1998-08-07 02:16:38 +00:00
kipp%netscape.com 08e80f94e6 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
peterl%netscape.com 53e7e44e55 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com 2e94829b3e made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com e5cf0b2266 added body link color support 1998-07-25 01:20:48 +00:00
kipp%netscape.com d1ac217668 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
michaelp%netscape.com 8a42c31205 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
peterl%netscape.com 8b578ec62e added nsStyleUtil.cpp 1998-07-23 18:04:24 +00:00
peterl%netscape.com 8ca7b29de7 factored font sizing code to nsStyleUtil
implemented font flags
1998-07-23 18:03:55 +00:00
kostello%netscape.com a930953dfa 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
peterl%netscape.com 1d53cc71ce added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com d542a81118 fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com 9edff7f8db fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com dea1e981bd added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
kipp af61558bea Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +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 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
buster 3f9f422457 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy 6617da99b2 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +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
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 1e36945bf8 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
kipp e9039ce54f Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp 26910a6705 Print out percentage values properly 1998-06-03 16:00:15 +00:00
troy 6d244dcc50 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp b17d369aaa Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
buster c3e2859006 set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.
1998-05-28 21:39:22 +00:00
kipp 8655e732f4 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp 2dcaa2827c Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines 1998-05-28 18:39:42 +00:00
kipp b665a9ad54 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 3fb5c8ed07 Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp 4ddfb90b4c Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 937fd8363b Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp 18f6c1ef3a Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl cb3b43ce42 made it build on irix 1998-05-20 21:28:36 +00:00
peterl 4aaff46277 added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
thom 5493b2968c fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl ad536d754b added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl 3c44130d7a added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl 5a28a44c63 cleaned up list output 1998-05-18 21:10:44 +00:00
peterl d017d2a20f pseudo frame support 1998-05-18 21:10:19 +00:00
peterl cf28024bc8 correct case of selectors
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl 2976d767a8 added pseudo element support 1998-05-18 21:07:54 +00:00
peterl 52fd4dfeed fixed memory leak
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
kipp ad7b3ca94e Removed some useless code 1998-05-14 00:49:11 +00:00
peterl 344a1920c3 added HTML CSS style sheet 1998-05-13 23:42:18 +00:00
peterl 295b3beff6 renamed getSupportsValue to getISupportsValue 1998-05-13 23:42:01 +00:00
peterl 9b327283f0 fixed bug in parse declaration block, we now discard empty declarations
tweaked position
1998-05-13 22:40:54 +00:00
peterl 197d50c4d7 fixed position 1998-05-13 22:40:17 +00:00
kipp 7353bb57bd Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height 1998-05-12 23:53:37 +00:00
peterl 8dd3604496 added proper support for border padding & margin
better support for clip
1998-05-12 22:57:52 +00:00
peterl 3a1b51ba69 added clip inherit support
added line-height number support
1998-05-12 22:56:18 +00:00
kipp 55e1c1ea89 Make url's absolute per the css spec 1998-05-11 23:28:47 +00:00
kipp 8f85d77685 Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace) 1998-05-11 23:28:22 +00:00
kipp 773127ceb5 Removed uneeded code; added a reminder comment 1998-05-09 03:23:41 +00:00
kipp a19ea215c6 Added GetStyleSize 1998-05-07 21:36:16 +00:00
peterl 28e3d1856a update to new value class api 1998-04-30 19:57:36 +00:00
peterl 1cbc581d30 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl e680905372 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
peterl e7b269d828 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
kipp 9c9549a2f1 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy 2aae959115 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +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 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 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 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