Commit Graph

1887 Commits

Author SHA1 Message Date
kipp%netscape.com
0227e28077 Disable rendering during presentation tear down 1999-04-30 00:08:17 +00:00
mjudge%netscape.com
391dd39d84 m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon 1999-04-29 20:24:21 +00:00
kipp%netscape.com
fe6e59058f Fix crash bug #5621; we weren't pushing frames to the next-in-flow in all cases like we should 1999-04-29 00:16:44 +00:00
kipp%netscape.com
e83d736b28 Clear first-letter ok style at the right time 1999-04-29 00:16:09 +00:00
mjudge%netscape.com
e60293b6e6 fixing bugs for unnecessary drawing in text fram as well as other assorted selection bugs. 1999-04-28 02:43:02 +00:00
kipp%netscape.com
8dfb604de1 Removed some cruft 1999-04-28 00:19:28 +00:00
mjudge%netscape.com
a6a19b2656 fixing skippage of some frames during selection 1999-04-27 22:35:41 +00:00
kipp%netscape.com
5c6680e4b7 Use shared IID 1999-04-27 22:14:36 +00:00
kipp%netscape.com
39c56cdb27 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kipp%netscape.com
abc872974f Removed compiler warnings; dump more info out in List method 1999-04-27 22:13:42 +00:00
kipp%netscape.com
cd85b25744 tweaked 1999-04-27 22:13:06 +00:00
kipp%netscape.com
51f4880f08 Added WasDirty for debugging incremental reflow 1999-04-27 22:12:53 +00:00
kipp%netscape.com
7ed24336d5 Support first letter reflow 1999-04-27 22:12:37 +00:00
kipp%netscape.com
86a3c69102 Added NS_NewFirstLetterFrame 1999-04-27 22:12:22 +00:00
kipp%netscape.com
10dae08190 Removed lineFrame; added mozLetterFrame 1999-04-27 22:12:00 +00:00
kipp%netscape.com
0da5bdd171 Dump out next and style context pointers 1999-04-27 22:11:21 +00:00
kipp%netscape.com
9b854acf63 Added first letter support 1999-04-27 22:11:05 +00:00
kipp%netscape.com
791289f106 Support revised first-letter layout 1999-04-27 22:10:51 +00:00
kipp%netscape.com
19f8ed9f4d Added first-letter-frame to the build 1999-04-27 22:10:12 +00:00
kipp%netscape.com
8ef9bd0714 new 1999-04-27 22:05:02 +00:00
troy%netscape.com
1da7ecea54 Removed some code that wasn't needed and would leak any child frames
that were passed in
1999-04-27 20:24:27 +00:00
troy%netscape.com
c30c249a82 Removed a function that wasn't needed 1999-04-27 20:18:29 +00:00
kin%netscape.com
86a3f435a4 Fix from mjudge@netscape.com for bug #5505 (Crash clicking on throbber in apprunner) 1999-04-26 19:38:22 +00:00
mjudge%netscape.com
f302ca2537 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
troy%netscape.com
3b869d6014 Added code to check the placeholder's out-of-flow frame and see if it's
an absolutely positioned frame and not just assume it's a floater
1999-04-25 17:01:07 +00:00
troy%netscape.com
c7748fdf2c Changed FindFrameWithContent() to check for a frame type of "placeholderFrame"
and return the out-of-flow frame instead
1999-04-25 17:00:24 +00:00
troy%netscape.com
39e0aad7f0 Removed ContentChanged() and AttributeChanged() which are no longer need
now that GetPrimaryFrameFor() always returns the out-of-flow frame
1999-04-25 16:59:39 +00:00
troy%netscape.com
15e5859a59 Fixed a problem where CreateViewForFrame() was setting NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
all the time
1999-04-24 04:53:42 +00:00
amusil%netscape.com
a474d58cbc Added support for applets specified by the object tag (which use the "classid:java"
attribute instead of "code").
1999-04-23 22:52:10 +00:00
kipp%netscape.com
f1bdb8c076 Removed useless include 1999-04-23 20:01:49 +00:00
kipp%netscape.com
96c0fa0aa2 nit 1999-04-23 20:01:38 +00:00
kipp%netscape.com
53a3205060 Implement CancelReflowCommand; remove uselss root-frame resize in incremental reflow code 1999-04-23 20:01:20 +00:00
kipp%netscape.com
6a3daef83e Always init the image loader (fixes bug #5238); don't load images with zero set dimensions (bug #5381); cancel extraneous reflows to improve performance 1999-04-23 20:00:14 +00:00
kipp%netscape.com
470b830288 Added code to discard wasted size updates 1999-04-23 19:59:13 +00:00
rods%netscape.com
e2de00bcd4 Changed Copy code to use nsCOMPtr 1999-04-23 17:15:53 +00:00
mcafee%netscape.com
2c905d7de3 Removing nsSelectionMgr from the build 1999-04-23 16:50:17 +00:00
kipp%netscape.com
3ecd939521 Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout 1999-04-23 15:15:53 +00:00
troy%netscape.com
4466f403c7 Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow() 1999-04-23 14:34:48 +00:00
mcafee%netscape.com
8cdb907705 Removing NEW_CLIPBOARD_SUPPORT ifdef. 1999-04-22 07:03:14 +00:00
troy%netscape.com
12139f38ea Work-in-progress for relatively positioned inlines being containing blocks
for absolutely positioned child elements
1999-04-22 04:27:47 +00:00
kipp%netscape.com
fd29e5287a Fixed rendering bug with drawing poly areas during debug drawing 1999-04-22 03:40:38 +00:00
rickg%netscape.com
85e7dbb767 updates to sync with nsString2 api 1999-04-21 23:35:12 +00:00
amusil%netscape.com
9b3402e2e6 Fixed bug with flow of control - reflows after the first one no longer call
CantRenderDisplacedElement() when it's not supposed to.
1999-04-21 23:25:20 +00:00
troy%netscape.com
ef791ed27c Changed the handling for fixed backgrounds a little 1999-04-21 22:08:01 +00:00
troy%netscape.com
7e9a5af5f7 Changed CreateViewForFrame() so it takes into account fixed background
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
1999-04-21 21:27:50 +00:00
troy%netscape.com
8904ab319a Changed nsPositionedInlineFrame::Reflow() to compute the desired size
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element
1999-04-21 21:02:45 +00:00
kipp%netscape.com
fac60d4643 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp%netscape.com
116ecfb42a Added some (disabled) logging 1999-04-21 19:58:50 +00:00
kipp%netscape.com
065b96c776 Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully) 1999-04-21 19:58:38 +00:00
troy%netscape.com
2b65a0bc20 Changed nsPositionedInlineFrame code to handle incremental reflow 1999-04-21 04:37:13 +00:00
sspitzer%netscape.com
192e63fa70 fix UNIX build bustage. this won't build with -pendatic 1999-04-21 02:31:02 +00:00
kipp%netscape.com
e7d121e337 Fixed bug #5192 by growing the trapezoid buffer as needed 1999-04-20 23:08:03 +00:00
kipp%netscape.com
187be6b63f Tweaked FindLineContaining to return the index in the line where the frame is found 1999-04-20 21:52:22 +00:00
kipp%netscape.com
2970e96968 Removed debris 1999-04-20 21:51:56 +00:00
kipp%netscape.com
44f26158bb Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code 1999-04-20 21:51:39 +00:00
av%netscape.com
096226647f Turning on previous changes 1999-04-20 21:45:26 +00:00
av%netscape.com
7a990f37bf Added width and height attributes for images 1999-04-20 21:07:26 +00:00
troy%netscape.com
b952773b92 Added GetFrameType() member function 1999-04-20 19:11:37 +00:00
troy%netscape.com
1570eb63cb Moved blockFrame and inlineFrame atoms to nsLayoutAtoms 1999-04-20 18:22:47 +00:00
troy%netscape.com
0f73d45160 Change to atoms 1999-04-20 18:22:28 +00:00
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
troy%netscape.com
0e556164c5 Commented out code in GetAdditionalChildListName() that checked whether
there was a bullet and conditionally nsLayoutAtoms::bulletList because
that change broke absolute positioning (area frame depends on the index
numbers)
1999-04-20 05:03:29 +00:00
kipp%netscape.com
33e9707bbb Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this 1999-04-20 03:42:32 +00:00
kipp%netscape.com
5ccd9c28e6 Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp%netscape.com
55f7b6edca Make build work on mac 1999-04-20 01:49:51 +00:00
kipp%netscape.com
d1c19b975e Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s 1999-04-20 00:27:43 +00:00
kipp%netscape.com
747aed0e8c Switch to nsIPresContext*'s instead of nsIPresContext&'s 1999-04-20 00:27:08 +00:00
kipp%netscape.com
4e13edb1f1 removed dead comment info 1999-04-20 00:26:47 +00:00
kipp%netscape.com
85d4c50b17 Updated to new nsIHTMLReflow method signatures 1999-04-20 00:26:32 +00:00
kipp%netscape.com
39f3954168 Added lineFrame 1999-04-20 00:26:09 +00:00
kipp%netscape.com
31660cd5c2 Added NewFIrstLineFrame 1999-04-20 00:25:48 +00:00
kipp%netscape.com
799e9be55b Updated args to use ptrs instead of refs 1999-04-20 00:25:34 +00:00
kipp%netscape.com
04ad2a5b6f Added nsFirstLineFrame subclass; move class decl out to header file 1999-04-20 00:25:12 +00:00
kipp%netscape.com
138e73d3f2 Renamed header file 1999-04-20 00:24:32 +00:00
kipp%netscape.com
bfa935e427 Tweaked verify-reflow implementation 1999-04-20 00:24:21 +00:00
kipp%netscape.com
ba08510759 Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
kipp%netscape.com
9e94548447 nuked 1999-04-20 00:23:13 +00:00
kipp%netscape.com
13fa4dfe48 new 1999-04-20 00:23:05 +00:00
kipp%netscape.com
1e5bc6c757 Added first line support methods 1999-04-20 00:22:58 +00:00
peterl%netscape.com
5548b30fa8 sync to new state change api 1999-04-20 00:06:58 +00:00
troy%netscape.com
bfd8240682 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
rods%netscape.com
6a3ae34f17 Removed some D&D debug code 1999-04-17 13:54:00 +00:00
rods%netscape.com
c514b25e3b Switched over to new nsIGenericTransferable 1999-04-17 13:51:42 +00:00
troy%netscape.com
993b7ddc8d Change to InitAbsoluteConstraints() to fix bug #5154 1999-04-17 04:24:12 +00:00
mcafee%netscape.com
3dc8a10efc Removing //#define NEW_CLIPBOARD_SUPPORT 1999-04-16 17:36:33 +00:00
troy%netscape.com
a6fc950514 Files were renamed 1999-04-16 02:01:35 +00:00
troy%netscape.com
0c3b6ea2b6 Renamed filename because it was too long for the Mac 1999-04-16 01:42:51 +00:00
troy%netscape.com
a95e159cc5 Initial checkin 1999-04-16 01:39:45 +00:00
troy%netscape.com
9c0ed13c8c Initial check in 1999-04-16 01:39:34 +00:00
troy%netscape.com
5a7055806d New class nsAbsolutelyPositionedContainer 1999-04-16 00:08:59 +00:00
troy%netscape.com
cbe52134bc Initial checkin 1999-04-15 23:55:04 +00:00
peterl%netscape.com
fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
akkana%netscape.com
ac974362ad Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
av%netscape.com
c57d83a3c9 Fixing logic in Reflow for differrent objects. Still ifdefed out 1999-04-15 20:07:01 +00:00
joki%netscape.com
f9441b5b56 Commenting out selection flashing stuff. 1999-04-13 23:42:58 +00:00
joki%netscape.com
f6b9ad3e7e Fix blinking selection on mouseover 1999-04-13 23:34:58 +00:00
kipp%netscape.com
2c74cc715a Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis 1999-04-13 21:51:20 +00:00
kipp%netscape.com
fa95252534 Use revised image loading api 1999-04-13 21:51:00 +00:00
kipp%netscape.com
24ff6b20c1 Fixed a slight bug with handling error codes 1999-04-13 21:50:47 +00:00
kipp%netscape.com
bdc62f7dd6 new 1999-04-13 21:50:25 +00:00
kipp%netscape.com
3f4e33030c nuked 1999-04-13 21:50:13 +00:00
kipp%netscape.com
b3cd5aa101 Use revised image loading apis 1999-04-13 21:49:58 +00:00
kipp%netscape.com
81c9f5e866 Added new source files 1999-04-13 21:49:41 +00:00
joki%netscape.com
e4361b7994 Fix event handling on background areas of tags. 1999-04-13 21:29:08 +00:00
troy%netscape.com
56f6173819 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly
1999-04-13 02:55:54 +00:00
jdunn%netscape.com
66729caa47 Backing out my previous change, the AIX define is defined in CXXFLAGS when you
run configure.
1999-04-13 01:46:25 +00:00
sfraser%netscape.com
e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
troy%netscape.com
22912b419f Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()
1999-04-13 00:15:13 +00:00
troy%netscape.com
68629094d7 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy%netscape.com
03e8dd2540 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
troy%netscape.com
fb7134b00b Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead
1999-04-12 23:03:11 +00:00
kmcclusk%netscape.com
a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
joki%netscape.com
b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
jdunn%netscape.com
7af07e06fa ANSIC requires that structures need 'friend' status to access other structures
IF they are protected (or private).  fix for bug 4642
1999-04-12 20:12:15 +00:00
troy%netscape.com
238ac2da4a Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
troy%netscape.com
56b81ad01e Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets
1999-04-11 00:56:28 +00:00
kipp%netscape.com
4206c1a3b9 Fixed bug 4801 1999-04-10 17:32:46 +00:00
kipp%netscape.com
3b2b1ba2b2 Support clip property 1999-04-10 17:32:33 +00:00
kipp%netscape.com
c3502c77a3 Added SetClipRect helper method 1999-04-10 17:32:22 +00:00
kipp%netscape.com
b2a6cc42f1 Always init mMaxElementSize (bug 4836) - just in case 1999-04-10 17:32:04 +00:00
kipp%netscape.com
80ad2ee2bd Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed 1999-04-10 17:31:45 +00:00
kipp%netscape.com
78fbf43078 Expose trapezoids 1999-04-10 17:30:57 +00:00
kipp%netscape.com
bb1586620d Use block-band-data for debug output 1999-04-10 17:30:46 +00:00
amusil%netscape.com
49b390ae3d Fix for Bug# 4751. Added support for data param in addition to src param 1999-04-09 21:23:41 +00:00
troy%netscape.com
a4baddf3dc Fix for bug #4824. Added NULL pointer checks in GoToAnchor() 1999-04-09 04:28:15 +00:00
mjudge%netscape.com
fae945861f indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved 1999-04-07 22:56:09 +00:00
mcafee%netscape.com
616c553b24 Finishing clipboard ifdef so we can remove the old clipboard. 1999-04-07 03:56:07 +00:00
rods%netscape.com
e7d6ba8fd3 Commented out NEW_CLIPBOARD_SUPPORT 1999-04-07 01:38:49 +00:00
ftang%netscape.com
0af90f4741 fix the ignore 1 for 10 problem for cjk-ideographics style 1999-04-07 00:32:49 +00:00
rods%netscape.com
46393b489c Turning on new clipboard support 1999-04-06 23:05:59 +00:00
ftang%netscape.com
cb00111a4d add one boolean to indicate word break or line break 1999-04-06 22:41:44 +00:00
troy%netscape.com
8c0d3b76c9 Changed FindFrameWithContent() to ignore frames associated with
generated content
1999-04-06 04:29:31 +00:00
troy%netscape.com
634f3c9b44 Added a comment 1999-04-06 02:57:47 +00:00
troy%netscape.com
2e4146ad87 Removed DidReflow() code that's no longer needed now that the new compositor
allows child views to extend outside their parent view
1999-04-06 02:41:50 +00:00
av%netscape.com
77d2952691 Cleaning up 1999-04-06 01:16:53 +00:00
ftang%netscape.com
e31de78625 Re-org the file and put different number system into different function. Merge two characters list implementation . add hebrew/armenian/georgian/cjk-ideographics implementation. 1999-04-05 18:25:26 +00:00
troy%netscape.com
a01ec4ae35 Changed nsHTMLImageLoader::StartLoadImage() to just use mURLSpec as the
absolute URL if mBaseURL is NULL, and not call NS_MakeAbsoluteURL.
This fixes a crash
1999-04-04 05:56:23 +00:00
kipp%netscape.com
cd79fa3505 Set link handler so that style resolves properly for links around things like images 1999-04-03 21:54:32 +00:00
kipp%netscape.com
95756e85d5 Implement frame sliding during incremental reflow; fixed to not double factor in the delta-y 1999-04-03 21:54:00 +00:00
kipp%netscape.com
ce589ecd6e Reworked the state recovery logic for incremental reflow 1999-04-03 18:59:01 +00:00
kipp%netscape.com
46e3aa5c2a Removed some debris; added ComputeCollapsedTopMargin method 1999-04-03 18:58:32 +00:00
kipp%netscape.com
b693a7061b Made verifyreflow work again 1999-04-03 18:58:04 +00:00
kipp%netscape.com
40aded725e Removed some debris 1999-04-03 18:57:51 +00:00
kipp%netscape.com
f43163b5c4 Switch to a different (more accurate) BR handling hack... 1999-04-03 18:57:30 +00:00
sfraser%netscape.com
806972e747 Fix build bustage 1999-04-02 01:14:30 +00:00
sfraser%netscape.com
b3d54b4ca9 Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
sfraser%netscape.com
1b7bc2f98b Added a method to the pres shell to control enabling clients to turn the caret on and off. 1999-04-01 23:58:11 +00:00
rods%netscape.com
9e20dd4d27 Changed the clipboard support to use the new XIF Converter class and added more
error checking (this is all ifdef'ed at the moment)
1999-04-01 14:22:00 +00:00
kipp%netscape.com
7799a4ecc0 Reflow floater frames using the block reflow context 1999-04-01 01:37:36 +00:00
vidur%netscape.com
d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
sfraser%netscape.com
fa7a59405f Fix a problem with tab expansion when filling the offset indices array. 1999-03-31 20:12:42 +00:00
jdunn%netscape.com
4241b16ff7 Fix compiler error on AIX...
Can't have 'protected' structures, so for AIX make them public and then
make sure that the AIX is defined in the Makefile.in
1999-03-31 04:21:53 +00:00
kipp%netscape.com
7829c0b04c Support MOZ_PRE_WRAP 1999-03-31 04:12:46 +00:00
kipp%netscape.com
94ac1b47ff Removed dead methods; made ComputeHorizontalValue and ComputeVerticalValue instance methods instead of static methods 1999-03-31 04:12:09 +00:00
kipp%netscape.com
a489ce58b2 Removed some dead code; Added support for eStyleUnit_Chars for width values 1999-03-31 04:11:40 +00:00
kipp%netscape.com
e1c16654f6 Removed some dead code 1999-03-31 04:11:02 +00:00
kipp%netscape.com
bdbcc0f971 Removed compact margin hackery 1999-03-31 04:10:51 +00:00
kipp%netscape.com
4853eb9e57 Removed unsupported css2 'compact' support ; fixed bug #2013 with floater placement 1999-03-31 04:10:27 +00:00
troy%netscape.com
f2c7daae70 Moved beforePseudo and afterpseudo to nsCSSAtoms 1999-03-30 00:47:42 +00:00
kipp%netscape.com
6bffe03233 Select size of builtin arrays by platform (sigh); remove some cruft; added in support for debugging memory leaks and reducing initialization time 1999-03-29 23:46:34 +00:00
kipp%netscape.com
33027c97cb Removed some cruft 1999-03-29 23:45:49 +00:00
kipp%netscape.com
ce880c5ca9 Collapse margins away for html paragraphs (bug #2589 and #2291); add is-html-paragraph method 1999-03-29 23:45:36 +00:00
kipp%netscape.com
60a2733104 Removed cruft; added IsHTMLParagraph method 1999-03-29 23:44:59 +00:00
kipp%netscape.com
c5e839c1a3 Use shared is-html-paragraph method; fixed handling of floater widths for bug #2949 1999-03-29 23:44:45 +00:00
amusil%netscape.com
389230902c Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
akkana%netscape.com
32b54070f7 Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed 1999-03-29 22:02:16 +00:00
kipp%netscape.com
a3f9f319ef Fixed bug #4133 by not providing negative margin values for tables that are too wide 1999-03-29 04:17:23 +00:00
troy%netscape.com
325b563f8e Changed ComputeWordFragmentWidth() to handle the case where the content
object's document pointer is NULL
1999-03-29 04:15:07 +00:00
troy%netscape.com
595d17ecf3 Added beforePseudo and afterPseudo atoms 1999-03-29 03:30:34 +00:00
joki%netscape.com
1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy%netscape.com
545fe075ff Partial fix for bug #4315. Changed scroll frame to set view visibility to
hide if the frame should not be displayed
1999-03-27 18:21:54 +00:00
warren%netscape.com
fb91ab1cfe PR_FALSE is not nsnull! 1999-03-27 02:56:52 +00:00
kipp%netscape.com
90bc4551ea Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
kipp%netscape.com
d234006d93 Eliminate speculative-top-margin cruft; use new block reflow context API 1999-03-27 01:23:30 +00:00
kipp%netscape.com
d139155dc4 Removed carried out top margin 1999-03-27 01:23:06 +00:00
kipp%netscape.com
318ec8ec90 Moved vertical margin application into here; implement top-margin collapsing logic 1999-03-27 01:22:45 +00:00
kipp%netscape.com
0b54ff5195 Reworked vertical margin handling; fixed some issues with floater placement and clearing and block element clearing (bugs #1080, #1808, ... 1999-03-27 01:22:14 +00:00
kipp%netscape.com
b1b830e9e8 Added methods to support pre-collapsing of top-margins; expose class-id for nsBlockReflowContext code 1999-03-27 01:21:21 +00:00
kipp%netscape.com
4bec7a8874 Translate trapezoid into proper coordinate system 1999-03-27 01:20:46 +00:00
av%netscape.com
1319e66d48 Image recognition by file extension for object tag 1999-03-27 01:00:02 +00:00
mjudge%netscape.com
48fad89b7b fixing errors with pre spaced text. prepareunicode string was not filling the index array correctly for thatn 1999-03-27 00:18:32 +00:00
rods%netscape.com
e0fd185fb8 Change DoCopy for new clipboard support to put XIF on clipboard 1999-03-26 15:51:07 +00:00
troy%netscape.com
f9fe73a16f Fix for bug #2592. Changed ComputeMargin() and ComputePadding() to handle
'inherit' when calculating the computed values
1999-03-26 03:57:46 +00:00
kipp%netscape.com
9a7fc8e883 Use raw trapezoid data to solve issues of floaters with margins (bug #2024) 1999-03-26 01:59:13 +00:00
ftang%netscape.com
095fc7a1f7 correct katakan/hiragana/katakana-iroha/hiragana-iroha list after reviewed by momoi. Add implementation for NS_STYLE_LIST_STYLE_DECIMAL_LEADING_ZERO. 1999-03-26 01:37:27 +00:00
kipp%netscape.com
94b81992a1 Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp%netscape.com
01859e49b2 Undo partial fix for 3882 since its a bad fix 1999-03-26 00:40:37 +00:00
kipp%netscape.com
11af29c9c0 Added rendering layer defines 1999-03-26 00:40:06 +00:00
kipp%netscape.com
60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
kipp%netscape.com
d6f3145b96 Fixed bugs #1277, #2007 and #1517 and #1918; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations 1999-03-26 00:39:04 +00:00
kipp%netscape.com
c6a9c511fd Init mFloaters 1999-03-26 00:37:32 +00:00
kipp%netscape.com
1e610c3cac Fixed bug #4112 1999-03-26 00:37:22 +00:00
mcafee%netscape.com
2813616d59 Renamed GetTransferable() to GetData() 1999-03-25 23:39:03 +00:00
briano%netscape.com
2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
peterl%netscape.com
32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp%netscape.com
311978ea67 Support (ever so slightly better) anonymous block reflow by returning a zero sized inline frame when wrapping an anonymous block - partial fix for bug #3882 1999-03-25 03:50:34 +00:00
kipp%netscape.com
ed598f390e Made margin carried outs per-line-layout instead of per-frame 1999-03-25 03:49:47 +00:00
kipp%netscape.com
b71670884c Fixed a bug that prevented text-indent from working next to floaters; support moz-right and moz-center text-align values 1999-03-25 03:49:29 +00:00
kipp%netscape.com
58160fc0ba Support compatability center/right align values for nav4 support 1999-03-25 03:48:51 +00:00
kipp%netscape.com
d236769995 Fixed up area frame sizing calculations to properly compute the final height 1999-03-25 03:48:30 +00:00
jdunn%netscape.com
93e4488a2d backing out changes, because the tree was closed - doh 1999-03-24 21:55:53 +00:00
jdunn%netscape.com
20ab1b737f Fixed compiler error on AIX. The xlC compiler does not handle protected
structures correctly so for AIX, we make the structures public.

approved by kipp@netscape.com
1999-03-24 21:43:34 +00:00
kipp%netscape.com
61d0494cbd Corrected some of the warning messages to reduce false alarms 1999-03-24 15:42:38 +00:00
kipp%netscape.com
4985587cca Fixed up floater combined area calculations 1999-03-24 15:42:19 +00:00
kipp%netscape.com
0667c4e9c1 Tweaked the line-breaking logic so that certain floater situations don't trigger crashes 1999-03-24 15:41:49 +00:00
kipp%netscape.com
8aa0b45390 De-inlined some methods (temporary) and added CanPlaceFloaterNow 1999-03-24 15:41:17 +00:00
mcafee%netscape.com
1abf0a76b3 Initializing some variables, protecting against null dereferences for new cut & paste platforms (gtk). 1999-03-24 09:06:37 +00:00
beard%netscape.com
ae08c8a9a9 added nsPluginInstanceOwner::GetDocument() 1999-03-24 05:42:22 +00:00
rods%netscape.com
210717718e Added new clipboard support, it is ifdef'ed out in the DoCopy method 1999-03-23 21:32:48 +00:00
pierre%netscape.com
2698e004ed Backed out my previous changes because of performance degradation in deeply nested tables. Will increase the stack size in Mac applications instead. 1999-03-23 20:35:38 +00:00
pierre%netscape.com
df7afeebfd fixed #3899 "Raptor doesn't jam": in nsBlockFrame::Reflow, allocated a 4Kb nsLineLayout in the heap rather than on the stack 1999-03-23 08:24:01 +00:00
kipp%netscape.com
98c93b75af Compute floater combined area properly; reflow floaters when placed including below-current-line floaters 1999-03-23 04:28:20 +00:00
kipp%netscape.com
a8cf737ef9 Redid ReflowFloater api 1999-03-23 04:25:20 +00:00
kipp%netscape.com
58e8fa0a32 Use combined-area to compute the final height of the area frame 1999-03-23 04:25:03 +00:00
amusil%netscape.com
c917a07581 Added prelim code for ActiveX support. 1999-03-23 03:18:55 +00:00
kipp%netscape.com
023a09d80b Handle both left or right floaters impacting a line; fixed assert to be more accurate 1999-03-23 01:33:36 +00:00
kipp%netscape.com
e77334dd29 Simply floater counters; handle case of a single occupied trapezoid 1999-03-23 01:32:55 +00:00
kipp%netscape.com
d2f571fe47 Simply floater counters 1999-03-23 01:32:36 +00:00
kipp%netscape.com
08b9617ac3 Improve max-element-size computations and diagnostics 1999-03-22 23:03:31 +00:00
kipp%netscape.com
2efcbb86f5 More cleanup of the combined-area computations; make sure we render every line when we have outside children; fixed up max-element-size computations to not double count floaters 1999-03-22 22:42:30 +00:00
kipp%netscape.com
0c0dc2ebd7 Added GetDepth debug method 1999-03-22 22:41:09 +00:00
kipp%netscape.com
468a9d8bbe Cleaned up combined area calculations 1999-03-22 20:46:09 +00:00
kipp%netscape.com
524580850c Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
kipp%netscape.com
bee4a28ce9 Made state that is really per-span state part of PerSpanData to fix some reflow bugs 1999-03-22 20:45:09 +00:00
beard%netscape.com
4943b7bdb4 added CancelTimer() method to turn off the timer at a safe time; added NS_GetObjectFramePluginInstance() to access the associated plugin instance with an nsObjectFrame; fixed some attribute accessor bugs, returns an error if an attribute doesn't exist; implemented GetArchive() and GetMayScript(); added GUItoMacEvent(). 1999-03-21 20:48:31 +00:00
kipp%netscape.com
84ec5e1b82 Support redo-reflow for lines to handle reflow around large floaters 1999-03-21 01:15:12 +00:00
kipp%netscape.com
80d3e71a85 Reworked CanPlaceFrame logic to be slightly more efficient and to handle breaking around floaters differently to conform to CSS 1999-03-21 01:14:43 +00:00
kipp%netscape.com
4778479a9b Added state to keep track of lines that are impacted by floaters 1999-03-21 01:14:05 +00:00
kipp%netscape.com
75735878ad Ask line if we are breakable instead of using our own logic 1999-03-21 01:13:17 +00:00
beard%netscape.com
dbf2668a93 put in NULL checks for mInstance. 1999-03-20 23:13:41 +00:00
kipp%netscape.com
3ae10336ff Use CRAZY macros for debug noise 1999-03-20 21:57:03 +00:00
kipp%netscape.com
e6aec1bda4 Added crazy macros 1999-03-20 21:56:11 +00:00
kipp%netscape.com
c025d190db switch to using CRAZY macros 1999-03-20 21:55:59 +00:00
kipp%netscape.com
de3a0d8646 Removed some cruft 1999-03-20 21:55:37 +00:00
kipp%netscape.com
503c59ff13 Fixed a bug with zero height spans and combined area calculations that led to tall vertical scrollbars...; also switch to using CRAZY macros 1999-03-20 21:55:22 +00:00
kipp%netscape.com
f8044caeaa Reworked the way that the final metrics are computed; support min/max width/height; track max-element-size issues better; disabled compact frame handling 1999-03-20 19:40:13 +00:00
kipp%netscape.com
d498839da8 Fixed a typo bug 1999-03-20 19:39:08 +00:00
kipp%netscape.com
1564a15bba Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
vidur%netscape.com
695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
kipp%netscape.com
e783e42229 Fixed centering of list bullets (bug #4040) 1999-03-20 01:37:43 +00:00
kipp%netscape.com
bc13a8339b Removed some debris 1999-03-19 23:07:38 +00:00
kipp%netscape.com
06e27bfd9d Added more bad-frame detection; fixed a purify caught bug 1999-03-19 23:07:17 +00:00
kipp%netscape.com
16b2389012 bye 1999-03-19 23:06:55 +00:00
kipp%netscape.com
9d713ce73b Eliminate some purify warnings 1999-03-19 23:06:42 +00:00
kipp%netscape.com
f24e15031a Added more bad-frame detection 1999-03-19 23:06:20 +00:00
kipp%netscape.com
521d0a1247 Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589 1999-03-19 23:05:56 +00:00
mcafee%netscape.com
e777f67702 Uninitialized variable. 1999-03-19 00:20:02 +00:00
av%netscape.com
c593e9bc2a M3 -- Fix for bug #1157 1999-03-18 21:26:15 +00:00
kipp%netscape.com
c9067260be Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
kipp%netscape.com
a98c3d799b Fixed bug #3918 with measuring small-caps text; ported to use new line-layout API's 1999-03-18 21:02:40 +00:00