Commit Graph

6016 Commits

Author SHA1 Message Date
troy%netscape.com
62a6e8e1fe Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents


git-svn-id: svn://10.0.0.236/trunk@14754 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:48:13 +00:00
troy%netscape.com
75c8461a9c Added null pointer check in DidSetStyleContext(). This keeps us from crashing
on XML documents


git-svn-id: svn://10.0.0.236/trunk@14753 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:45:24 +00:00
troy%netscape.com
497e834006 Reinstated hack to have the placeholder frame forward the DidReflow() notification
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames


git-svn-id: svn://10.0.0.236/trunk@14737 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:33:21 +00:00
troy%netscape.com
62e0e3c71a Split class declaration out into a separate header file so the body frame
can be a derived class


git-svn-id: svn://10.0.0.236/trunk@14734 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 17:11:12 +00:00
buster%netscape.com
aeee0e2b41 irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.


git-svn-id: svn://10.0.0.236/trunk@14732 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:46:00 +00:00
vidur%netscape.com
b0070d4d60 First pass to allow HTML forms to be embedded inside XML documents.
git-svn-id: svn://10.0.0.236/trunk@14731 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:16:17 +00:00
kipp%netscape.com
1f8a32ffdb Removed extraneous bullet padding that was left-over from the pre-pseudo-style days
git-svn-id: svn://10.0.0.236/trunk@14690 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:17:05 +00:00
kipp%netscape.com
ab8a0f8a42 Attempt to compute max-element-size better
git-svn-id: svn://10.0.0.236/trunk@14689 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:44 +00:00
kipp%netscape.com
42ebf96e27 Tidy the max-element-size code
git-svn-id: svn://10.0.0.236/trunk@14688 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:25 +00:00
kipp%netscape.com
3dc450bf61 Cleaned up OL/UL margins
git-svn-id: svn://10.0.0.236/trunk@14687 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:00 +00:00
kipp%netscape.com
faa8c9c0eb Properly walk up the tree to find the real color
git-svn-id: svn://10.0.0.236/trunk@14684 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:20:52 +00:00
kipp%netscape.com
9f2054c505 Added some more null-pointer checking to DOM methods
git-svn-id: svn://10.0.0.236/trunk@14681 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:51:43 +00:00
kipp%netscape.com
4b86830d22 Fixed bug #1257: the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated
git-svn-id: svn://10.0.0.236/trunk@14680 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:27:50 +00:00
kipp%netscape.com
8e672b6551 Removed and unused member variable
git-svn-id: svn://10.0.0.236/trunk@14679 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:27:06 +00:00
kipp%netscape.com
6f7a324458 Fixed frame-removed crash case (when we run out kids); bug #691
git-svn-id: svn://10.0.0.236/trunk@14678 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:57:38 +00:00
kipp%netscape.com
9e3eceabae Basic support for :first-letter pseudo-elements
git-svn-id: svn://10.0.0.236/trunk@14676 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:01:26 +00:00
kipp%netscape.com
8c16e2eebc Eliminated NewFrame
git-svn-id: svn://10.0.0.236/trunk@14673 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:28:34 +00:00
kipp%netscape.com
db993de7c6 Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly
git-svn-id: svn://10.0.0.236/trunk@14672 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:28:11 +00:00
kipp%netscape.com
8a35c19883 Removed hacks that were mostly block-frame bug workarounds
git-svn-id: svn://10.0.0.236/trunk@14671 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:26:57 +00:00
kipp%netscape.com
5eac8852a3 DidReflow now supports multiple child lists; added DeleteFrameList helper method
git-svn-id: svn://10.0.0.236/trunk@14670 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:25:34 +00:00
michaelp%netscape.com
25149e78ea changes for pixel scaling/printing.
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +00:00
vidur%netscape.com
19d3032d70 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
git-svn-id: svn://10.0.0.236/trunk@14640 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:21:19 +00:00
joki%netscape.com
5f606a33e0 Modify cursor types from default to inherit (they're the same internally right now)
git-svn-id: svn://10.0.0.236/trunk@14637 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:00:03 +00:00
joki%netscape.com
0d29052c82 Modify cursor setting code to check css cursor setting for containers.
git-svn-id: svn://10.0.0.236/trunk@14636 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:58:52 +00:00
karnaze%netscape.com
44efd97f78 bug 1374 (hometown.aol.com crash on resize)
git-svn-id: svn://10.0.0.236/trunk@14635 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:44:50 +00:00
karnaze%netscape.com
d94c8fd321 bug 1226 for form control with native widgets. Other controls are still not working.
git-svn-id: svn://10.0.0.236/trunk@14634 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:13:42 +00:00
karnaze%netscape.com
65b6034ae6 bug 1357 involving a hidden control not getting submitted
git-svn-id: svn://10.0.0.236/trunk@14633 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:10:52 +00:00
vidur%netscape.com
ac22156a81 Generic HTML collection base class
git-svn-id: svn://10.0.0.236/trunk@14622 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:30:23 +00:00
troy%netscape.com
b33787056b Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287


git-svn-id: svn://10.0.0.236/trunk@14614 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:31:50 +00:00
troy%netscape.com
98bfa2a63c Added check for SRC being an empty string
git-svn-id: svn://10.0.0.236/trunk@14598 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 18:38:16 +00:00
troy%netscape.com
ae5da1b1b1 Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons


git-svn-id: svn://10.0.0.236/trunk@14596 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 17:00:54 +00:00
troy%netscape.com
b7fc0e639a Removed an assert that was incorrect and that triggered when print
previewing test1


git-svn-id: svn://10.0.0.236/trunk@14586 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 05:17:08 +00:00
rickg%netscape.com
a1a662c891 fixed a crash that someone missed
git-svn-id: svn://10.0.0.236/trunk@14585 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:58:35 +00:00
troy%netscape.com
e8b6cc2769 Added a scroll frame for print preview
git-svn-id: svn://10.0.0.236/trunk@14582 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:22:23 +00:00
troy%netscape.com
13ef91147a Cleaned up ConstructXMLRootFrame() and added some XXX comments
git-svn-id: svn://10.0.0.236/trunk@14581 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 03:43:15 +00:00
troy%netscape.com
fc79083fd3 Added ListTag() member function
git-svn-id: svn://10.0.0.236/trunk@14568 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:20:31 +00:00
vidur%netscape.com
64cb975c74 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML.
git-svn-id: svn://10.0.0.236/trunk@14554 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:55:47 +00:00
kipp%netscape.com
4e26047e39 Fixed a memory leak with text editing
git-svn-id: svn://10.0.0.236/trunk@14547 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:31:38 +00:00
troy%netscape.com
48a7503df3 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element


git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
joki%netscape.com
a9b12553ca DOM Support: nsHTMLDocument body property
git-svn-id: svn://10.0.0.236/trunk@14538 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:25:51 +00:00
kipp%netscape.com
4004ea6d2a Fixed margin collapsing bug
git-svn-id: svn://10.0.0.236/trunk@14537 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:24:46 +00:00
joki%netscape.com
2a777b6656 Fix bug where the DOM event bubbling process was overriding previous event status codes.
git-svn-id: svn://10.0.0.236/trunk@14529 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:35:27 +00:00
buster%netscape.com
ed61619f6b fixed a tiny bug in handling unexpected frames in a row
git-svn-id: svn://10.0.0.236/trunk@14521 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:04:41 +00:00
buster%netscape.com
839e25fcb5 rowgroup pseudo-frames for rows inserted directly into a table
git-svn-id: svn://10.0.0.236/trunk@14520 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:45:28 +00:00
alecf%netscape.com
8e0cfd8ffe fix for unix bustage
git-svn-id: svn://10.0.0.236/trunk@14519 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:27:31 +00:00
buster%netscape.com
eeaf9cbedd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...


git-svn-id: svn://10.0.0.236/trunk@14512 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:37:28 +00:00
kipp%netscape.com
71662f0d55 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases
git-svn-id: svn://10.0.0.236/trunk@14511 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:19:22 +00:00
kipp%netscape.com
0300e60d1f Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support
git-svn-id: svn://10.0.0.236/trunk@14507 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:32:56 +00:00
kipp%netscape.com
25b61d53b3 Support for display: compact
git-svn-id: svn://10.0.0.236/trunk@14506 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:32:19 +00:00
kipp%netscape.com
152ed9b709 Some support for first-letter style
git-svn-id: svn://10.0.0.236/trunk@14505 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:31:38 +00:00