Commit Graph

2753 Commits

Author SHA1 Message Date
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
2d6a42cd38 new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
mjudge%netscape.com
da56c11be1 changing exports of new CIDs for selection 1998-12-03 21:44:12 +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
e24288bbb6 First Checked In. 1998-12-03 20:28:15 +00:00
waterson%netscape.com
37ffaaf5ad Export style sheets, nsPresShell, and nsTextNode via the factory. 1998-12-03 20:21:40 +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
23112ce100 minor optimizations and cleanup. removed constructors that did nothing. 1998-12-03 20:19:01 +00:00
jfrancis%netscape.com
0a113c8952 adding nsRange.cpp to the project, again. it's always better the second time around. 1998-12-03 18:21:45 +00:00
buster%netscape.com
1f09ce3031 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
buster%netscape.com
9c4e4e9e76 the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
     because I don't have to check display types every time I iterate through colgroup frames.  I *know*
     mColGroups contains only colgroups.  I might do the same for rowgroups (that is, keep unknown frame types
     in their own list as well.)  But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols.  Now,
     it just creates frames as appropriate, not content.  To support this, I added some pseudo style contexts and
     related atoms.
1998-12-03 18:01:35 +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
ae7e0ae454 Removed explict call of base class constructor 1998-12-03 07:22:31 +00:00
troy%netscape.com
fbd9f4ef8b Removed explicit call of base class constructor because it was
making Unix compilers unhappy
1998-12-03 07:20:59 +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
wtc%netscape.com
59b32f50ef This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
saari%netscape.com
e2bfbdcdc6 Fix build breakage. Added mozilla/layout/base/nsPringContext.cpp to layout.mcp to mirror Troy's addition to the build today. 1998-12-02 04:59:15 +00:00
troy%netscape.com
f5bcd75d8b Added PrintContext class and changed document viewer impl to use it instead
of a galley mode context
1998-12-02 03:21:55 +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
e64a72b830 Added nsLayoutAtoms.cpp 1998-12-02 00:49:52 +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
e5073780c6 fixed decoration style of del 1998-12-02 00:35:26 +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
3349d9e806 added medium type 1998-12-02 00:31:31 +00:00
peterl%netscape.com
efc9fc421e added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com
78bc2e40d8 added nslayoutatoms.h 1998-12-02 00:29: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
peterl%netscape.com
c60ac1b70f added medium accessor 1998-12-02 00:28:57 +00:00
waterson%netscape.com
ca441d8de1 First Checked In. 1998-12-02 00:20:07 +00:00
waterson%netscape.com
a3fbabc790 Exposed nsCSSParser via layout factory. 1998-12-01 23:29:16 +00:00
jfrancis%netscape.com
51ef69c1de moving nsRangeList.cpp to the right place in the project 1998-12-01 22:05:27 +00:00
jfrancis%netscape.com
45028b8b30 moving nsDocumentfragment.cpp to the right place in the project 1998-12-01 22:00:18 +00:00
troy%netscape.com
37fcf8cf70 Removed hack of having page size based on viewport size 1998-12-01 19:38:29 +00:00
akkana%netscape.com
0b7b85b6f7 nsIRangeList shouldn't have been here. Fix build bustage 1998-12-01 19:34:50 +00:00
mjudge%netscape.com
2d103ec094 including proper thing 1998-12-01 19:18:52 +00:00
akkana%netscape.com
81961471ac Change Element to Node 1998-12-01 19:15:00 +00:00
mjudge%netscape.com
d4abd147c5 need to include the nsIDOMElement.h dont know why this worked on windows 1998-12-01 19:14:18 +00:00
leaf%mozilla.org
00a6607eaf adding nsIRangeList.h to exports list 1998-12-01 19:08:02 +00:00
mjudge%netscape.com
9b06fb7378 changes nsRangeList to be an implementation of nsICollection 1998-12-01 18:00:02 +00:00
mjudge%netscape.com
7135c7af4a changing nsIRangeList to nsICollection 1998-12-01 17:57:42 +00:00
mjudge%netscape.com
dd4fb641ca removing nsIRangeList.h 1998-12-01 17:56:56 +00:00
mjudge%netscape.com
4924d1abcf removing nsIRangeList.h 1998-12-01 17:55:58 +00:00
kipp%netscape.com
5841a14537 new 1998-12-01 16:13:49 +00:00
troy%netscape.com
900c396915 Changed to handle StyleChanged incremental reflow command 1998-12-01 05:17:12 +00:00
karnaze%netscape.com
3ac909047e fixed bug 1613 (leak in nsFrameSetFrame::CalculateRowCol) 1998-11-30 22:37:52 +00:00
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
beard%netscape.com
7b2b7b599d First Checked In. 1998-11-30 22:14:25 +00:00
buster%netscape.com
09df53a05d fixed a bug for tables with complicated colspans and fixed widths 1998-11-30 19:06:33 +00:00
karnaze%netscape.com
abbe1cf13e fixed bug 1696 1998-11-30 18:19:21 +00:00
pinkerton%netscape.com
34d9633aa4 added nsDocumentFragment.cpp to fix build bustage. 1998-11-30 17:51:01 +00:00
buster%netscape.com
c44861d421 fixed some nested table layout problems 1998-11-30 15:10:20 +00:00
vidur%netscape.com
1dadb447e1 Fixing build bustage 1998-11-30 08:47:27 +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
mjudge%netscape.com
91798f3747 adding nsRangeList.cpp to list of files to compile 1998-11-30 05:29:53 +00:00
jfrancis%netscape.com
9de7ea0e3b [sfraser checking in as jfrancis] added nsRangeList.cpp, turned on debug info for debug targets, as build bustage fixage. 1998-11-30 03:02:52 +00:00
mjudge%netscape.com
e8367337da added nsRange to unix 1998-11-30 03:00:26 +00:00
mjudge%netscape.com
f188fd1549 should fix unix 1998-11-30 02:11:00 +00:00
msw%gimp.org
81b0a2d3cf Really fix Unix build bustage. r,a=shaver@netscape.com 1998-11-30 00:29:45 +00:00
jfrancis%netscape.com
dbcb515611 adding nsIRangeList.h 1998-11-29 22:45:27 +00:00
mjudge%netscape.com
bb0f05ac0d nsIRangeList.h 1998-11-29 22:35:13 +00:00
mjudge%netscape.com
e5fc17cdc8 new rangelist.cpp file 1998-11-29 22:12:27 +00:00
mjudge%netscape.com
4059ed3e65 need to make rangelist.cpp 1998-11-29 22:11:49 +00:00
mjudge%netscape.com
c94754173f new rangelist factory needs to be registered 1998-11-29 22:11:06 +00:00
mjudge%netscape.com
12c6c5946a exporting nsIRangeList.h 1998-11-29 22:02:50 +00:00
msw%gimp.org
479041128c Fixed broken Unix build. Approved by shaver@netscape.com 1998-11-29 21:13:19 +00:00
vidur%netscape.com
0057b5d23e Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag. 1998-11-28 23:51:06 +00:00
karnaze%netscape.com
d875aa2aec changed frameset layout algorithm. fixed bugs 728, 1075, 1494 and half of 1486 1998-11-28 18:59:38 +00:00
michaelp%netscape.com
8732a493d7 fixed memory leak. 1998-11-28 04:24:46 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
kipp%netscape.com
1ed8e1edae Fixed to not subtract out borders/padding when unconstrained height reflow is occuring 1998-11-26 18:14:17 +00:00
kipp%netscape.com
0de0988eb8 disabled another printf; use web-shell destroy to properly whack the sub-webshell 1998-11-26 18:13:13 +00:00
kipp%netscape.com
dd21432b23 Compute combined area properly 1998-11-26 18:11:23 +00:00
kipp%netscape.com
5b4b437bb3 Fixed verify reflow to avoid creating reflow commands during a verify reflow 1998-11-26 18:11:02 +00:00
kipp%netscape.com
8fa850977c XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method 1998-11-26 18:10:10 +00:00
kipp%netscape.com
4635fb5dac XPCOMize more of the API; added Stop method 1998-11-26 18:08:44 +00:00
kipp%netscape.com
bffc589afc whitespace tweak 1998-11-26 18:08:27 +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
ef64bc512f fix unix build 1998-11-26 03:45:50 +00:00
rickg%netscape.com
d23278ec63 improvements to recursive parser calls 1998-11-26 02:56:40 +00:00
sar%netscape.com
e24eec122f backing out akkana's changes. this will fix build bustage on the mac 1998-11-26 02:30:44 +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
f8a4cc0c88 connected style sheet better (added content node & properties) 1998-11-26 01:29:10 +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
akkana%netscape.com
b47f47475b Implementation of the easy parts 1998-11-25 23:20:29 +00:00
kipp%netscape.com
8a379ae174 new 1998-11-25 19:07:17 +00:00
buster%netscape.com
3ddfe1c165 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
kipp%netscape.com
2e9a075c19 Brought verify-reflow back to life 1998-11-25 18:41:02 +00:00
karnaze%netscape.com
b1329e6aa4 fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem 1998-11-25 18:11:26 +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
vidur%netscape.com
2eb52100a7 New class nsDocumentFragment 1998-11-25 08:14:47 +00:00
jfrancis%netscape.com
76ebb54d49 removing the accidentally copied "AUTOGENERATED - Do Not Edit" warning 1998-11-25 01:34:59 +00:00
jfrancis%netscape.com
2346f1438b added nsRange.cpp 1998-11-25 01:22:35 +00:00
jfrancis%netscape.com
af33dd4fe6 cleanup 1998-11-25 01:21:42 +00:00
akkana%netscape.com
1c828df72c Add include line 1998-11-24 21:24:40 +00:00
akkana%netscape.com
3a2b2f6096 Implementation file for nsIDOMRange 1998-11-24 21:20:11 +00:00
joki%netscape.com
a8d57495c7 Implement document.URL access 1998-11-24 21:07:43 +00:00
buster%netscape.com
87d66cfc86 removed debug output 1998-11-24 20:40:43 +00:00
joki%netscape.com
2b2bfb85dd Add missing coordinate transform to getFrameForPoint 1998-11-24 20:31:21 +00:00
buster%netscape.com
9e645e1fc6 bug 1520 (www.mirabilis.com)
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.

