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

1164 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com 01b9ef5140 IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
buster%netscape.com 35edf8df81 fixed table width problems when there are colspanning cells 1998-07-22 05:38:41 +00:00
troy%netscape.com 048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com 5e7cd10393 Changed clip operation to intersect 1998-07-22 04:49:09 +00:00
buster%netscape.com 878f3fa809 * reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
* fixed more margin code.  we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table).  See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table).  See nsTableFrame::GetEffectiveColSpan().  This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.
1998-07-22 03:53:43 +00:00
troy%netscape.com 789a2dbe45 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
troy%netscape.com 7bb9f01b93 Added support for displaying inset border and alt-text while loading
an image
1998-07-22 02:44:44 +00:00
karnaze%netscape.com fe8dc78f66 set attributes on <frame>, <frameset> layout 1998-07-21 23:20:04 +00:00
dcone%netscape.com 0615d2ac3d removed nsHTMLTags.cpp 1998-07-21 21:47:41 +00:00
kipp%netscape.com dd74c045ef Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
kipp%netscape.com 0f6c349aab include script directly 1998-07-21 16:44:09 +00:00
kipp%netscape.com 2f790c0a9a Get correct url to open for script src= 1998-07-21 16:43:48 +00:00
troy%netscape.com 25d601cd32 Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines
1998-07-21 09:30:03 +00:00
troy%netscape.com 4b6011fd11 Fixed it so tables that don't want a border don't get a border 1998-07-21 08:12:22 +00:00
troy%netscape.com 109b0e1a4d Commented out code that was forcing the border style to solid rather
than using whatever is in the default ua style sheet (inset)
1998-07-21 07:47:46 +00:00
troy%netscape.com f657a18800 Changed Paint() to use the parent frame's color style struct. We can't use our
color style struct because we're a pseudo frame and so the style system forces
us to have a transparent background
1998-07-20 23:58:00 +00:00
troy%netscape.com ebedcce239 Changed Paint() to render the background if there is one 1998-07-20 23:56:17 +00:00
troy%netscape.com 9e7943e565 Changed SetAttribute() to call nsTableTagContent base class version so that
processing of things like "style=" happens
1998-07-20 23:50:46 +00:00
troy%netscape.com 5172d53a31 Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
the bgcolor attribute is properly handled
1998-07-20 23:30:49 +00:00
dcone%netscape.com 34ed2634ed removed nsDomnodeiterator.cpp, nsHTMLTagContent.cpp 1998-07-20 20:52:14 +00:00
karnaze%netscape.com 381a7c28a9 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +00:00
troy%netscape.com 6fb2009eec Changed it so image frames don't have a view, and turned on transparent
images
1998-07-19 05:48:46 +00:00
kipp%netscape.com 3f326bc4da Pass title to web shell if we are wrapped in one 1998-07-19 01:14:53 +00:00
kipp%netscape.com 1476a300de Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com 39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com 8375f728af Added missing includes 1998-07-18 21:46:51 +00:00
kipp%netscape.com ac5be48a5a Added AddFloater method (not yet used) 1998-07-18 21:45:40 +00:00
kipp%netscape.com 353412c562 Find floaters after placing line so that floater list is kept up to date 1998-07-18 21:45:17 +00:00
kipp%netscape.com bcda4bfa7d Disabled selection noise with an ifdef 1998-07-18 21:44:11 +00:00
rods%netscape.com 5ebefdb03c made changes to selection for debugging 1998-07-18 18:19:41 +00:00
rods%netscape.com 85654e2b32 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +00:00
rods%netscape.com 54786e9833 made minor changes to selection 1998-07-18 18:18:20 +00:00
rods%netscape.com 5c972347e3 exported nsSelectionPoint.h 1998-07-18 18:17:08 +00:00
troy%netscape.com adf40001e6 Eliminated some unnecessary image rendering 1998-07-18 15:26:03 +00:00
rods%netscape.com f05c4a6bf9 turned off selection 1998-07-18 14:03:43 +00:00
kipp%netscape.com e0990f1890 Fixed crasher bug 1998-07-18 01:06:30 +00:00
kostello%netscape.com e7dee8f2f4 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
kipp%netscape.com d00cb81a0c Removed redundant DidReflow's 1998-07-17 21:50:43 +00:00
kipp%netscape.com 60665deb3d Implement dom access to the SRC attribute 1998-07-17 21:16:43 +00:00
kipp%netscape.com 999560e810 new 1998-07-17 21:16:18 +00:00
buster%netscape.com ef4c17cfab fixed a space leak/logic error handling colspans
added backwards compatibility for percent width tables inside of auto width tables (see http://webreview.com/wr/pub  warning:  you'll have to look at a local copy until
Troy/Vidur/somebody fixes an image problem.)
1998-07-17 21:02:28 +00:00
kipp%netscape.com 54a30ab850 Only break from next-in-flow when we have a next-in-flow 1998-07-17 18:14:23 +00:00
buster%netscape.com 516af96c36 fixed table maxElementSize 1998-07-17 17:51:55 +00:00
buster%netscape.com 43e2bfb777 we now allow empty rows 1998-07-17 17:51:43 +00:00
kipp%netscape.com 316e166f7b Don't create new frames when a continuation is being reflowed for the first time 1998-07-17 16:16:19 +00:00
rpotts%netscape.com 589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
rpotts%netscape.com 165211e3bb Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...nsHTMLDocument.h 1998-07-17 06:30:00 +00:00
peterl%netscape.com ed2c6d38a8 added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com af17e2c85b fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com f45d7bcdde fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com 418a441427 added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
peterl%netscape.com a65025d311 removed body & table default settings
changed heading sizes to absolute instead of length
removed form element font hacks
1998-07-17 05:45:22 +00:00
peterl%netscape.com adf94fdf7c better font support 1998-07-17 05:44:27 +00:00
peterl%netscape.com d2bf561219 added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
peterl%netscape.com 2122fae9c9 added default fixed pitch font & default colors 1998-07-17 05:41:41 +00:00
peterl%netscape.com a0fe56c7cd added fixed pitch font, added content pointer 1998-07-17 05:41:02 +00:00
joki%netscape.com db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
troy%netscape.com 43549900ba Added a #if 0 around the code to turn on transparent images 1998-07-17 04:41:35 +00:00
joki%netscape.com d7e6e4df20 Turning on scripts by default. This should just show an error or two
and not affect how pages show up.  If this proves not to be true we'll
turn it back off.  But it will help show where we are.
1998-07-17 04:38:47 +00:00
troy%netscape.com 20e203fb53 Sets the frame's view to indicate transparency if an image
associated with the frame is transparent
1998-07-17 03:43:46 +00:00
vidur%netscape.com e4c8079dac Rotation test revamped 1998-07-16 23:39:08 +00:00
kipp%netscape.com 2ef5aa2ece Implement paint method 1998-07-16 23:32:04 +00:00
kipp%netscape.com a8093e38e4 Size the placeholder differently when visually debugging; render it too: 1998-07-16 23:31:53 +00:00
kipp%netscape.com 9130b882c4 Tweaked assertions 1998-07-16 23:31:33 +00:00
kipp%netscape.com bdcc5349b1 Remove descent from BR 1998-07-16 23:31:08 +00:00
kipp%netscape.com ac9f0ebc3b Treat floating tables better; place below current line floaters BEFORE clearing over them for nav compatability 1998-07-16 23:30:49 +00:00
buster%netscape.com 1e57359168 ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
buster%netscape.com 51fe86ee79 fundemental overhaul of the BasicTableLayoutStrategy
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing
1998-07-16 23:23:31 +00:00
kipp%netscape.com 8a146ed86e Fix incremental reflow bug 1998-07-16 22:15:02 +00:00
vidur%netscape.com 847154c1e7 Fixed memory leak in the case where a view already exists for a frame 1998-07-16 21:36:25 +00:00
vidur%netscape.com 13174d69b8 Rotation test 1998-07-16 21:13:10 +00:00
karnaze%netscape.com d38ecde734 revised hack for input controls 1998-07-16 19:50:03 +00:00
karnaze%netscape.com a7e143ec46 removed hack for input, textarea 1998-07-16 19:48:37 +00:00
spider%netscape.com c7265362fc Remove broken-image.gif from install of Makefile. It was moved
to layout/html...
1998-07-16 18:44:32 +00:00
kipp%netscape.com 39fd8b6e99 Deal with lingering leaf content properly during append reflow 1998-07-16 18:19:53 +00:00
troy%netscape.com 0f8921d050 Fixed some more nsColor.h captitalization problems 1998-07-16 17:09:26 +00:00
kipp%netscape.com a030caaa7d Fixed include 1998-07-16 05:04:01 +00:00
troy%netscape.com 8a3882d546 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
troy%netscape.com a90f1b6cbd Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created
1998-07-16 02:32:08 +00:00
karnaze%netscape.com 3617f6230c initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp 1998-07-15 23:42:14 +00:00
rpotts%netscape.com 646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp%netscape.com 8f8e2e233f Updated to XPCOM'ized sink api 1998-07-15 22:31:10 +00:00
kipp%netscape.com 8432d360c2 Cleaned up exports list 1998-07-15 22:04:21 +00:00
kipp 8c6299af3d Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kipp 6c7df9225b Fixed HR style 1998-07-15 17:07:00 +00:00
kipp 4c2cb08763 Speed up doc loading by not reflowing after appending leaf elements (temporary hack) 1998-07-15 17:06:53 +00:00
kipp 658a22492a Indent tweak 1998-07-15 17:05:59 +00:00
kipp 302578583b Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly 1998-07-15 17:05:49 +00:00
troy a629312753 Some more changes of nsIPresContext* to nsIPresContext& 1998-07-15 17:05:21 +00:00
kmcclusk ebefc920fc Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines. 1998-07-15 17:04:56 +00:00
kipp 1183e898de Make bullets a bit smaller to look better 1998-07-15 17:04:30 +00:00
kostello 671a19cd9d Fix Unix build bustage 1998-07-15 16:54:29 +00:00
kipp 9f98bda93a Use GetStyleSize to get a better width; store away computed width so that paint code doesn't have to compute it 1998-07-15 16:49:07 +00:00
kipp 7b8a54834f Keep unconstrained flowing downward 1998-07-15 16:48:21 +00:00
troy afdf23392e Added an XXX to remind me to talk with Cujo about how we determine
whether the column widths have changed...
1998-07-15 04:52:32 +00:00
troy 21525a97ca Turned off some code that was accidently turned on 1998-07-15 04:46:51 +00:00
troy 88ad0371f3 Some improvements to the incremental reflow logic to handle all the
cases handled by resize reflow
1998-07-15 04:45:58 +00:00
troy d660868bc2 Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy 711c31863c Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy a90fe8e1de Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp e77c6fa9b2 Treat embed properly as a leaf; fixed typo with object tag 1998-07-15 00:49:26 +00:00
kipp fff0d2b60c Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +00:00
kipp 5ef073ab09 Rebased to use nsObjectContent to share common code 1998-07-15 00:48:39 +00:00
kipp 44dba2b2a1 new 1998-07-15 00:48:22 +00:00
kipp d94273ffcf Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp 0b21a9b759 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp 847827aa89 Handle null pointers better 1998-07-15 00:23:31 +00:00
kipp 87faf8d82c Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp 3b245bcbcd Added nsObjectFrame 1998-07-15 00:22:56 +00:00
kipp fdbc836e19 new 1998-07-15 00:22:30 +00:00
kipp 2edd02bae5 Handle applet, object and embed tags 1998-07-15 00:22:15 +00:00
kipp 4e2e0f5153 Use NS_NewObjectFrame 1998-07-15 00:21:51 +00:00
kipp d9b9fa893c added nsHTMLEmbed 1998-07-15 00:21:43 +00:00
kostello 213a328a93 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
karnaze 10c6b37bd2 made "get" the default for submission when method is omitted 1998-07-14 22:52:07 +00:00
kostello 33fd5ef97a 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
kostello f9fa8c6055 Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
kipp ca16578186 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp cbc1a1cdea new 1998-07-14 18:52:27 +00:00
vidur 1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
kipp e531368a89 Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp 4d399204ba Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code 1998-07-14 18:37:51 +00:00
troy 8fb033f617 Incremental reflow changes 1998-07-14 15:29:50 +00:00
kipp 2a54790f09 Handle null pointer bugs 1998-07-14 15:22:30 +00:00
kipp 59156541d0 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp 902d0b7a9a Commented out an unused variable 1998-07-14 15:21:50 +00:00
kipp ef9d89dd16 Removed MoveTo/SizeTo; added DidReflow and changed it so that on final placement the widget is made visible; during widget creation the widget is created hidden; updated hack font name to match ua.css 1998-07-14 15:21:36 +00:00
kipp c940e01855 Removed MoveTo/SizeTo and added DidReflow 1998-07-14 15:20:43 +00:00
kipp 7ab5d3ff06 Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp 7430059fdf Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame 1998-07-14 00:56:49 +00:00
kipp e51e484113 Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp 384602528f Revamp list handling so that the LI frame is placed differently then regular frames by the LI container 1998-07-14 00:55:28 +00:00
kipp 6272e27350 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp a5f9c0b814 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00
kipp 78d4f7fa5e Added code so that TR VALIGN's will dump properly when content is dumped 1998-07-13 21:16:51 +00:00
buster 6670b21c59 turned debug noise off 1998-07-13 20:44:07 +00:00
buster d00c767f83 for Nav compatibility, 0-width cells do not have insets 1998-07-13 20:41:38 +00:00
kipp 68ab2aa86e Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp 8ff38eadd5 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp 21059331cd Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp 2432218467 updated a few comments 1998-07-13 19:49:07 +00:00
buster 2eb1eecd14 added Nav4 compatibility code for 0-width cells 1998-07-13 19:22:45 +00:00
buster 5be37245a3 fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans
1998-07-13 18:11:12 +00:00
kipp a53b58f65f Reflow child when max-element-size is requested (this works around a purify detected crash) 1998-07-12 00:19:17 +00:00
kipp 53496bd65e Set max-element-size 1998-07-12 00:18:36 +00:00
kipp d48f1f528d Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
kipp 149a96f186 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
rpotts 9069d8ec06 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
troy 5d8fdf9dd8 Added back in some changes that got lost in the previous
check-in
1998-07-11 04:16:29 +00:00
kipp a2bec51709 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00