Commit Graph

481 Commits

Author SHA1 Message Date
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com
e4dc4ef541 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
c925f3459e 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
081bfbad68 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com
4d6c75857f changed parent/child ref/counting policy
Checkin during red tree approved by sar
1999-01-15 01:57:05 +00:00
kipp%netscape.com
402aa6541a 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
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
4332a082d5 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com
b72a94c761 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com
4d283102bd Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
karnaze%netscape.com
c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com
c502a142cc Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed 1999-01-08 02:51:07 +00:00
troy%netscape.com
b0aeb44419 Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property
1999-01-08 01:14:59 +00:00
troy%netscape.com
c876ae8a25 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
55c83966cf 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
5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com
b3ae3a8483 added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
troy%netscape.com
3d957f5d86 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com
16ca348baa Fixe for test8 hitting an assert 1999-01-03 00:15:56 +00:00
troy%netscape.com
5f3db9d048 Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'
1999-01-02 21:01:37 +00:00
troy%netscape.com
8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
d56587e4cb Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com
d9b4fa08c0 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com
400bea8f9d remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
peterl%netscape.com
66066e1f3c 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
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
01b2811d2e 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
9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com
7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com
1742808c87 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com
582b88e0ae fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com
8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
troy%netscape.com
7f566a1613 Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f 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
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
buster%netscape.com
f4e91e426d oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com
e70cae473d Added Pseudo-element styles for the scrollbar "look" 1998-12-15 19:11:57 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
troy%netscape.com
e6b80694e0 Changed comments to conform to CSS2 guidelines for C-style comments 1998-12-12 19:07:38 +00:00
kipp%netscape.com
50844df3ca Futzed with list item handling a bit 1998-12-11 22:22:29 +00:00
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
a16ab20767 added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com
84fd70a5a1 backed out prevoius change (not ready for it) 1998-12-11 02:45:25 +00:00
peterl%netscape.com
1aac9353da fixed default value of vertical align 1998-12-11 02:33:03 +00:00
nisheeth%netscape.com
02450534e5 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
5cbf93ec0f added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
buster%netscape.com
e89fff43d2 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +00:00
buster%netscape.com
bc20fdad3a fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
harishd%netscape.com
dccdd4a155 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com
6b7934f14f changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing
1998-12-07 18:51:26 +00:00
troy%netscape.com
78a4ce96ec 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
e05b04aa92 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
62857a1141 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
205250b6c4 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
90f35ce118 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com
4a0f9cea8f 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
1ebf1ebe4a A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com
a39407d940 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com
1cd4a28768 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com
e964f5d837 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com
1f09ce3031 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com
ba1a0ff568 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com
b5f9c257f1 changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com
1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com
fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com
32453af5dc changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com
e5073780c6 fixed decoration style of del 1998-12-02 00:35:26 +00:00
peterl%netscape.com
efc9fc421e added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com
7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
vidur%netscape.com
6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com
c66950da5a made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com
d66876022f removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com
90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com
5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com
c757654c3a handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com
e2fb1e2c1e added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com
6c90c991c0 added style sheet properties 1998-11-26 01:24:32 +00:00
kipp%netscape.com
c13a79ad48 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
b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com
ee5912363a 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
4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
kipp%netscape.com
fd8a5d1360 Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly 1998-11-20 22:21:38 +00:00
buster%netscape.com
926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com
496fd7d73e 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