the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added.  The rest of this
fix is a bit risky, so I'm waiting until after stability push.
1998-11-24 19:41:33 +00:00
karnaze%netscape.com
0a820f9aa3 fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com
e0c8813886 ifdef out some broken code in SetActiveLink until I have time to fix it. 1998-11-24 08:13:55 +00:00
joki%netscape.com
e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rickg%netscape.com
e0364847d4 fixed call to ToInteger() to respect the error code 1998-11-24 02:39:36 +00:00
rpotts%netscape.com
2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
karnaze%netscape.com
0e745ed3b7 <frame> now uses <base> for its src attribute 1998-11-24 02:01:45 +00:00
kipp%netscape.com
0292b4de4d made it easier to see if the parser is working 1998-11-24 01:48:04 +00:00
kipp%netscape.com
ef2ae0204f Made the test work again 1998-11-24 01:47:44 +00:00
kipp%netscape.com
b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
kipp%netscape.com
5a6b41b77b new regression test 1998-11-24 01:43:46 +00:00
kipp%netscape.com
c4b343a879 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's) 1998-11-24 00:11:54 +00:00
buster%netscape.com
ff561429bf changed the logic for reflowing cells whose height is changed due to a
height attribute.
1998-11-23 23:07:40 +00:00
vidur%netscape.com
8d134679bc Allow application/x-javascript for type in SCRIPT tags 1998-11-23 23:06:57 +00:00
kipp%netscape.com
2fb0e7ca92 Let style override the cursor choice when using an image map 1998-11-23 22:21:13 +00:00
kipp%netscape.com
7ce43732e5 Walk up the content-parent so that style is applied appropriately for cursor selection 1998-11-23 22:20:50 +00:00
kipp%netscape.com
ad84255162 Factored IsReplaced into a throw-away method; fixed containing-block discovery to use IsPercentageBase method 1998-11-23 21:11:57 +00:00
kipp%netscape.com
c6708dec6e Use correct reflow-state to find the containing-block's width for text-indent (bug #1048) 1998-11-23 21:11:19 +00:00
kipp%netscape.com
ac882d2ee0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
kipp%netscape.com
987a73cf0a Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events 1998-11-23 17:45:00 +00:00
karnaze%netscape.com
60510b81aa fixed bug 1479 (wsj.com crash) 1998-11-23 17:37:46 +00:00
kipp%netscape.com
fb1cee54da Added some debug noise (disabled by default) for image loading 1998-11-23 17:18:34 +00:00
troy%netscape.com
b8e18747a2 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00