Commit Graph

992 Commits

Author SHA1 Message Date
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
nisheeth%netscape.com
0855a01677 Definition and implementation of nsXSLContentSink. The XSL content sink
is instantiated for an XSL stylesheet and constructs
the XSL rule model as the stylesheet gets parsed by the parser.

Checking in the first cut.  These files are not part of the build yet.  Just
checking in so that they get backed up while I am away on my 3 week vacation.
1998-12-27 08:48:00 +00:00
nisheeth%netscape.com
a6036fc264 Checking in initial tests for the first XSL prototype. 1998-12-27 08:25:54 +00:00
nisheeth%netscape.com
7a8631dcf7 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.
1998-12-27 08:24:04 +00:00
waterson%netscape.com
374a53ba9d Fixed CID header file. 1998-12-24 06:33:16 +00:00
waterson%netscape.com
6a227c1d03 Initial revision. Separated from mozilla/rdf/include. Not yet in the build. 1998-12-24 05:07:14 +00:00
peterl%netscape.com
8b9304316e fix a ref counting bug with class atoms 1998-12-21 18:38:44 +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
rods%netscape.com
cdc4c9ba17 Added better default processing of hint 1998-12-21 13:29:32 +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
650a9f3060 fix spelling
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +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
peterl%netscape.com
3cf603abf4 added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +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
1106a4c943 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com
e2abd8b98e sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +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
peterl%netscape.com
babdb0cd05 changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
akkana%netscape.com
a34d223b25 Add a comment explaining ComparePoints 1998-12-18 23:13:25 +00:00
akkana%netscape.com
a6109b9b6d Fix startup crash -- when setting one endpoint with the other one null, collapse the range 1998-12-18 23:12:29 +00:00
michaelp%netscape.com
166576867e Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.
1998-12-18 19:02:36 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
karnaze%netscape.com
00b411a715 added remaining dom methods 1998-12-18 17:05:17 +00:00
jfrancis%netscape.com
8f674885c0 More range gravity work 1998-12-18 09:32:40 +00:00
jfrancis%netscape.com
526ef0ab17 More range gravity work 1998-12-18 09:28:55 +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
troy%netscape.com
55fb6b65be Changed static casts so they compiled under VC 6.0 1998-12-18 03:29:51 +00:00
jfrancis%netscape.com
22ca77073e More range gravity work 1998-12-18 02:51:34 +00:00
vidur%netscape.com
ef7751a987 Added asynchronous script and style loading to XML. Moved out stream loader to netlib. 1998-12-18 01:36:41 +00:00
rods%netscape.com
3612ea4cf4 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods%netscape.com
5cf287a727 Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
jfrancis%netscape.com
94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com
2917ee35b3 Add ; after class definition 1998-12-17 01:42:02 +00:00
rods%netscape.com
fc330ef44a Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +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
akkana%netscape.com
4b2fbb6849 Adding public routine ComparePoints for mjudge 1998-12-16 18:36:48 +00:00
beard%netscape.com
6dd88d5041 Fixed case of nsIHttpURL.h 1998-12-16 08:56:10 +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
jfrancis%netscape.com
e140fbcd98 ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents() 1998-12-15 23:58:09 +00:00
akkana%netscape.com
753ece449f Initial stab at CloneContents implementation 1998-12-15 18:47:44 +00:00
kipp%netscape.com
b4dfff8ca9 Added absmiddle to table halign values 1998-12-15 17:58:59 +00:00
kipp%netscape.com
a39ac58396 Map align=center to auto side margins 1998-12-15 17:58:45 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
vidur%netscape.com
fd093d0d82 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00
jfrancis%netscape.com
6a7b88171d implemented toString() + minor fixmeups 1998-12-15 04:42:29 +00:00
jfrancis%netscape.com
d12bffd83f adding nsContentIterator 1998-12-14 23:17:52 +00:00
jfrancis%netscape.com
2c9b124126 First Checked In. 1998-12-14 23:16:31 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
vidur%netscape.com
3a9dd64bbf Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
peterl%netscape.com
5b4cdf46ee moved name space management to name space manager, tweaked apis 1998-12-11 02:53:49 +00:00
peterl%netscape.com
e54b306cf1 added css atoms 1998-12-11 02:51:05 +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
d256c41dce sync css selector output to new selector syntax 1998-12-11 02:48:00 +00:00
peterl%netscape.com
e4814750f6 handle inline style sheet better 1998-12-11 02:47:25 +00:00
peterl%netscape.com
d274bbc66b fixed base href for inline style sheets
set case sensativity in CSS parser
1998-12-11 02:46:25 +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
89bc03aa78 added namespace support 1998-12-11 02:42:38 +00:00
peterl%netscape.com
59693414e7 removed pseudo class atoms (moved to css atoms) 1998-12-11 02:36:36 +00:00
peterl%netscape.com
7d379a6e97 added name space manager 1998-12-11 02:35:06 +00:00
peterl%netscape.com
1aac9353da fixed default value of vertical align 1998-12-11 02:33:03 +00:00
peterl%netscape.com
e78daf2f3e added name space atoms 1998-12-11 02:31:51 +00:00
peterl%netscape.com
fdc2207d84 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com
c1e7017b88 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com
51b1c4ae5a added namespace accessor 1998-12-11 02:30:08 +00:00
nisheeth%netscape.com
aa1aa005f0 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent. 1998-12-11 00:52:55 +00:00
nisheeth%netscape.com
c6ed34297d Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes. 1998-12-10 23:52:46 +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
akkana%netscape.com
f553a31924 Fix win32 build 1998-12-10 20:15:25 +00:00
akkana%netscape.com
167837aba0 Clone and CloneContents 1998-12-10 18:58:49 +00:00
kipp%netscape.com
c6165333cd Added some code to handle illegal color values more compatabibly 1998-12-10 17:50:43 +00:00
buster%netscape.com
5c7381007f an even cleaner implementation of InsertRow 1998-12-09 23:30:06 +00:00
buster%netscape.com
519de93eaa fixed nsHTMLTableElement::InsertRow() 1998-12-09 23:19:12 +00:00
jfrancis%netscape.com
fd0bd966e7 checking in a bit more of deleteContents; hard part still not done. 1998-12-09 22:07:00 +00:00
akkana%netscape.com
07e4e1f20d implementation for CompareEndPoints 1998-12-09 19:21:49 +00:00
akkana%netscape.com
1021dc344c Update Range spec 1998-12-09 18:44:26 +00:00
buster%netscape.com
80cbbfefb7 cellspacing split out into x and y, HTML attribute sets both to same value 1998-12-09 06:36:32 +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
troy%netscape.com
7ec6a2c281 Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
akkana%netscape.com
9fa4b16fc0 GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input 1998-12-08 19:53:25 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge%netscape.com
35b965b62b changes to selection 1998-12-08 18:25:47 +00:00
mjudge%netscape.com
24b5ddbeb3 changes to remove selection 1998-12-08 18:25:27 +00:00
kipp%netscape.com
825f4e5f8b Fixed an improper use of NS_RELEASE 1998-12-08 16:08:44 +00:00
jfrancis%netscape.com
464959493a removing tabs; started deleteContents() imp 1998-12-08 02:26:15 +00:00
buster%netscape.com
bc20fdad3a fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
kipp%netscape.com
924b3d53b7 Made image documents layout again 1998-12-07 22:29:13 +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
267a36eda9 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 18:56:29 +00:00
harishd%netscape.com
555757d651 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:55:19 +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
jfrancis%netscape.com
d46058e3dc fixing IsSameDocument by including nsIDOMDocument.h 1998-12-07 17:53:59 +00:00
jfrancis%netscape.com
f44394e4fe implemetned ComparePointToRange() and IsPointInRange(). Stopped caching ancestor lists. Added standard copy constructor/assignment operator prohibition. 1998-12-07 16:11:52 +00:00
beard%netscape.com
6248dadd4f Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right. 1998-12-07 06:10:12 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com
9822a0af6a Implement InSameDoc 1998-12-05 02:19:01 +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
jfrancis%netscape.com
6f832796e8 fixing up start/end setters, other details 1998-12-04 18:21:52 +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
jfrancis%netscape.com
c1e3a6df07 more work on grungy range details 1998-12-03 22:59:07 +00:00
mjudge%netscape.com
e48bcc6f89 new selection change to come ifdefs going in 1998-12-03 21:48:32 +00:00
mjudge%netscape.com
ee9dc5ef18 changing use of selection 1998-12-03 21:45:26 +00:00
mjudge%netscape.com
1b1e779f4f changing selection code 1998-12-03 21:43:32 +00:00
mjudge%netscape.com
704c2833fe new collection export instead of nsISelection 1998-12-03 21:42:58 +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
58dc37167f added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
jfrancis%netscape.com
032700a4f9 fixing bad goto (as if there were good ones?) 1998-12-03 17:25:00 +00:00
troy%netscape.com
7b508ab8c9 Added NS_RELEASE to fix leak of a HTML style element 1998-12-03 16:46:56 +00:00
jfrancis%netscape.com
a6ccac7bf4 adding some private helper functionality that is going to change soon... 1998-12-03 15:02:37 +00:00
jfrancis%netscape.com
fe50f9ae5a putting Akkana's implementation back in; fixed compile-time errors 1998-12-03 09:51:05 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
joki%netscape.com
946548a531 Fix cursor bug which caused cursor to be set once per child view on each mousemove 1998-12-03 03:07:16 +00:00
vidur%netscape.com
83b0609315 Fixed unitialized value problem. 1998-12-03 00:34:44 +00:00
joki%netscape.com
96b9e437c5 Fix mouseover/mouseout firing crash when hitting bad frame. 1998-12-02 02:14:58 +00:00
peterl%netscape.com
c1a6062752 added inline style sheet support for contained HTML 1998-12-02 00:39:10 +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
d697c328a9 added inline style sheet accessor 1998-12-02 00:35:41 +00:00
peterl%netscape.com
4da4f20250 changed media to uppercase atoms 1998-12-02 00:35:03 +00:00
peterl%netscape.com
12fda54c43 added inline style rule accessor 1998-12-02 00:34:31 +00:00
peterl%netscape.com
70114e4809 moved body fixup rule into content 1998-12-02 00:34:06 +00:00
peterl%netscape.com
16457d2733 added inline style accessor 1998-12-02 00:33:12 +00:00
peterl%netscape.com
14a4bc76a8 added nsLayoutAtoms 1998-12-02 00:32:20 +00:00
peterl%netscape.com
efc9fc421e added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com
e224ac9762 new file 1998-12-02 00:29:29 +00:00
peterl%netscape.com
7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
waterson%netscape.com
ca441d8de1 First Checked In. 1998-12-02 00:20:07 +00:00