kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +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
452402c73d
Fixed a compiler warning where there was an extra ',' after an enum
...
identifier
1998-12-18 05:46:00 +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
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
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
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
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
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
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
vidur%netscape.com
3a9dd64bbf
Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
1998-12-11 17:02:37 +00:00
kipp%netscape.com
076df9152c
Tweaked reflow status to be legible
1998-12-11 15:53:03 +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
kipp%netscape.com
6c31b2d1f4
Repaired frame-util IID
1998-12-11 15:47:09 +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
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
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
8ac9031a17
new
1998-12-09 03:40:03 +00:00
kipp%netscape.com
e9ff25188b
new
1998-12-09 03:31:08 +00:00
kipp%netscape.com
14d0a212d5
new
1998-12-08 21:44:22 +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
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
kipp%netscape.com
2025694b82
Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
1998-12-08 03:47:44 +00:00
kipp%netscape.com
3723b826cc
Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
1998-12-07 22:28:55 +00:00
kipp%netscape.com
be0240395a
Added DeleteLine method
1998-12-07 22:28:23 +00:00
kipp%netscape.com
4d4668dca4
Slightly better handling of left/right block margins
1998-12-07 19:34:41 +00:00
harishd%netscape.com
d87392317e
Changed all the places that previously accessed mBorderStyle and mBorderColor
...
with the new methods added in nsStyleSpacing
1998-12-07 18:53:07 +00:00
troy%netscape.com
52b5bcc79f
Initial check-in
1998-12-07 04:05:12 +00:00
troy%netscape.com
e89b2bc6c9
Added support for printing multiple pages
1998-12-07 03:43:02 +00:00
kipp%netscape.com
d8a9951c14
Removed an unwanted DidReflow call
1998-12-05 16:06:14 +00:00
kipp%netscape.com
74e1833184
Setup first-letter-style to be off by default
1998-12-05 16:05:52 +00:00
kipp%netscape.com
6c1eed9eb2
Spanked to be a subclass of the nsBaseIBFrame class
1998-12-05 16:04:46 +00:00
kipp%netscape.com
e98ecaebf7
Made IndentBy public
1998-12-05 16:03:07 +00:00
kipp%netscape.com
1bc51979bf
Use FirstChild so the method is more reusable
1998-12-05 16:02:43 +00:00
kipp%netscape.com
da289aba99
Moved to new Init/ctor seperation
1998-12-05 16:02:26 +00:00
kipp%netscape.com
907f06864c
Major spankage; refactored code; common base class for block/inline frames
1998-12-05 16:02:08 +00:00
kipp%netscape.com
a00a2855e8
Updated
1998-12-05 16:01:11 +00:00
troy%netscape.com
62857a1141
Moved creation of first page frame to frame construction code, and changed
...
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com
205250b6c4
Moved view creation to frame construction code. Also moved wrapping of
...
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
karnaze%netscape.com
66f0822308
added code provided by Micahel Lowe to get system colors for frameset borders (bug 1763)
1998-12-04 18:05:30 +00:00
troy%netscape.com
4f5fc0524a
Added a comment about view creation
1998-12-04 06:13:18 +00:00
troy%netscape.com
90f35ce118
Changed view creation to occur when frame initialization occurs
1998-12-04 05:56:06 +00:00
troy%netscape.com
b7a4774af0
Removed some commented out old code
1998-12-04 03:46:59 +00:00
mjudge%netscape.com
2d6a42cd38
new use of enumerator class changed IsDone to return NS_COMFALSE if not done
1998-12-03 21:44:54 +00:00
troy%netscape.com
fbd9f4ef8b
Removed explicit call of base class constructor because it was
...
making Unix compilers unhappy
1998-12-03 07:20:59 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
...
C++ compiler is strict about getting 'const' right. Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
kipp%netscape.com
5841a14537
new
1998-12-01 16:13:49 +00:00
karnaze%netscape.com
3ac909047e
fixed bug 1613 (leak in nsFrameSetFrame::CalculateRowCol)
1998-11-30 22:37:52 +00:00
karnaze%netscape.com
abbe1cf13e
fixed bug 1696
1998-11-30 18:19:21 +00:00
karnaze%netscape.com
d875aa2aec
changed frameset layout algorithm. fixed bugs 728, 1075, 1494 and half of 1486
1998-11-28 18:59:38 +00:00
michaelp%netscape.com
8732a493d7
fixed memory leak.
1998-11-28 04:24:46 +00:00
kipp%netscape.com
0de0988eb8
disabled another printf; use web-shell destroy to properly whack the sub-webshell
1998-11-26 18:13:13 +00:00
kipp%netscape.com
bffc589afc
whitespace tweak
1998-11-26 18:08:27 +00:00
karnaze%netscape.com
b1329e6aa4
fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem
1998-11-25 18:11:26 +00:00
joki%netscape.com
2b2bfb85dd
Add missing coordinate transform to getFrameForPoint
1998-11-24 20:31:21 +00:00
joki%netscape.com
e7f70ce9ce
Add click event support for every element and initial keypress event support
1998-11-24 07:46:58 +00:00
karnaze%netscape.com
0e745ed3b7
<frame> now uses <base> for its src attribute
1998-11-24 02:01:45 +00:00
kipp%netscape.com
2fb0e7ca92
Let style override the cursor choice when using an image map
1998-11-23 22:21:13 +00:00
kipp%netscape.com
7ce43732e5
Walk up the content-parent so that style is applied appropriately for cursor selection
1998-11-23 22:20:50 +00:00
karnaze%netscape.com
60510b81aa
fixed bug 1479 (wsj.com crash)
1998-11-23 17:37:46 +00:00
troy%netscape.com
f8167669a4
Added missing NS_RELEASE of the content object in GetMarginHeight()
1998-11-21 17:30:41 +00:00
troy%netscape.com
2ba5d0b0ac
Added NS_RELEASE to fixed memory leak after calling ChildAt()
1998-11-21 17:22:31 +00:00
troy%netscape.com
9b6b15c587
Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
...
only setting the image loader's URL and base URL for the initial reflow
1998-11-21 04:04:41 +00:00
joki%netscape.com
b3039514cf
Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug.
1998-11-21 00:19:36 +00:00
kipp%netscape.com
11b6602001
Support margins on the child frame
1998-11-20 22:27:33 +00:00
kipp%netscape.com
12c4f09bc1
Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary
1998-11-20 22:24:20 +00:00
kipp%netscape.com
be3aca0f4e
Added support for StyleChanged reflow reason
1998-11-20 17:41:44 +00:00
kipp%netscape.com
8a2735c01b
Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
1998-11-20 17:21:02 +00:00
kipp%netscape.com
c9013931ab
Use revised API's for computing the border/padding
1998-11-20 17:20:29 +00:00
kipp%netscape.com
7b0a080513
Use revised API's to get percentage padding/borders value right
1998-11-20 17:18:58 +00:00
kipp%netscape.com
deb074f83f
Updated leaf api's to better support caching of computed border/padding when percentages are used
1998-11-20 17:13:02 +00:00
troy%netscape.com
79aed9646d
Added temporary workaround to image frame code to compensate for the fact
...
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
kipp%netscape.com
9582e9f3ec
Improved the regression dump data somewhat
1998-11-19 18:51:53 +00:00
kipp%netscape.com
157425553e
Override FrameForPoint so that floaters/bullets get events
1998-11-19 18:09:57 +00:00
kipp%netscape.com
f120c59e08
Factored out FrameForPoint code into one that takes a particular list
1998-11-19 18:09:03 +00:00
kipp%netscape.com
50e5afb598
Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting
1998-11-19 17:55:22 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
troy%netscape.com
89d24c72ce
Fixed it so that we don't ignore painting child frames of a parent frame
...
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +00:00
joki%netscape.com
65520ba928
Modify event flow to avoid walking into trashed frames.
1998-11-19 00:43:36 +00:00
troy%netscape.com
d4cf65cd18
Changed Reflow() to make sure that the child is sized at least as big as the max size
...
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
troy%netscape.com
9d1564cf4a
Added some constants to use when referring to child list name indices
1998-11-18 06:13:58 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com
265c4ca8a7
cleaned up cursor style handling
1998-11-18 02:11:54 +00:00
peterl%netscape.com
7675978299
fixed comment
1998-11-18 02:08:30 +00:00
amusil%netscape.com
e960e8007a
Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size.
1998-11-17 23:29:20 +00:00
kipp%netscape.com
552551e512
Revised max-element-size computation somewhat so that floaters are accounted for better
1998-11-17 22:28:51 +00:00
troy%netscape.com
4f1b20b058
Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
...
of the frame being wrapped
1998-11-17 05:47:06 +00:00
troy%netscape.com
688027c9d3
Fixed problem that caused Mac build to break
1998-11-17 02:37:47 +00:00
vidur%netscape.com
026c273104
Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables.
1998-11-17 02:14:38 +00:00
kipp%netscape.com
2757f6e3d4
Fixed up incremental reflow for content-changed and removed floaters
1998-11-17 01:04:45 +00:00
kipp%netscape.com
389de1de86
Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it
1998-11-17 01:04:21 +00:00
kipp%netscape.com
b1f6b6473f
Tidy up; added some tracing
1998-11-17 01:03:59 +00:00
kipp%netscape.com
b4c8bce4e2
Removed DidReflow hack again
1998-11-17 01:03:41 +00:00
troy%netscape.com
bb256efbb7
Changed Reflow() to deal with reflow commands targeted at the root frame
1998-11-16 23:16:03 +00:00
troy%netscape.com
a435cf3ef5
Reinstated hack to have the placeholder frame forward the DidReflow() notification
...
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
troy%netscape.com
d6a65c024a
Split class declaration out into a separate header file so the body frame
...
can be a derived class
1998-11-16 17:11:12 +00:00
kipp%netscape.com
11b65a83d4
Removed extraneous bullet padding that was left-over from the pre-pseudo-style days
1998-11-15 01:17:05 +00:00
kipp%netscape.com
40136f9ee9
Tidy the max-element-size code
1998-11-15 01:13:25 +00:00
kipp%netscape.com
6ad169555b
Fixed bug #1257 : the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated
1998-11-14 22:27:50 +00:00
kipp%netscape.com
7c3763c3e0
Removed and unused member variable
1998-11-14 22:27:06 +00:00
kipp%netscape.com
68f8209644
Fixed frame-removed crash case (when we run out kids); bug #691
1998-11-14 21:57:38 +00:00
kipp%netscape.com
6bc24733d4
Basic support for :first-letter pseudo-elements
1998-11-14 21:01:26 +00:00
kipp%netscape.com
973c0a528c
Eliminated NewFrame
1998-11-14 19:28:34 +00:00
kipp%netscape.com
f064456558
Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly
1998-11-14 19:28:11 +00:00
kipp%netscape.com
381815af96
Removed hacks that were mostly block-frame bug workarounds
1998-11-14 19:26:57 +00:00
kipp%netscape.com
11391735ba
DidReflow now supports multiple child lists; added DeleteFrameList helper method
1998-11-14 19:25:34 +00:00
michaelp%netscape.com
7a9e1a4bc1
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea
Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
1998-11-14 00:21:19 +00:00
joki%netscape.com
d316927b48
Modify cursor setting code to check css cursor setting for containers.
1998-11-13 23:58:52 +00:00
karnaze%netscape.com
1eafba94d2
bug 1374 (hometown.aol.com crash on resize)
1998-11-13 23:44:50 +00:00
troy%netscape.com
87eff9d2bf
Changed GetLoadImageFailed() so it checks with the image loader rather
...
than just using the value of mLoadImageFailed. Fixes bug #1287
1998-11-13 21:31:50 +00:00
troy%netscape.com
59a9e518ba
Added check for SRC being an empty string
1998-11-13 18:38:16 +00:00
troy%netscape.com
36fd247c25
Changed it so that if there's a NULL URL then we set the mLoadImageFailed
...
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons
1998-11-13 17:00:54 +00:00
troy%netscape.com
59c09cffdc
Removed an assert that was incorrect and that triggered when print
...
previewing test1
1998-11-13 05:17:08 +00:00
rickg%netscape.com
ba3ddb1078
fixed a crash that someone missed
1998-11-13 04:58:35 +00:00
troy%netscape.com
8e56559948
Added ListTag() member function
1998-11-13 02:20:31 +00:00
troy%netscape.com
532ccd2885
Cleaned up the way construction of the root frame happens for XML documents.
...
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com
ac0565a8f8
Fixed margin collapsing bug
1998-11-12 22:24:46 +00:00
kipp%netscape.com
f554f82547
Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases
1998-11-12 18:19:22 +00:00
kipp%netscape.com
784d48c0a8
Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support
1998-11-12 16:32:56 +00:00
kipp%netscape.com
45356c7502
Some support for first-letter style
1998-11-12 16:31:38 +00:00
rickg%netscape.com
d3b71028ee
enabled view-source
1998-11-11 20:31:45 +00:00
kipp%netscape.com
2f43e35996
Added a sleazy implementation of css2's run-in display type
1998-11-11 03:55:55 +00:00
kipp%netscape.com
add7918774
Added run-in and compact display types to the TreatFrameAsBlockFrame method
1998-11-11 03:54:47 +00:00
karnaze%netscape.com
0051a7f8b8
fixed <frameset frameborder=no> allowed frame resizing
1998-11-10 20:49:51 +00:00
kipp%netscape.com
594ec210f9
Removed unused include
1998-11-10 19:16:32 +00:00
kipp%netscape.com
a6ea00c527
Use lineLayout object to pass on floater to the containing block
1998-11-10 18:04:34 +00:00
kipp%netscape.com
8b1973c472
Added InitFloater
1998-11-10 18:04:19 +00:00