Commit Graph

1443 Commits

Author SHA1 Message Date
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
waterson%netscape.com
4d00f764eb Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back. 1999-02-09 00:26:50 +00:00
troy%netscape.com
a9bb13d5cc Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative
1999-02-09 00:15:43 +00:00
kipp%netscape.com
c4826d0a7e Tweak regression data output 1999-02-08 17:56:23 +00:00
kipp%netscape.com
d83b6d14ee Revamp regression data dumping 1999-02-08 17:56:00 +00:00
troy%netscape.com
12bfda4069 Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge
1999-02-08 00:32:02 +00:00
troy%netscape.com
c0d9d4be04 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com
c30862656d Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy%netscape.com
b3b5969d0f #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
joki%netscape.com
7a1bff7611 Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression. 1999-02-06 02:07:49 +00:00
troy%netscape.com
b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com
66fdbcd9b3 Made sure computedOffsets is initialized to all zeros for the root frame 1999-02-05 05:51:12 +00:00
peterl%netscape.com
28a6de7ff5 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
troy%netscape.com
110c517be1 Removed #include of header files that weren't actually needed 1999-02-05 01:54:58 +00:00
harishd%netscape.com
ddb2a5d1e3 Made HR tags more stylable 1999-02-04 23:10:21 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com
6a87389b62 nuked 1999-02-04 16:29:25 +00:00
kipp%netscape.com
752de3f766 tweak so font-lock in emacs works better 1999-02-04 16:28:36 +00:00
kipp%netscape.com
2a44cdd816 Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings 1999-02-04 16:27:18 +00:00
troy%netscape.com
1dcaa305b6 Fix for bug #2867. Removed the questionable logic I added previously. 1999-02-04 00:43:49 +00:00
vidur%netscape.com
b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
kipp%netscape.com
8f64c7a3ef Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames 1999-02-03 19:12:02 +00:00
kipp%netscape.com
a0b694c5b8 Added List method 1999-02-03 19:10:26 +00:00
kipp%netscape.com
67741b5e3c Removed a couple of warnings 1999-02-03 19:10:03 +00:00
kipp%netscape.com
d77e41c463 Removed some unused variables 1999-02-03 19:09:37 +00:00
kipp%netscape.com
66115d3c10 Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations 1999-02-03 19:09:24 +00:00
troy%netscape.com
5238d0c73f Improvements to fixed positioning 1999-02-03 17:01:51 +00:00
troy%netscape.com
15e7a9f342 Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
whether the vertical scrollbar is currently showing
1999-02-03 04:30:57 +00:00
troy%netscape.com
c4b2263dbf Fixed it to so the root-frame isn't considered a containing block, and
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'
1999-02-03 01:31:09 +00:00
kipp%netscape.com
008d7e5acf nuked 1999-02-02 19:39:06 +00:00
kipp%netscape.com
24f144460b Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case 1999-02-02 17:32:09 +00:00
kipp%netscape.com
6e9110cb4c Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved 1999-02-02 17:31:36 +00:00
kipp%netscape.com
361ca345fb Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children 1999-02-02 17:31:09 +00:00
mjudge%netscape.com
ceb08a0190 scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge%netscape.com
cd2d3d137c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
kipp%netscape.com
c529fc11be Fixed invocation bug that mac compiler caught 1999-02-01 19:08:30 +00:00
troy%netscape.com
f1c963f7b5 Made sure that fixed positioned elements gets a widget 1999-02-01 18:36:23 +00:00
kipp%netscape.com
42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
kipp%netscape.com
b23b120a19 Implement TreatFrameAsBlock 1999-02-01 17:32:49 +00:00
kipp%netscape.com
12322a8a10 Added another TreatFrameAsBlock method 1999-02-01 17:32:33 +00:00
kipp%netscape.com
e6c0c373a9 Updated a comment 1999-02-01 17:32:19 +00:00
kipp%netscape.com
a548c870f8 Minor bug fixing; reworked PullFrame; added VerifyParent 1999-02-01 17:32:05 +00:00
kipp%netscape.com
ddc318eee2 Added some comments :-) 1999-02-01 17:31:37 +00:00
kipp%netscape.com
c2a13558a4 Removed ReplaceFrame 1999-02-01 17:31:21 +00:00
kipp%netscape.com
0887e5eedf Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
kipp%netscape.com
bcca9bcff4 Fixed up debug output 1999-02-01 17:29:58 +00:00
kipp%netscape.com
50b6da75a7 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion 1999-02-01 17:29:37 +00:00
kipp%netscape.com
859dde6287 Renamed InsertNewFrame->s; defined nsAnonymousBlock class 1999-02-01 17:28:39 +00:00
kipp%netscape.com
7e4600613e Rewritten to use an anon. block frame to manage block children 1999-02-01 17:27:56 +00:00
troy%netscape.com
acbe598a4f Fixed logic that determines whether there's currently a visible vertical
scrollbar
1999-02-01 16:32:54 +00:00
troy%netscape.com
f987894585 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
troy%netscape.com
25be57b96c Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com
7c0d5680c3 Changed ReflowFixedFrame() to take the computed left and top margin into
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com
051df63e8f Added code to force an absolutely positioned child that ignored its
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com
5cd1cbadbf Added code to make sure that a fixed child frame ends up with the correct height
evebn if it disregards the computed height value
1999-01-30 17:39:29 +00:00
karnaze%netscape.com
6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
troy%netscape.com
f2d3dd631e Fixed leak of nsIHTMLDocument interface in GetImageMap() 1999-01-30 01:04:35 +00:00
troy%netscape.com
bb2686580f Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
akkana%netscape.com
eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com
01b9469528 Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed
1999-01-29 04:29:10 +00:00
troy%netscape.com
78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
troy%netscape.com
1741d8cae3 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com
2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
mjudge%netscape.com
bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com
5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
amusil%netscape.com
43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
mjudge%netscape.com
110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
troy%netscape.com
b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
peterl%netscape.com
62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
peterl%netscape.com
1d4db24d11 added HTTP header atoms 1999-01-23 07:02:56 +00:00
troy%netscape.com
b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com
0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com
efc7c95a53 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com
56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com
eab0e22fa7 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com
626cdf9ca8 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com
86da618186 Stylecontext is passed to PaintBorder() 1999-01-22 22:28:12 +00:00
harishd%netscape.com
11e90148bb PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com
d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com
7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com
317d0d7c4e Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
mjudge%netscape.com
ee295b609b selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge%netscape.com
769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
troy%netscape.com
3bd7fc220f Added XXX comment for ReResolveStyleContext() 1999-01-22 18:23:06 +00:00
rods%netscape.com
1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
rods%netscape.com
b7e36c8bcd Added some additional attoms for the Combobox Frame Control 1999-01-22 15:25:12 +00:00
rods%netscape.com
4b464ba323 Removed the class def and put it in a new header nsScrollFrame.h 1999-01-22 15:23:51 +00:00
rods%netscape.com
1b7ed67e2d Initial checkin the code was in nsScrollFrame.cpp 1999-01-22 15:23:15 +00:00
troy%netscape.com
a1161339c0 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy%netscape.com
41250f6f85 Made handling of absolutely positioned child frames more efficient 1999-01-22 00:30:27 +00:00
troy%netscape.com
0f8e34e2e2 Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain
1999-01-20 05:11:17 +00:00
troy%netscape.com
4dd1d39c67 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com
174494f84c Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
mjudge%netscape.com
d52a50ae45 fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
mjudge%netscape.com
dd0328320e selection should work now more or less 1999-01-19 06:42:39 +00:00
troy%netscape.com
36158ba506 Changed it so the DidReflow() temporary hack doesn't apply to scrolled
frames
1999-01-19 06:00:08 +00:00
troy%netscape.com
ac82f1774c Fixed it so computedHeight is correctly computed 1999-01-19 05:59:24 +00:00
troy%netscape.com
aebbda5000 Minor cleanup 1999-01-19 05:18:26 +00:00
troy%netscape.com
0c55cb8b0e Part of the fix for bug #2485 1999-01-19 05:17:39 +00:00
mjudge%netscape.com
34430366b2 Files for selection across frames. 1999-01-18 22:57:12 +00:00
troy%netscape.com
48365eb8a1 Changed to position absolute child elements relative to the padding edge not the
border edge
1999-01-18 19:30:42 +00:00
troy%netscape.com
a855ea42a4 Improvements to absolute positioning code 1999-01-18 17:27:27 +00:00
troy%netscape.com
3af8d238b7 Initial check-in 1999-01-18 17:26:49 +00:00
troy%netscape.com
685b7256a3 Fix for bug #2450; 'padding' wasn't getting handled properly 1999-01-18 00:48:59 +00:00
troy%netscape.com
e805654323 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
troy%netscape.com
7103b076b4 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
hyatt%netscape.com
ab7046faba Added code to support CLSID instantiation. Approved by amusil and av. 1999-01-16 02:43:51 +00:00
kipp%netscape.com
418cd0251c Removed List code now that base class dumps all child lists 1999-01-16 00:19:30 +00:00
kipp%netscape.com
10f24c7ebf Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically 1999-01-16 00:19:10 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
troy%netscape.com
e075d4bfbc Fixed an assert that was getting hit for absolutely positioned elements 1999-01-15 04:28:17 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
kipp%netscape.com
a1c6f729a4 Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame 1999-01-15 01:29:15 +00:00
kipp%netscape.com
173b41fc39 Added nsFrameList to the build 1999-01-15 01:28:46 +00:00
kipp%netscape.com
5c160586ce new 1999-01-15 01:28:07 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
f332dc3305 Re-committing my fucking changes... 1999-01-13 00:38:29 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com
72f689c40f Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release
1999-01-12 23:17:20 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com
3c5005ec2d Clean up block frame flags 1999-01-12 16:41:30 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
troy%netscape.com
4f14253e33 Turned off assert 1999-01-09 01:43:02 +00:00
kipp%netscape.com
10a89709d7 new 1999-01-09 00:18:08 +00:00
kipp%netscape.com
75891f558f nuked 1999-01-09 00:14:17 +00:00
kipp%netscape.com
4fb3f00732 Removed a turd 1999-01-09 00:14:09 +00:00
kipp%netscape.com
d1dd0f55bd Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map 1999-01-09 00:13:53 +00:00
kipp%netscape.com
19e73d1f62 Use nsImageMap 1999-01-09 00:13:19 +00:00
kipp%netscape.com
b8a8b7e309 Changed over to using nsImageMap instead of nsIImageMap 1999-01-09 00:12:49 +00:00
kipp%netscape.com
4cbb066ec7 Added new atom 1999-01-09 00:12:28 +00:00
karnaze%netscape.com
c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com
6d753e4c78 Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame
1999-01-07 05:46:26 +00:00
troy%netscape.com
b9a4ba7918 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
karnaze%netscape.com
c111662c1f Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
brade%netscape.com
2ad8ae0483 reduce Macintosh compiler warnings byadding prototype 1999-01-06 18:52:58 +00:00
troy%netscape.com
9ceceead01 This time I think I got 'em in alphabetical order... 1999-01-06 04:41:47 +00:00
troy%netscape.com
67c86e0b0b Did a better job of alphabetizing the source files 1999-01-06 04:39:33 +00:00
troy%netscape.com
dbc6ce7c5c Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp 1999-01-06 03:46:55 +00:00
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
844a41c615 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
kipp%netscape.com
50b331f35c Reinstated the last set of checkins that were backed out 1999-01-05 23:01:54 +00:00
troy%netscape.com
a423353676 Initial check-in 1999-01-05 19:44:41 +00:00
donm%netscape.com
9b2666a111 backing out changes against a long red tree. would like to clear
the hook.  -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e29f665a91 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct 1999-01-05 17:50:41 +00:00
kipp%netscape.com
3a981f0215 Removed aPrevSibling from DoRemoveFrame's arg list 1999-01-05 17:49:44 +00:00
amusil%netscape.com
0adb3694fe Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
troy%netscape.com
c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
troy%netscape.com
99455f5082 Moved enum and replaced it with #defines 1999-01-03 00:31:46 +00:00
troy%netscape.com
eb188f8529 Changed comment to reflect the current state of the tree 1999-01-02 23:05:08 +00:00
troy%netscape.com
a8d603caa3 Changed computed width calculation for internal table elements to take
border/padding into account
1999-01-02 22:54:12 +00:00
troy%netscape.com
1d0d15f303 Added logic to make sure that internal table elements have reasonable
values for the computed width/height
1999-01-02 21:03:51 +00:00
troy%netscape.com
097f73ee6c Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com
b8f80c0efa Fix for bug 2109. If the child's maxSize.width is smaller than the containing
block's computed width then use it instead
1999-01-02 19:21:32 +00:00
troy%netscape.com
c30da1d1ee Changed InitConstraints() to handle inline, block-level, and floated elements
(replaced and non-replaced)
1998-12-31 23:07:00 +00:00
troy%netscape.com
8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com
ee997bddd1 Fixed it up to compile, because the Mac is still building it... 1998-12-29 05:54:59 +00:00
troy%netscape.com
14ae1a9919 Fixed it up to compile again, because the Mac is still building it... 1998-12-29 05:53:54 +00:00
troy%netscape.com
487a0952b3 Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
5cebecb150 Fix for bug #1924 1998-12-22 05:02:46 +00:00
troy%netscape.com
98e47c310d Fix for bug #1942. Also made it so we respect 'width' and 'height' properties
specified on the HTML element
1998-12-22 03:49:04 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy%netscape.com
9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com
8943d05510 Implement GetSkipSides so that continued inline frames render properly 1998-12-18 22:12:42 +00:00
kipp%netscape.com
ed1c9c40e1 Display inline borders/background during content painting, not during background painting (per css2 spec) 1998-12-18 22:12:15 +00:00
akkana%netscape.com
c3905a8204 Attempt to patch mac build error 1998-12-18 21:04:33 +00:00
troy%netscape.com
3545ee7a90 Added nsAreaFrame.cpp 1998-12-18 17:59:13 +00:00
troy%netscape.com
8d3739ba94 Initial check-in 1998-12-18 17:54:54 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
troy%netscape.com
b550507587 Minor cleanup 1998-12-18 17:33:23 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy%netscape.com
5f8a4c8bd0 Fixed a compiler warning by include nsHTMLParts.h 1998-12-18 05:52:05 +00:00
troy%netscape.com
087d7aeae8 Fixed a couple of compiler wanrings by including nsHTMLParts.h 1998-12-18 05:50:19 +00:00
troy%netscape.com
9cc97f6532 Fixed a compiler warning by including nsHTMLParts.h 1998-12-18 05:44:26 +00:00
troy%netscape.com
c5204005c1 Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
SetScrolledView()
1998-12-18 05:26:16 +00:00
troy%netscape.com
7e29c81e53 Changed CreateViewForFrame() to check whether the parent view is a scrolling
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage
1998-12-18 05:25:36 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
troy%netscape.com
fafb49c0f8 Backed the change back out 1998-12-17 22:25:59 +00:00
troy%netscape.com
3da8ddd767 Changed Paint() to only paing the border if the style info says we're visible 1998-12-17 21:34:41 +00:00
kipp%netscape.com
df22ba5edf Disabled skid marks 1998-12-17 19:10:53 +00:00
kipp%netscape.com
a9cbdcd957 nuked some tabs; added in comment to note where max-element-size computation should be fixed up 1998-12-17 18:55:13 +00:00
kipp%netscape.com
61e5ececd9 Added set/get empty line methods (currently unused) 1998-12-17 18:54:40 +00:00
kipp%netscape.com
0a7f47b0de Add in border and padding to get the max-element-size right 1998-12-17 18:54:22 +00:00
kipp%netscape.com
024a0ebf81 Add in margin top and bottom to max-element-size height 1998-12-17 18:54:07 +00:00
kipp%netscape.com
056210385f Added the AddBorderPaddingToMaxElementSize method to make it easy for implementors to get it right 1998-12-17 18:53:14 +00:00
kipp%netscape.com
98848b0634 Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element 1998-12-17 18:52:45 +00:00
kipp%netscape.com
b5ddc4184d Clean up max-element-size computations; added code to remove empty lines (disabled for now) 1998-12-17 18:52:10 +00:00
kipp%netscape.com
5c8c37f9e8 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters 1998-12-17 18:50:45 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
kipp%netscape.com
dafa9178f7 Removed bogus null pointer check 1998-12-15 17:59:49 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
michaelp%netscape.com
1ea29c4972 made damagearea management more aggressive as a temporary fix until
individual classes can to the right thing.
1998-12-15 05:49:48 +00:00
kipp%netscape.com
cf6a751b49 Added NS_FRAME_IS_REPLACED macro 1998-12-15 04:21:56 +00:00
kipp%netscape.com
ae95e3f297 Fixed up absolute and floating frame types to support replaced variants 1998-12-15 04:21:28 +00:00
kipp%netscape.com
081d6a2815 Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly 1998-12-15 04:20:54 +00:00
kipp%netscape.com
0c1d7e289e Print out state bits in hex too 1998-12-15 00:16:32 +00:00
kipp%netscape.com
d349695d52 #ifdef'd out the outside-children state methods 1998-12-15 00:16:21 +00:00
kipp%netscape.com
b27db7edbf Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight 1998-12-15 00:16:00 +00:00
kipp%netscape.com
52e59f760b Removed CalcLineHeightFor 1998-12-15 00:15:11 +00:00
kipp%netscape.com
2921acf591 Added CalcLineHeight and store it in mLineHeight 1998-12-15 00:14:56 +00:00
kipp%netscape.com
0d8e477df1 Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height 1998-12-15 00:14:36 +00:00
kipp%netscape.com
8f3bfb6318 Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state 1998-12-15 00:14:09 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com
57ae70eb65 When verify-reflow-all is enabled, update the display after each reflow and pause for a while 1998-12-12 19:21:05 +00:00
kipp%netscape.com
076247ac56 Factored out whitespace trimming from horizontal alignment 1998-12-12 19:20:35 +00:00
kipp%netscape.com
a475e77dd2 Made ListTag more usable for all frame types, not just derivations of nsFrame 1998-12-12 19:20:10 +00:00
kipp%netscape.com
398462eb7a Moved a #if 0 to get rid of a compiler warning 1998-12-12 19:19:48 +00:00
kipp%netscape.com
934a9c6a93 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them 1998-12-12 19:19:11 +00:00
kipp%netscape.com
c2c34891ef Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method 1998-12-12 19:18:28 +00:00
kipp%netscape.com
9cb6aebcb0 Revised ClearFloaters to loop so that all appropriate floaters are cleared 1998-12-12 19:17:58 +00:00
troy%netscape.com
e0814be9c7 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true
1998-12-12 17:59:30 +00:00
troy%netscape.com
b76ea91da7 Changed Reflow() to set isTopOfPage in reflow state 1998-12-12 17:58:18 +00:00
kipp%netscape.com
ea17e7a1d7 I disabled selection rendering until it works again 1998-12-12 03:05:24 +00:00
kipp%netscape.com
58fef6676e Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin 1998-12-11 22:26:45 +00:00
kipp%netscape.com
47761f83d7 When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately 1998-12-11 22:23:18 +00:00
kipp%netscape.com
076df9152c Tweaked reflow status to be legible 1998-12-11 15:53:03 +00:00
kipp%netscape.com
84b62782fb Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed 1998-12-11 15:50:12 +00:00
kipp%netscape.com
6234eb38c7 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!) 1998-12-11 15:49:07 +00:00
peterl%netscape.com
59693414e7 removed pseudo class atoms (moved to css atoms) 1998-12-11 02:36:36 +00:00
nisheeth%netscape.com
aa1aa005f0 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent. 1998-12-11 00:52:55 +00:00
troy%netscape.com
9d2a87867d Minor change to the flow of control to make it more readable 1998-12-10 03:20:31 +00:00
troy%netscape.com
d5d22e04da Added print options for controlling whether odd and even pages are printed 1998-12-10 03:07:11 +00:00
troy%netscape.com
193529a2df Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
scrollbar to be displayed even though it wasn't needed
1998-12-10 00:52:58 +00:00
kipp%netscape.com
c51740de2d Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear 1998-12-10 00:30:52 +00:00
kipp%netscape.com
64d2aeab3d Compute percentage base properly 1998-12-09 23:51:39 +00:00
troy%netscape.com
fad656e103 Moved StartDocument/EndDocument calls to document viewer impl's Print() member
function. This fits better with the Mac's printing model
1998-12-09 22:36:57 +00:00
troy%netscape.com
7ec6a2c281 Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
kipp%netscape.com
1778e1bc49 Backed out one change 1998-12-09 03:40:42 +00:00
cltbld%netscape.com
e83ca84c12 add nsBlockBandData.h per kipp's addition 1998-12-08 23:25:30 +00:00
kipp%netscape.com
14d0a212d5 new 1998-12-08 21:44:22 +00:00
kipp%netscape.com
4f02f0ae72 Added some debug checks to sizes; keep zero sized items on the same line whenever possible 1998-12-08 21:43:42 +00:00
kipp%netscape.com
e10802d09e Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713) 1998-12-08 21:43:15 +00:00
kipp%netscape.com
e86402c7a3 Added nsBlockBandData 1998-12-08 21:42:35 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
kipp%netscape.com
320f0facc1 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block 1998-12-08 03:57:12 +00:00