Commit Graph

1235 Commits

Author SHA1 Message Date
troy%netscape.com
62cb7b680b Added NS_FRAME_GENERATED_CONTENT 1999-04-05 03:44:07 +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
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
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
b3d54b4ca9 Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
mcmullen%netscape.com
c08fb50ed1 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match. In this case, a macro had been used that was in one of the obsolete files 'PRIVATE'. Replaced this by its value 'static' 1999-04-01 20:39:30 +00:00
kipp%netscape.com
7799a4ecc0 Reflow floater frames using the block reflow context 1999-04-01 01:37:36 +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
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
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
karnaze%netscape.com
461f082abd bug 3522 - crash when more <frame>, <frameset> specified than cells 1999-03-29 23:26:57 +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
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
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
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
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
peterl%netscape.com
32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
peterl%netscape.com
ea38299e52 added args to ReResolveStyle to capture style change info 1999-03-25 06:32:56 +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
kipp%netscape.com
eddd21fd73 Removed dependence on nsFrame (a no-no) 1999-03-24 15:40:44 +00:00
beard%netscape.com
ae08c8a9a9 added nsPluginInstanceOwner::GetDocument() 1999-03-24 05:42:22 +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
e70372a5cf Tweaked to handle unconstrained situations better 1999-03-22 20:47:21 +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
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
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
kin%netscape.com
a788e9d0a6 Fix for bug #3758: Drag selecting entire content, then deleting, causes crash.
Added check for mContentLength <= 0 to TextFrame::GetPointFromOffset().
Reviewed by jfrancis@netscape.com and sfraser@netscape.com.
Approved by chofmann@netscape.com.
1999-03-16 22:55:49 +00:00
kipp%netscape.com
9c705031c7 Only set ends-in-newline flag for pre text (bug #3262) 1999-03-16 19:36:49 +00:00
kipp%netscape.com
8e7baecb3e Handle removable of continued frames better (not 100% done) (bug #3262) 1999-03-16 19:36:24 +00:00
kipp%netscape.com
2916ad11f9 Fixed numerous frame removed bugs (bug #3262) 1999-03-16 19:36:00 +00:00
mjudge%netscape.com
c7ce92e475 I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this. 1999-03-16 00:08:38 +00:00
mjudge%netscape.com
dbe82d4fb3 fix hack for getting selection to "Really" update the frame 1999-03-14 01:18:47 +00:00
mjudge%netscape.com
f2625f7693 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
beard%netscape.com
07880ee6a5 reverted back to kISupportsIID. It seems not all compilers can handle ::nsISupports::GetIID() from inside an XPCOM interface. Yech. 1999-03-13 02:20:57 +00:00
beard%netscape.com
6722afc97e forcing nsISupports to global scope to resovle ambiguity (VC is very weak) 1999-03-13 00:12:13 +00:00
beard%netscape.com
e8f39af705 now passing events to plugins, generating idle events with an nsITimer, all XP_MAC changes for the most part. 1999-03-12 22:46:14 +00:00
mjudge%netscape.com
27a2f67b20 fixed GetWidth to "do the right thing" and take smallcaps and spaced words/chars into account. 1999-03-12 21:38:16 +00:00
mjudge%netscape.com
26d8cc3a13 fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
amusil%netscape.com
4cccceb77f Minor API change. Added support for tags that don't specify SRC or DATA params. 1999-03-11 22:50:58 +00:00
troy%netscape.com
e5223eb70a Patch from Bruce Mitchener (bruce@sybersight.com) that fixes incorrect
use of delete operator
1999-03-11 15:21:46 +00:00
troy%netscape.com
526ed6ddc5 Work-in-progress for min/max properties 1999-03-11 15:13:17 +00:00
ftang%netscape.com
e9631c3a4f fix mHasMultibyte hint problem when the first character of the *word* is not ASCII 1999-03-11 03:00:33 +00:00
troy%netscape.com
043b5700fb Work-in-progress for 'min' and 'max' properties 1999-03-11 01:23:10 +00:00
av%netscape.com
f01d0d4fa7 *** empty log message *** 1999-03-11 00:17:38 +00:00
akkana%netscape.com
a909698500 Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com 1999-03-10 22:30:23 +00:00
av%netscape.com
aaad99ca98 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
karnaze%netscape.com
0fa241fa22 bug 3407 1999-03-10 06:13:35 +00:00
troy%netscape.com
a4ccf253e0 Some more table pagination improvements 1999-03-09 22:34:51 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
troy%netscape.com
9f6584c6ca Made sure NS_FRAME_COMPLETE is always returned. This fixes an incremental
reflow problem
1999-03-09 05:11:14 +00:00
troy%netscape.com
9ff6fc0f22 Fixed it so that for incremental reflow commands the correct value is
passed for the available height
1999-03-09 05:01:59 +00:00
ftang%netscape.com
e7304df551 add katakana, hiragana, katakana-iroha, hiragana-iroha, lower-greek 1999-03-09 01:56:02 +00:00
kipp%netscape.com
661f7ec31b Implement GetFrameName 1999-03-08 19:26:45 +00:00
kipp%netscape.com
a1e087e138 setup more skid marks (disabled) 1999-03-08 19:26:30 +00:00
kipp%netscape.com
a01e9afce4 Added a skid mark (disabled) 1999-03-08 19:26:09 +00:00
kipp%netscape.com
652db948ce added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:18 +00:00
kipp%netscape.com
b645ac630b Copy out computed combined area even when dealing with an zero height block; added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:03 +00:00
kipp%netscape.com
69e626d5a3 Compute combined-area more sanely; handle another nasty top margin bug (1910) 1999-03-08 19:24:07 +00:00
kipp%netscape.com
ca18ac0959 Removed a duplicated method; moved by debug asserts into a central spot 1999-03-08 19:22:55 +00:00
kipp%netscape.com
bffbdd37e2 Fixed bug #2052 - don't adjust the height when its computed 1999-03-08 19:22:16 +00:00
warren%netscape.com
66b920f8d6 Fixed uninitialized variable problem. 1999-03-06 03:54:19 +00:00
troy%netscape.com
4733b6390e Changed Reflow() to use style info from the HTML reflow state 1999-03-06 03:30:25 +00:00
troy%netscape.com
5d77d78450 Removed some code that is no longer needed 1999-03-06 01:58:33 +00:00
troy%netscape.com
6247024d47 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:48:28 +00:00
troy%netscape.com
04243649ce Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
troy%netscape.com
c3afb0e9cf Removed some static functions that are no longer needed 1999-03-06 00:48:45 +00:00
troy%netscape.com
a1d1411076 Added ComputePadding() member function 1999-03-06 00:36:59 +00:00
troy%netscape.com
e3d132ed9c Added ComputeMargin() member function that takes the containing block width
as an argument. This is necessary for absolutely positioned elements which use
the padding edge and not the content edge for the containing block
1999-03-05 22:24:27 +00:00
troy%netscape.com
3710fb6246 Fixed containing block calculation for absolutely positioned elements. Now
uses padding edge and not the content edge
1999-03-05 21:26:49 +00:00
kipp%netscape.com
3c7c26029e Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues 1999-03-05 19:25:44 +00:00
kipp%netscape.com
fb7aed5151 Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
kipp%netscape.com
8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
kipp%netscape.com
50b6f2e62a Eliminate some compiler warnings 1999-03-05 04:28:54 +00:00
kipp%netscape.com
f9b2b82a67 Output rects in twips; eliminated some typo bugs with selection directions 1999-03-05 04:28:40 +00:00
kipp%netscape.com
d89499092d use new nsHTMLReflowState ctors; made pages support IsPercentageBase 1999-03-05 04:28:07 +00:00
kipp%netscape.com
462a9f99e0 Output rects in twips 1999-03-05 04:26:40 +00:00
kipp%netscape.com
d277629b94 use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state 1999-03-05 04:25:57 +00:00
kipp%netscape.com
37fa734c4e Revised computations for blocks; store more computed values 1999-03-05 04:24:20 +00:00
kipp%netscape.com
119ced3c4c Removed dead code; output rects naturally 1999-03-05 04:22:54 +00:00
kipp%netscape.com
d556e3e3cd Removed List method 1999-03-05 04:22:29 +00:00
kipp%netscape.com
16b4103937 Minor tweaks to work better with computed values in html reflow state 1999-03-05 04:22:11 +00:00
kipp%netscape.com
40529e4640 nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state 1999-03-05 04:21:32 +00:00
kipp%netscape.com
2f71be6002 Some asserts for me 1999-03-05 04:20:31 +00:00
kipp%netscape.com
9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
joki%netscape.com
57e49aab2a Fix for frames not resizing. 1999-03-03 01:59:50 +00:00
mjudge%netscape.com
cba888fc69 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
karnaze%netscape.com
e557234435 improved <iframe> sizing to consider left, right, etc borders 1999-03-03 00:37:55 +00:00
ftang%netscape.com
ffc1e146ac fix SmallCap to make it work for the whole range of unicode 1999-03-02 18:25:22 +00:00
alecf%netscape.com
532891b5da fix AIX bustage - explicitly refer to parent constructor even though it's within
the scope of this constructor..
1999-03-02 01:44:07 +00:00
vidur%netscape.com
cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
59afd8abfb Removed ifdef'd out code 1999-02-26 19:22:20 +00:00
alecf%netscape.com
2a71e76f16 BandRect needs to be public to be visible outside the class definition (HPUX bustage) 1999-02-26 17:36:00 +00:00
kipp%netscape.com
cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com
c0c382d3c0 Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame 1999-02-26 17:08:20 +00:00
kipp%netscape.com
99df251883 Support limited scaling of images on unix 1999-02-26 17:07:28 +00:00
kipp%netscape.com
5fca6839f0 Removed MoveOutOfFlow 1999-02-26 17:07:01 +00:00
kipp%netscape.com
c7fde5e17e Implement operator delete; get rid of static constructor 1999-02-26 17:05:20 +00:00
kipp%netscape.com
a8d4b57b12 Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code 1999-02-26 17:04:44 +00:00
kipp%netscape.com
d1fe3c6035 Removed global gLogModule 1999-02-26 16:59:57 +00:00
vidur%netscape.com
b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
brade%netscape.com
ec6584765a add "static" to GetFrameBorderHelper to reduce compiler warnings on Macintosh 1999-02-25 15:38:29 +00:00
troy%netscape.com
11c7f0375f Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set
1999-02-25 05:41:05 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
ftang%netscape.com
81894ce107 change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer 1999-02-24 18:21:23 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
kipp%netscape.com
50a388ca59 Fixed bug #2885 - the linebreaker couldn't handle a special case... 1999-02-24 05:24:06 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com
921f7d5d90 For now text acts like a replaced element 1999-02-23 19:35:21 +00:00
kipp%netscape.com
de667c2242 Removed gratuitous destructor 1999-02-23 19:34:58 +00:00
kipp%netscape.com
ee9d03abfa Improved vertical alignment correctness; fixed glaring error with box-width and height computation 1999-02-23 19:34:17 +00:00
kipp%netscape.com
2285d2368f Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations 1999-02-23 19:33:06 +00:00
kipp%netscape.com
6359d0f8d4 Revised the signature of the VerticalAlignFrames method 1999-02-23 19:32:20 +00:00
kipp%netscape.com
02b92b2a8e Compute minimum-line-height and store it into the inline-reflow context 1999-02-23 19:32:00 +00:00
vidur%netscape.com
a5024bec72 Fixed casing for nsCOMPtr inclusion 1999-02-23 19:22:53 +00:00
vidur%netscape.com
93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
karnaze%netscape.com
cc3251aeaf added assertion for null peeked frame pointer in Reflow. 1999-02-23 18:06:55 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
karnaze%netscape.com
009c914f35 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
ftang%netscape.com
59e3b5ce0e Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this. 1999-02-23 02:27:54 +00:00
mjudge%netscape.com
b13e4da265 Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge%netscape.com
7df9af9d91 adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +00:00
mjudge%netscape.com
eaf1a3cc93 gettig word jumping to work, adding GetPrevWord to texttransformer 1999-02-22 03:20:59 +00:00
troy%netscape.com
02403aa752 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells
1999-02-21 18:59:00 +00:00
mjudge%netscape.com
cee2723326 Shift click to continue selection 1999-02-21 01:23:40 +00:00
mjudge%netscape.com
fb3a597e8a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
mjudge%netscape.com
1afd545499 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard. 1999-02-19 00:21:22 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kipp%netscape.com
9b8e3b6bef removed usless includes 1999-02-18 22:23:52 +00:00
kipp%netscape.com
d5d5c4fd5e Added missing ctor/dtor 1999-02-18 22:23:36 +00:00
kipp%netscape.com
c972607d82 Process bullets better so that they are vertically aligned properly 1999-02-18 22:22:55 +00:00
kipp%netscape.com
44573facc6 Fixed bug #3161 - removed bogus assertion 1999-02-18 18:25:45 +00:00
troy%netscape.com
9748bc8839 Added support for 'width' and 'height' values of 'inherit' 1999-02-18 04:40:16 +00:00
kipp%netscape.com
9f5bab8779 Added methods for supporting 2 pass vertical align reflow 1999-02-18 03:28:00 +00:00
kipp%netscape.com
cea1fae3c5 Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren 1999-02-18 03:27:23 +00:00
kipp%netscape.com
7a4a4efc3d Removed a skid mark 1999-02-18 03:26:42 +00:00
kipp%netscape.com
76efa6ea05 Detect errors more often by prioritizing its status over size-available 1999-02-18 03:26:19 +00:00
kipp%netscape.com
7c15c2fc1d Removed GetAutoMarginSize; added VerticalAlignFrames 1999-02-18 03:25:23 +00:00
kipp%netscape.com
3245994287 Removed obsolete GetAutoMarginSize method 1999-02-18 03:19:02 +00:00
mjudge%netscape.com
90ade6856e fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
troy%netscape.com
eab91a0aa8 Fixed InitConstraints() to correctly compute the containing block height
for child elements of a scrolled element
1999-02-14 04:43:44 +00:00
troy%netscape.com
bf53f99087 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
kipp%netscape.com
fff7bf9929 Avoid using the trapezoid data when we have none (bug #1277) 1999-02-13 19:39:31 +00:00
kipp%netscape.com
7d24721c1b Be more careful about returning break-before status 1999-02-13 19:18:45 +00:00
troy%netscape.com
c928d3557c Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
troy%netscape.com
9fa8b62428 Added NS_FRAME_REPLACED_ELEMENT 1999-02-13 05:58:28 +00:00
sfraser%netscape.com
006010c385 Ensure the caret is refreshed after the text frame containing it is redrawn 1999-02-13 04:46:47 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
troy%netscape.com
fcbd2edc14 API change for pres shell 1999-02-12 18:22:08 +00:00
troy%netscape.com
ebfff565c5 Fixed build bustage 1999-02-12 18:18:34 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser%netscape.com
f220577393 #ifdef tbe blue selection triangles in until the caret code is turned on 1999-02-12 00:05:19 +00:00
sfraser%netscape.com
9ab69a922e Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
troy%netscape.com
46bf1f1ab5 Fix for bug #3089 1999-02-11 03:56:00 +00:00
mjudge%netscape.com
d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com
37614be21a Re-ordered DeleteFrame() code to fix a FMR 1999-02-10 18:12:24 +00:00
troy%netscape.com
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com
6953c4a7c8 Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft 1999-02-09 17:31:33 +00:00
kipp%netscape.com
982434a14f Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly 1999-02-09 17:31:14 +00:00
troy%netscape.com
9c158de393 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
troy%netscape.com
49923b7f83 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height
1999-02-09 05:09:39 +00:00
troy%netscape.com
9940ecee6e Fixed a silly error I introduced in the previous check-in 1999-02-09 05:01:11 +00:00
troy%netscape.com
1b384d0f08 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items
1999-02-09 04:31:09 +00:00
troy%netscape.com
aaff26f78e Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned
1999-02-09 04:05:21 +00:00