rpotts
09cfa8359e
Now uses nsIViewerContainer interface and the Document Loader...
1998-07-01 11:17:41 +00:00
rpotts
1afdd4f963
Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader...
1998-07-01 11:16:09 +00:00
rpotts
00765c5325
Fix crash by checking whether a link handler was returned bu GetLinkHandler(...)
1998-07-01 11:15:20 +00:00
troy
226119c0ab
Some work-in-progress for incremental reflow
1998-07-01 04:55:15 +00:00
troy
7c185eac84
Removed some vertical margin collapsing stuff that wasn't needed
1998-07-01 03:03:32 +00:00
kipp
c34f27c145
Keep view around so that it moves properly
1998-07-01 00:54:54 +00:00
kipp
0f3bc0bc43
Revised logging code to work with nspr properly; updated to support incremental content appended reflow
1998-06-30 23:51:53 +00:00
kipp
f1e5c4b66b
Added state recovery logic for FrameAppendedReflow (though it still reflows too much)
1998-06-30 23:51:26 +00:00
troy
a3005d96d4
Changed reflow processing for floaters
1998-06-30 23:19:10 +00:00
troy
a08407817f
Changed a XXX comment that was now out of date
1998-06-30 21:37:30 +00:00
troy
08cdd6ebcd
Changed anchor frames to forward content notifications to the real frame
1998-06-30 21:35:07 +00:00
kipp
11fba76f60
Use new PropagateContentOffsets API
1998-06-30 20:22:44 +00:00
kipp
30f8f69d23
Avoid crashing when no link handler is involved
1998-06-30 20:22:27 +00:00
kipp
13db757b9c
update to new nsIInlineReflow API
1998-06-30 20:22:04 +00:00
kipp
94f1a4ea1d
Implement new PropagateContentOffsets to avoid looking at floaters
1998-06-30 20:21:57 +00:00
kipp
8fdc3b767c
Pretend to map STYLE attributes back to strings to avoid crashing
1998-06-30 20:20:51 +00:00
kipp
9d76dca44e
disabled calls to PropagateContentOffsets for now
1998-06-30 20:20:29 +00:00
kipp
8c19ac4205
Pass attribute-to-string calls to superclass when it's an unkown attribute/type
1998-06-30 20:15:37 +00:00
kipp
980cc4a227
Improved listing output
1998-06-30 20:14:33 +00:00
kipp
67c8c57b30
Updated APIs
1998-06-30 20:14:16 +00:00
kipp
ea0b890a93
Various pagination related bug fixes; pass in reflow command to FindTextRuns
1998-06-30 20:14:04 +00:00
kipp
bca0af2fe6
Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames
1998-06-30 20:13:07 +00:00
buster
3cc96f5b94
fixed-width cells no longer improperly impact the available size
...
of subsequent cells in reflow pass 1
we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
kipp
7a8d09e439
Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage.
1998-06-30 20:12:23 +00:00
troy
f923e8753c
Added ContentDeleted() member function
1998-06-30 20:11:10 +00:00
troy
8885fde69e
Moved shrink wrap code from table frame to table row group frame
1998-06-30 02:11:07 +00:00
buster
033ee8a162
columns that are fixed-width due to an attribute on the corresponding cell in the first row
...
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster
a5505b8275
cells no longer monkey with their available width based on attribute constraints.
...
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
kipp
ed831815d1
Made sub/sup look more like navigator
1998-06-29 16:10:41 +00:00
kipp
206c13d241
Fixed bug where percentage width in an unconstrained situation was yielding a bad size
1998-06-29 16:09:44 +00:00
buster
5e60369eda
minor tweaks for table layout
1998-06-29 03:09:14 +00:00
kipp
0fb4c0d0ce
Take text content and join it together so reduce the size of the content model
1998-06-27 22:57:52 +00:00
kipp
13cd2413d6
Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks
1998-06-27 22:57:26 +00:00
kipp
3552e92cad
Use revised inline reflow status
1998-06-27 22:56:59 +00:00
kipp
387a21b0d1
Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status
1998-06-27 22:56:09 +00:00
kipp
7292712c50
Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's
1998-06-27 22:54:58 +00:00
atotic
102f568560
That for (int i)... problem fix
1998-06-27 02:49:36 +00:00
atotic
e6ceb0c01e
Another class reference inside class declaration problem
class A {
void A:method
};
is bad
1998-06-27 02:48:39 +00:00
atotic
90b32ba9d8
Fixed mac warnings
1998-06-27 02:47:44 +00:00
atotic
e6c716048f
Added/removed some files
1998-06-27 02:47:08 +00:00
atotic
1669148b76
Fixed the Mac build
1998-06-26 23:55:11 +00:00
buster
8cb2f20cbf
support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
1998-06-26 23:31:33 +00:00
troy
dbcbcf7d1d
Changed absolutely positioned elements to have the body as their
...
geometric parent
1998-06-26 18:49:30 +00:00
kipp
31261d92a4
Removed PutCachedData(etc) API from nsIPresShell
1998-06-26 16:26:24 +00:00
kipp
b9e2811c6a
Make a title object that's a child of the head when we get a title
1998-06-26 16:12:51 +00:00
kipp
cdaedbbf86
Added NS_NewHTMLComment and NS_NewHTMLTitle
1998-06-26 16:12:22 +00:00
kipp
be37e59a5e
new
1998-06-26 16:11:41 +00:00
kipp
6661115e62
new files
1998-06-26 16:11:26 +00:00
kipp
92e7d9f215
Updated for irix
1998-06-26 15:31:45 +00:00
kipp
e74a8768aa
Removed stale reference to nsHTMLMeta
1998-06-26 15:15:58 +00:00
kipp
76229f342c
Link new content library in
1998-06-26 15:12:06 +00:00
kipp
822565e6d7
Removed obsolete justify-reflow method
1998-06-26 15:11:53 +00:00
kipp
396b89b7f9
Added content directory and moved some code
1998-06-26 15:08:55 +00:00
kipp
163249f258
Eliminated IRIX compiler warnings (and a bug)
1998-06-26 15:07:09 +00:00
peterl
ba118571c6
added ! important support
1998-06-26 05:51:55 +00:00
peterl
ec0fee2a9a
fixed equal weight rule ordering
1998-06-26 05:50:10 +00:00
peterl
cb4e3b72c0
fixed context dumping
1998-06-26 05:49:01 +00:00
buster
a6ca882bee
fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.
1998-06-26 00:48:44 +00:00
kipp
634974d444
Removed gratuitous if's
1998-06-26 00:31:44 +00:00
kipp
7a286b21c0
Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured.
1998-06-25 23:35:53 +00:00
kipp
a1545fa943
Added code to giving floating children a width to reflow into when they don't specify one themselves
1998-06-25 23:09:04 +00:00
vidur
ebd644e8a3
Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface.
1998-06-25 22:26:52 +00:00
kipp
e85f1b7f20
Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children
1998-06-25 22:26:35 +00:00
kipp
3d2430f3ad
Change ParseColor to be more compatible with navigator
1998-06-25 21:37:07 +00:00
kipp
5cd48e486c
Support text attribute in body tags
1998-06-25 21:36:51 +00:00
kipp
1ec7c27374
Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow
1998-06-25 21:11:12 +00:00
kipp
79f6ada6b0
Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once.
1998-06-25 20:51:04 +00:00
kipp
e1f8e23585
Rework the way that bullets are detected; this fixes up the http://client/nova page
1998-06-25 19:02:15 +00:00
kipp
5922d1bfa1
Link html .so properly
1998-06-25 18:38:59 +00:00
kipp
62ef571c0c
Fixed library name
1998-06-25 18:38:40 +00:00
kipp
894b45c36a
Work around infinite-width bug by not passing down an infinite width to a block child of a block
1998-06-25 17:26:40 +00:00
kipp
07602ac028
Fixed irix build bustage
1998-06-25 17:23:32 +00:00
kipp
9e2f3ecca6
Fixed unix makefile
1998-06-25 16:58:59 +00:00
kipp
4b8864ebbc
New and improved (?) line layout
1998-06-25 16:33:10 +00:00
kipp
04388f92cf
Revised page size computation
1998-06-25 15:05:35 +00:00
kipp
cc626cdb79
Removed include of stdio.h
1998-06-25 15:03:49 +00:00
kipp
aa980ae438
Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum
1998-06-25 15:03:37 +00:00
kipp
856263ab91
Added missing include line; minor tidy up as well
1998-06-25 15:01:13 +00:00
kipp
0f45fd1b7c
Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina
1998-06-25 14:56:46 +00:00
kipp
bfeb08a1fe
Added CreateFrame method
1998-06-25 14:55:15 +00:00
kipp
cc04a28262
Added the same skip-over-non-body-content code that's in the root content frame code
1998-06-25 14:53:45 +00:00
kipp
51abae9138
Init refcnt so that it behaves properly
1998-06-25 14:51:48 +00:00
michaelp
e183f05efb
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
troy
2b34ccf86a
Added some asserts to the incremental reflow code
1998-06-24 22:05:59 +00:00
buster
670bf41c19
fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights.
1998-06-24 19:13:19 +00:00
troy
d8d860fb0b
Changed to make sure we set the (x,y) for the frame before we reflow it
1998-06-24 18:09:47 +00:00
kipp
c3c647c6e3
snapshot
1998-06-24 17:52:42 +00:00
troy
a5129668b4
Changed to make sure we link the child frame into the list of frames before
...
we reflow it
1998-06-24 16:35:21 +00:00
troy
69e26c8efd
Some incremental reflow changes
1998-06-24 04:38:52 +00:00
troy
a45125c78c
Work around for the case where a content change notification has
...
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
atotic
777858f597
More project fixes
1998-06-24 01:44:20 +00:00
atotic
1fe21f0dd7
First Checked In.
1998-06-24 01:41:16 +00:00
buster
ff9c9a022a
now tables with precent width nested within tables with auto width work
1998-06-24 00:40:33 +00:00
buster
722a46b983
lots of nested tables look much better
...
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
troy
c51219818e
Initialized mColLayoutData to nsnull
1998-06-23 22:45:26 +00:00
karnaze
ea5cd1554d
named <iframe>s, scrolling attribute, more complete test9.html
1998-06-23 22:25:28 +00:00
joki
ad7c15864e
Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
1998-06-23 21:53:02 +00:00
vidur
ca8463d4f8
Added js dependency
1998-06-23 19:11:22 +00:00
vidur
f2cccbb1e0
Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
1998-06-23 18:43:06 +00:00
rpotts
9493926876
Some reference counting to make things go away...
1998-06-23 18:40:18 +00:00
troy
92961a089a
Some work-in-progress for table incremental reflow
1998-06-23 05:43:27 +00:00
rickg
7c82c6b547
added support for doc quality
1998-06-23 01:34:25 +00:00
rickg
f6ad11fa02
added a new secret argument to Parse()
1998-06-23 00:52:21 +00:00
troy
efb1b282f7
Eliminated mFirstPassValid and changed code to key off the reflow
...
reason
1998-06-22 21:59:43 +00:00
troy
6822b2dd1a
Started hooking up incremental reflow. So far we only handle changed
...
captions
1998-06-22 05:34:17 +00:00
troy
b2931186a4
Changed AddObserver() to check if the observer is already in the list.
...
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
troy
0e63fbad18
Changed TextFrame to implement ContentChanged() notification and generate
...
a reflow command
1998-06-20 00:04:22 +00:00
rods
337f10fb48
add XP_UNIX size temporary fixes
1998-06-19 20:07:35 +00:00
kipp
4da82d2088
Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's
1998-06-19 19:57:59 +00:00
kipp
19313ce71f
Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code
1998-06-19 19:57:14 +00:00
kipp
bae589362a
snapshot
1998-06-19 18:23:28 +00:00
troy
68cd5cc934
Work in progress for incremental reflow
1998-06-19 05:21:45 +00:00
rickg
0b9c578eb7
more bug fixes; changed nsHTMLParser to nsParser.
1998-06-19 01:00:27 +00:00
troy
2880bc5eb8
Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead
1998-06-19 00:34:12 +00:00
kipp
1ee5eb3f33
snapshot
1998-06-18 23:44:30 +00:00
kipp
bc0b806c52
new
1998-06-18 23:16:18 +00:00
kipp
f7d5a13f2b
snapshot
1998-06-18 23:16:00 +00:00
karnaze
926cf3f1d1
fixed divide by zero, test9 has sub sub doc.
1998-06-18 18:33:34 +00:00
kipp
d14a05b5fa
new
1998-06-18 16:25:41 +00:00
rods
c9e755097d
changed AToms to Atoms in include
1998-06-18 13:58:19 +00:00
troy
f9272dd96a
Fixed a problem with thick left border edges being the wrong thickness
1998-06-18 05:43:32 +00:00
karnaze
6c87eacd90
added tst9, improvements to <iframe>
1998-06-18 00:47:18 +00:00
rickg
b2f62ff8a2
huge refactoring effort; transient style support; tables fixes, and more
1998-06-17 23:13:28 +00:00
troy
5863974a24
Reduced the number of polygon calls
1998-06-17 22:14:20 +00:00
buster
7463485160
minor updates and fixes
1998-06-17 19:51:51 +00:00
buster
3f9f422457
Separated table content from table layout. This paves the way for XML/CSS-2 tables.
...
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy
bda8aa05f5
Addded some helper functions to determine whether a content object is
...
a table cell
1998-06-17 15:21:02 +00:00
troy
11829df1ea
Changed cast of content objects to nsTableContent* to query interface
...
of nsITableContent
1998-06-17 05:28:36 +00:00
karnaze
3a7473cd44
fixed makefile to recognize html/document/public
1998-06-16 22:57:51 +00:00
atotic
1a848918c0
First Checked In.
1998-06-16 22:55:47 +00:00
karnaze
68bc964e75
added
1998-06-16 21:55:52 +00:00
atotic
343a746002
static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString,
is not legal C++ inside a class declaration.
1998-06-16 21:45:10 +00:00
atotic
97ccd2aec0
Mac needed a definition of PR_GetEnv
1998-06-16 21:44:38 +00:00
atotic
d746b0cbf3
Made the projects compile in the dist world
1998-06-16 21:41:31 +00:00
atotic
fcb81f3583
First Checked In.
1998-06-16 21:39:13 +00:00
karnaze
f2d01e4d6f
more <iframe> support
1998-06-16 21:32:54 +00:00
michaelp
ae6a3e8401
the view manager is now used when manipulating views.
1998-06-16 16:51:01 +00:00
kmcclusk
e6304cb6b8
Added makefile directive to copy ua.css to $(DIST)/bin/res
1998-06-15 23:07:41 +00:00
atotic
d7ff539600
First Checked In.
1998-06-15 22:13:46 +00:00
kipp
0030a5b770
Revised keyword tables
1998-06-15 20:40:27 +00:00
kipp
33f44a011f
Added in steve's new keywords
1998-06-15 20:40:07 +00:00
kipp
ab9a56f468
Added opacity
1998-06-15 20:25:28 +00:00
kipp
52fbaac3bb
Makefile tweaked to not build nsHTMLTags.cpp
1998-06-15 20:21:08 +00:00
troy
6617da99b2
Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
...
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
troy
2c3c341cda
Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
...
instead
1998-06-14 05:14:17 +00:00
troy
af75aa1015
Changed some pairs of GetStyleContext/GetStyleData calls to a single call
...
to nsIFrame::GetStyleData
1998-06-14 05:00:38 +00:00
troy
f7fb4bd175
Changed a GetStyleContext/GetStyleData pair to use the nsIFrame::GetStyleData
...
member function instead. This saves a pair of AddRef/Release calls
1998-06-14 04:40:52 +00:00
troy
6e9e901bcd
Changed PaintChildren() to only paint those children that intersect
...
the dirty rect
1998-06-14 00:45:21 +00:00
troy
7a60b92f32
Changed ResizeReflowPass1() to default to the reflow reason that was
...
passed in and not resize
1998-06-12 04:28:07 +00:00
troy
b99df5e1a6
Fixed some places where the reflow reason wasn't getting correctly set for
...
the initial reflow
1998-06-12 04:11:41 +00:00
troy
494037bcc2
Changed RootContentFrame to correctly set the reflow reason for the
...
initial reflow
1998-06-12 03:02:15 +00:00
karnaze
7c731ecf15
initial loading of <iframe> documents
1998-06-11 23:29:15 +00:00
troy
75dff60e3a
Changed how cell layout data is accessed
1998-06-11 22:51:54 +00:00
spider
5cc1ba3443
Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available.
1998-06-11 21:26:21 +00:00
troy
8b012bed3d
Eliminated FindCellLayoutData() and changed code to use GetCellLayoutData()
...
instead
1998-06-11 18:50:17 +00:00
buster
3a0505d67b
more separation between table content and frames
1998-06-11 17:50:51 +00:00
karnaze
6800f5f5d8
initial support for <iframe>
1998-06-11 16:46:33 +00:00
buster
622d03d0c2
continuing work to separate content from frames
1998-06-11 15:46:37 +00:00
troy
5bcaa32c92
Added some XXX performance reminders
1998-06-11 04:57:56 +00:00
buster
95fd7aebf2
more cleanup and frame/content separation
1998-06-11 00:41:09 +00:00
buster
df525f7de0
some tentative steps towards content/frame separation in tables
1998-06-11 00:13:18 +00:00
troy
454392645d
Changed block to do the initial reflow of a floater. Also fixed a problem
...
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
72895c0911
Set maxwordwith whenever we are not wrapping
1998-06-09 17:48:54 +00:00
kipp
973a6de3bd
Set width properly when not wrapping
1998-06-09 17:48:02 +00:00
kipp
6c25e7131e
Fixed a pending-break clear bug; use new ReflowInlineChild API
1998-06-09 17:47:49 +00:00
kipp
18f4f90dea
Added nsIInlineFrame interface
1998-06-09 17:47:20 +00:00
kipp
6b4f435e4f
Implement ReflowChild directly so that it uses nsIInlineFrame is available
1998-06-09 17:40:21 +00:00
kipp
1dc40ded5c
new iids
1998-06-09 17:39:42 +00:00
kipp
a07a851265
Implement ReflowInlineChild to check for nsIInlineFrame and use it when available
1998-06-09 17:32:52 +00:00
kipp
6d91246eaa
Updated reflow-inline-child to handle the new nsIInlineFrame api
1998-06-09 17:32:27 +00:00
kipp
267f4ec386
Made BRFrame implement nsIInlineFrame
1998-06-09 17:31:59 +00:00
kipp
24d1f0f70d
Added rules to make TD's, TH's behave more like navigator
1998-06-09 17:31:34 +00:00
troy
5aeffe1a29
Added nsIReflowCommand interface
1998-06-09 04:51:44 +00:00
buster
0154088e91
backed out an inline for UNIX build
1998-06-09 03:53:35 +00:00
kipp
bab137bdff
Added another tracing log message
1998-06-09 00:49:12 +00:00
kipp
5ca93333aa
Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's)
1998-06-09 00:48:56 +00:00
rods
cd9c4312fb
moved inlined SetCellAt to body
1998-06-08 22:07:15 +00:00
buster
956697ff90
less inlining, for UNIX and Linux builds
1998-06-08 20:53:43 +00:00
buster
ed47ffbd62
most HTML 4 attributes supported (though some are still ignored)
...
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster
1d29d978d2
complete HTML 3.2 attribute support
1998-06-08 17:19:26 +00:00
buster
0f3aab57c0
more attributes: cell nowrap, caption align, some misc HTML 4 attributes too
1998-06-08 15:47:03 +00:00
joki
5e67bc2f91
Removing no longer used file from Makefiles
1998-06-08 02:03:31 +00:00
joki
981ea42512
Makefile fixes
1998-06-08 01:56:31 +00:00
joki
7aad810a2f
Adding new event handling mechanism into raptor.
1998-06-08 00:57:15 +00:00
joki
b3d796cf86
Adding parts of dom event flow to layout.
1998-06-07 07:55:55 +00:00
joki
f316f35cc8
Adding parts of dom event flow into layout.
1998-06-07 07:54:32 +00:00
kipp
6330f10bbe
Made option code more robust
1998-06-06 20:25:11 +00:00
kipp
18cc794378
Don't strip trailing whitespace otherwise underlines render wrong; set max element width properly when not wrapping
1998-06-06 01:54:20 +00:00
kipp
a5905512b9
Fixed table cell's so that translate valign back to a string properly
1998-06-06 01:48:10 +00:00
kipp
d651cc027b
Fixed options to have their text stripped of junk and whitespace compressed before creating the widget
1998-06-06 01:08:43 +00:00
kipp
7db824085d
Fixed GetContent/SetContent to be virtual making Option tags provide the proper text content for display
1998-06-06 01:06:52 +00:00
buster
79e57d170d
clean up, and still better cell width attribute layout
1998-06-05 22:50:03 +00:00
kipp
c76c309fef
Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly
1998-06-05 21:50:57 +00:00
kipp
71d12dae58
Sprinkled SizeOf methods around
1998-06-05 21:06:24 +00:00
buster
7f84a77a97
column widths with cells that span columns now work in most cases, for pixels and percents
...
not yet implemented for the "constrained" case
1998-06-05 18:11:20 +00:00
kipp
acd8d1a63f
Use serif instead of times roman directly
1998-06-05 17:53:46 +00:00
kipp
dfc4dd32ae
Added no-wrap support
1998-06-05 17:53:28 +00:00
kipp
19adfee3f3
Added a reminder
1998-06-05 17:53:11 +00:00
kipp
d8cea2ac97
Set family when PRE VARIABLE is used
1998-06-05 17:53:02 +00:00
peterl
71d5fd1025
sync up to new style data apis
1998-06-05 06:09:09 +00:00
peterl
5517348fa8
added accessor to rules for save code
1998-06-05 06:07:08 +00:00
peterl
1e36945bf8
now track rules by insertion order as well as weighted order
...
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
peterl
338da2eab9
changed GetData to GetStyleData and made its return const
...
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl
b1030af38c
added flag to get unique style context during resolve
1998-06-05 06:00:55 +00:00
peterl
55904e7030
changed GetStyleData to return const pointers to style structs
...
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
peterl
402a635b4f
added flag to force return of unique style context
1998-06-05 05:58:20 +00:00
buster
9e778bd269
cells with colspans and width attributes now work correctly
1998-06-05 02:50:46 +00:00
buster
020c0f9645
cell width calculations are working (not for colspan cells yet)
...
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
kipp
3d3010b324
WIP checkin
1998-06-05 01:02:30 +00:00
kipp
d0d066dc01
Fixed to return proper reflow status
1998-06-05 00:54:03 +00:00
kipp
2326a8d9fd
Fixed spacer to work again
1998-06-04 23:10:26 +00:00
kipp
5d8ad4e74d
Verify that mIsBlock is correct
1998-06-04 23:10:15 +00:00
kipp
a4ff472287
Pass through x,y events to an imagemap that is a map but doesn't use a named map
1998-06-04 23:09:52 +00:00
kipp
2a8c488204
Removed dead code
1998-06-04 23:08:59 +00:00
kipp
35f737aeb1
IMplement ReflowBlockChild
1998-06-04 23:08:49 +00:00
kipp
d4ee4ef891
Removed ReflowChild that handles space manager (troy can stop nagging me now :-)
1998-06-04 23:08:24 +00:00
karnaze
b61c21a297
radio, checkbox padding done through MapAttributesInto
1998-06-04 21:34:41 +00:00
kipp
73f4a27382
Create head part and insert it into the model
1998-06-04 21:33:44 +00:00
kipp
384996f218
Only layout the body child in the root part
1998-06-04 21:33:23 +00:00
kipp
4c0ffc1125
Added a head part
1998-06-04 21:33:07 +00:00
kipp
d5a604e1f6
new
1998-06-04 21:32:50 +00:00
kipp
6ed0850c2d
Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
1998-06-04 21:04:50 +00:00
kipp
4cd468ba12
Pass through style rules
1998-06-04 21:04:22 +00:00
kipp
da75c0ffea
Made absolute frame a container too to work around the pseudo-frame problem
1998-06-04 21:04:07 +00:00
kipp
844276ae92
removed blather code
1998-06-04 20:41:14 +00:00
kmcclusk
aa7347bb6a
Added nsAbsoluteFrame to the make for Linux
1998-06-04 19:49:19 +00:00
kipp
ca10010436
Updated tracing; if the body has no children then collapse to nothingness
1998-06-04 18:03:14 +00:00
kipp
6754c323d8
Eliminate css margins around block elements (so that ebina margins are used instead)
1998-06-04 17:52:22 +00:00
kipp
a130d61779
Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
1998-06-04 17:52:02 +00:00
kipp
f017361697
Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks
1998-06-04 17:51:27 +00:00
kipp
952e690f78
Log view creation when it's done; create view when child and parent opacities differ
1998-06-04 17:50:53 +00:00
kipp
da9567882e
Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically
1998-06-04 17:50:19 +00:00
kipp
8945757f0d
Added mPrevMarginSynthetic flag
1998-06-04 17:49:29 +00:00
kipp
b3a0265470
Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks
1998-06-04 17:49:15 +00:00
kipp
0a142c521a
Add scroll frame to build
1998-06-04 17:48:08 +00:00
kipp
f485bc2168
new
1998-06-04 17:47:49 +00:00
kipp
898dd7b7d0
Draw a different colored border when showing visual frame boundaries if the frame has a view
1998-06-04 17:47:30 +00:00
karnaze
0070393397
added modes for backward compatibility
1998-06-04 17:23:48 +00:00
kipp
664c6c6226
Fixed another GetDesiredSize case that troy missed
1998-06-04 05:49:45 +00:00
kmcclusk
cd764fbcaa
Added nsFrameImageLoader to the unix make
1998-06-03 23:44:08 +00:00
michaelp
ab13cdae91
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kmcclusk
f4de4ff703
Added nsLineLayout.cpp to linux makefile
1998-06-03 21:59:53 +00:00
kipp
61c7803fd1
Fixed install bug on unix
1998-06-03 20:50:02 +00:00
kipp
b8d3c25f4a
Install broke-image.gif
1998-06-03 18:56:45 +00:00
kipp
07f9c2074a
Avoid scaling image when rendering the broken-image image
1998-06-03 18:56:11 +00:00
kipp
bdf82f1e0c
Added logging events
1998-06-03 18:55:23 +00:00
kipp
209e9ca775
new
1998-06-03 18:31:14 +00:00
kipp
0c4f153ba6
Fixed so that document still gets set even when notify is false
1998-06-03 18:31:07 +00:00
kipp
920b1e1525
Fixed up usage of insert/append/remove/replace api return values in dom methods
1998-06-03 18:09:17 +00:00
kipp
38ed9c2ff3
When root content frame doesn't have any children make sure the aDesiredSize out parameter is properly setup
1998-06-03 17:44:23 +00:00
kipp
ec8239f993
Updated to new api
1998-06-03 16:01:25 +00:00
kipp
047bd6da63
Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent
1998-06-03 16:01:02 +00:00
kipp
e9039ce54f
Use revised GetDocument API from content
1998-06-03 16:00:40 +00:00
kipp
26910a6705
Print out percentage values properly
1998-06-03 16:00:15 +00:00
kipp
5f89ee941e
Disable notifications during construction of select container
1998-06-03 15:59:56 +00:00
kipp
a0c524b3a5
Disable notifications during construction of file container
1998-06-03 15:59:44 +00:00
kipp
11d1960109
Use new GetDocument API
1998-06-03 15:59:24 +00:00
kipp
4c3de0fa0a
Fixed IID reference and added a reminder comment
1998-06-03 15:59:09 +00:00
kipp
5c085a6c3d
Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified
1998-06-03 15:58:52 +00:00
kipp
faab2b8b74
Fixed logging messages to say Reflow not ResizeReflow
1998-06-03 15:57:39 +00:00
kipp
7a7d1a61cd
Print out view during listings
1998-06-03 15:57:24 +00:00
kipp
7d43cef5b1
Wrap created frames in a view if necessary
1998-06-03 15:57:08 +00:00
kipp
3c831ef29a
Added GetLoadImageFailed method
1998-06-03 15:56:50 +00:00
kipp
47dc5dfce3
Create view for the image always; update to use new API's; use nsHTMLFrame to create view
1998-06-03 15:56:40 +00:00
kipp
87b6fee8df
Implement stubs for revised insert/delete/remove/append api's
1998-06-03 15:56:15 +00:00
kipp
31e0061a0f
disable notifies during synthetic content insertion
1998-06-03 15:55:49 +00:00
kipp
f8d5056700
Implement revised COMized API
1998-06-03 15:54:57 +00:00
kipp
9ba36c43b9
Print out view during listings; try to support broken image handling better
1998-06-03 15:52:01 +00:00
kipp
4e3f35d542
Print out views during listings
1998-06-03 15:51:17 +00:00
kipp
d587233d16
Implement ListTag; print out view during listings
1998-06-03 15:50:58 +00:00
kipp
9aa3ff2984
Added nsHTMLFrame to build
1998-06-03 15:49:09 +00:00
kipp
bab6234e9e
new
1998-06-03 15:49:00 +00:00
kipp
9aed04c3ed
declare and implement revised content api
1998-06-03 15:48:14 +00:00
kipp
e6cbf3285a
Init fEntireContent
1998-06-03 15:47:48 +00:00
kipp
e79e3a87a7
Declare factory here for now
1998-06-03 15:47:34 +00:00
kipp
a34b1a43fd
IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
1998-06-03 15:47:22 +00:00
kipp
9d0f52288b
Implement COMized document observer API; added logging of doc observer methods
1998-06-03 15:46:54 +00:00
kipp
15e38e66dc
Tell document that content changed not shell's
1998-06-03 15:46:04 +00:00
kipp
ffdff4a17e
Display view during listings
1998-06-03 15:45:48 +00:00
kipp
3fcf1b3528
Decleare BeginLoad/EndLoad
1998-06-03 15:45:36 +00:00
kipp
f95eb5858b
Pass on Begin/End Load to observers; removed selection factory method
1998-06-03 15:45:25 +00:00
kipp
d1973a1e23
Print out view during listings
1998-06-03 15:41:53 +00:00
kipp
537f792963
Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized)
1998-06-03 15:41:39 +00:00
kipp
58cd7dcd58
COMized API; added Begin/End reflow and Begin/End Load methods
1998-06-03 15:40:56 +00:00
kipp
275f86179b
Added begin/end load methods
1998-06-03 15:39:45 +00:00
kipp
873e9140cf
COMized some of the API; added a notify flag to the child insert/replace/append/remove methods
1998-06-03 15:39:32 +00:00
troy
71d8797ba4
Initialized nsBlockReflowState::mStyleSizeFlags to 0
1998-06-03 02:27:39 +00:00
buster
69c41b680f
a variety of fixes and optimizations
...
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better
1998-06-03 00:43:53 +00:00
troy
ba47348631
Changed Paint() to use GetCoordValue() instead of GetIntValue()
1998-06-03 00:11:15 +00:00
troy
ad945dadf8
Changed GetReflowMetrics() to initial maxElementSize to (0,0)
1998-06-02 23:57:03 +00:00
michaelp
581fd45055
prevented infinite paint/damage loop.
1998-06-02 22:05:45 +00:00
michaelp
b8d765f4de
now calls viewmanager to effect view changes.
1998-06-02 22:04:54 +00:00
kipp
761bc7a1fb
removed
1998-06-02 16:33:52 +00:00
troy
992a717874
Turned on incremental painting
1998-06-02 05:29:44 +00:00
troy
f88c0a816c
Added member function Invalidate()
1998-06-02 05:28:11 +00:00
troy
032503a790
Fixed a problem that was causing a crash
1998-06-02 02:11:26 +00:00
kipp
8cf5a7bae6
Make bullets transparent to whitespace compression
1998-06-02 01:43:02 +00:00
kipp
76fcd38b25
Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames
1998-06-01 23:39:40 +00:00
kipp
171702de44
Map DIR attribute into style
1998-06-01 23:38:55 +00:00
kipp
8d21e9ced3
Fixed block frame Clear method to work properly
1998-06-01 23:38:40 +00:00
kipp
d4971d7ddc
Added SetFirstChild; made line layout a friend of block frame
1998-06-01 23:37:55 +00:00
troy
6158f7cec4
Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
...
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
buster
74469c222b
made tables quiet again
1998-06-01 21:07:56 +00:00
kipp
54c3c6483d
Removed some debug printfs
1998-06-01 20:55:28 +00:00
kipp
581d6444fe
Support nsILinkHandler::OnOverLink
1998-06-01 20:55:10 +00:00
buster
d9377d1ff6
much better fixed and percentage width layout
1998-06-01 20:21:05 +00:00
troy
9d672d75a1
Work in progress for floaters to handle percentage based
...
width/height
1998-06-01 19:56:58 +00:00
kipp
335ed9c021
updated
1998-06-01 19:53:38 +00:00
kipp
ec65b1cd5d
Updated LoadURL API to take an nsIStreamListener
1998-06-01 19:53:27 +00:00
kipp
4bc2a2d2a2
Updated LoadURL API to take an nsIStreamListener; pass on listener to parser
1998-06-01 19:53:19 +00:00
troy
2f68ab5d3a
Added some support for percentage based width/height. Currently only works
...
for the initial reflow
1998-06-01 19:52:53 +00:00
kipp
3e64fcee88
Revised LoadURL to take an nsIStreamListener; removed old document load hooks
1998-06-01 19:52:39 +00:00
troy
6d244dcc50
Added a comment to GetStyleDimension indicating that computed percentage
...
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
troy
f1bf0636c9
Fixed an assert
1998-05-30 23:56:28 +00:00
kipp
b17d369aaa
Revised API so that correct percentage width/height could be computed
1998-05-30 21:22:17 +00:00
kipp
cec2fa4c12
Updated a few table API's so that percentage width could be properly computed
1998-05-30 21:21:51 +00:00
kipp
00d8c58559
Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
1998-05-30 21:21:11 +00:00
kipp
23c365f0db
fixed value to string for percentages to include the '%'
1998-05-30 21:20:07 +00:00
kipp
43c0fc9060
Removed dead code
1998-05-30 21:19:36 +00:00
kipp
dbdbee1dce
Updated to new GetDesiredSize API; reworkd width handling
1998-05-30 21:19:11 +00:00
kipp
80acd0c50e
Use new cssLayout api
1998-05-30 21:18:32 +00:00
kipp
f9cd42fd7b
Use new mPendingBreak state
1998-05-30 17:46:11 +00:00
kipp
def13663bd
Support BR tags in inline frames
1998-05-30 17:45:46 +00:00
kipp
50881dab1b
Partial support for BR clear behavior
1998-05-30 17:45:15 +00:00
kipp
bfa8d3912c
Cleaned up; use new slot in nsLineLayout state to support clear semantics
1998-05-30 17:44:50 +00:00
kipp
f9f814bcd1
NS_IMETHOD'd some of the API's
1998-05-30 01:36:47 +00:00
kipp
07c3fa0e56
NS_IMETHOD'd some of the API's; rewrote insert/delete/append/replace dom methods so they actually work
1998-05-30 01:36:00 +00:00
kipp
854a721047
Add attributes to result in ToHTML
1998-05-30 01:34:56 +00:00
kipp
a00451ccb3
Added QuoteForHTML method
1998-05-30 01:34:03 +00:00
kipp
0694d4131f
process DIR attribute and lang attribute
1998-05-30 01:32:50 +00:00
kipp
865bd3915c
updated
1998-05-30 01:32:10 +00:00
kipp
7c8b5b9e28
enter/exit reflow lock automatically in content changed (temporary maybe)
1998-05-30 01:31:04 +00:00
kipp
a14cad0f30
new
1998-05-30 00:44:38 +00:00
troy
5c80c8e537
Placeholder now wraps container content in a body pseudo frame
1998-05-29 23:12:26 +00:00
troy
b75fc93849
Changed ReflowChild() to handle the 'OccupiedMultiple' case
1998-05-29 23:06:08 +00:00
troy
5d79a7eef1
Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case
1998-05-29 23:05:12 +00:00
karnaze
f65a3e4e87
event improvements
1998-05-29 22:44:13 +00:00
michaelp
35c65f9d8d
fixed over-releasing of views in DeleteFrame().
1998-05-29 22:36:21 +00:00
buster
01e79b1c44
some proportional column balancing now works
...
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
troy
cee140e58d
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
kipp
91eb6b5f64
Consolidated list handling state variables
1998-05-29 18:25:14 +00:00
kipp
ee56cc154f
Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow
1998-05-29 02:34:19 +00:00
kipp
7306a69b0c
Disabled assertions for now (sigh)
1998-05-29 02:34:02 +00:00
kipp
03b868eeb4
Removed some unused list layout cruft
1998-05-29 02:33:50 +00:00
kipp
1ab3aff521
nuked
1998-05-29 02:18:17 +00:00
kipp
9542a15b1a
pass url into image loader
1998-05-29 02:16:46 +00:00
kipp
1739e2e3b5
Use outside bullets again
1998-05-29 02:16:29 +00:00
kipp
0a670a18f5
Get initial reflow state set right during child reflow; support list bullets directly
1998-05-29 02:15:46 +00:00
kipp
b3f2588ada
Pass on initial reflow to ProcessInitialReflow
1998-05-29 02:15:00 +00:00
kipp
189c6d2f00
Added bullet creator
1998-05-29 02:14:41 +00:00
kipp
856dee50ba
Revised image loader API slightly
1998-05-29 02:14:30 +00:00
kipp
0c4e97ba59
Revised image loader API slightly and used it to setup url spec via src attr
1998-05-29 02:14:17 +00:00
kipp
9dc588cc3d
stub out IsSynthetic API
1998-05-29 02:13:50 +00:00
kipp
9287e82ebb
Added initial reflow hook; setup list bullets using it
1998-05-29 02:13:25 +00:00
kipp
76f4a551b6
Added initial reflow hook
1998-05-29 02:13:13 +00:00
kipp
9c23670b2f
Treat list-item like block when creating frames
1998-05-29 02:12:59 +00:00
kipp
233f8c0b20
Assert that reflow reason is correct
1998-05-29 02:11:50 +00:00
kipp
0c0146ddcf
Added list state for line layout
1998-05-29 02:11:38 +00:00
kipp
bbce64b181
Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook
1998-05-29 02:11:27 +00:00
kipp
06471f590a
Removed nsListItemFrame and added nsHTMLBullet
1998-05-29 02:10:51 +00:00
kipp
739fa89888
IMplement new content method
1998-05-29 02:10:27 +00:00
kipp
62b85f9581
Clear both frame-in-reflow and frame-first-reflow bits on finished didreflow
1998-05-29 02:10:12 +00:00
kipp
9c82072a3a
Added a new content method to see if a piece of content is synthetic or not
1998-05-29 02:09:38 +00:00
kipp
b6bad15b86
Added another state bit
1998-05-29 02:09:18 +00:00
kipp
7afa50aacb
new
1998-05-29 02:01:43 +00:00
troy
9477c4d26e
Changed it so we don't position or size the view while in the middle
...
of reflowing. Now that's done in DidReflow()
1998-05-28 21:55:13 +00:00
buster
c3e2859006
set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
...
set the groundwork for handling percentage-width tables. Troy is adding a hook for me to get the correct width info from the parent. WIP.
1998-05-28 21:39:22 +00:00
troy
5acc41f6bd
Added some more WillReflow() calls
1998-05-28 20:12:02 +00:00
kipp
8655e732f4
Use mOpacity as a float in the nsStyleColor struct
1998-05-28 19:55:42 +00:00
kipp
2628fb4bbb
Set value to 1.0F as a float
1998-05-28 19:55:15 +00:00
kipp
091ec94143
Simplified mOpacity to a float
1998-05-28 19:54:50 +00:00
kipp
8bccb2b5d4
Added STYLE= support (partially)
1998-05-28 19:44:36 +00:00
troy
a361eea70c
Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set
1998-05-28 19:00:31 +00:00
kipp
c9ea9ff9f5
Port to new parser API
1998-05-28 18:40:23 +00:00
kipp
487fa4c11d
Revised argument handling and added code to test the ParseDeclarations css parser capability
1998-05-28 18:40:07 +00:00
kipp
2dcaa2827c
Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines
1998-05-28 18:39:42 +00:00
kipp
b665a9ad54
Revised API to be com-ish and added ParseDeclarations
1998-05-28 18:39:08 +00:00
troy
5e407954bb
Added WillReflow() calls around reflowing of child frame
1998-05-28 18:37:56 +00:00
kostello
adc7359a04
Fix crasher loading mozilla.org page
1998-05-28 18:31:44 +00:00
kipp
88ecf78a63
Default alignment of HR's is center
1998-05-28 17:10:17 +00:00
kipp
3fb5c8ed07
Fixed infinite loop in GetStyleSize code
1998-05-28 17:06:43 +00:00
kipp
9b22978d65
Eliminated bogus style from HR rule
1998-05-28 17:06:15 +00:00
kipp
3229d497b4
Support sizing properly; support width/height css (and attribute) style; elminate manual attribute storage
1998-05-28 17:05:39 +00:00
karnaze
b6b6e76759
fix bug in get submission
1998-05-28 16:00:15 +00:00
rickg
d46939053b
fixed class name crasher
1998-05-28 07:38:28 +00:00
troy
ed5b3069fb
Make sure we set the (x,y) before reflowing the frame
1998-05-28 05:41:59 +00:00
troy
b637ca6f64
Changed Paint() to not check if the frame is a pseudo frame
1998-05-28 04:38:28 +00:00
troy
26579fc14a
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00
kipp
8f988b8282
Added style support for the new css opacity property
1998-05-28 02:02:43 +00:00
kipp
4ddfb90b4c
Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction
1998-05-28 02:02:22 +00:00
kipp
98e4c731ca
Use revised HorziontallyPlaceChildren api
1998-05-28 02:01:50 +00:00
kipp
399374728a
Use default text alignment; setup opacity properly
1998-05-28 02:01:19 +00:00
kipp
561790394f
Added text_align_default for better direction handling
1998-05-28 02:00:59 +00:00
kipp
9bb34c6d9a
Added mOpacity to nsStyleColor
1998-05-28 01:59:38 +00:00
kipp
8c0b87ccbf
new
1998-05-28 01:58:58 +00:00
kipp
b268fad129
Added a new property
1998-05-28 01:11:30 +00:00
karnaze
68085d1a47
fixed memory leak from prev checkin
1998-05-28 00:42:26 +00:00
karnaze
360710c815
gui events store nsISupports; improved forms event handling
1998-05-27 23:58:07 +00:00
kipp
937fd8363b
Parse (and ignore) important declarations
1998-05-27 23:38:16 +00:00
kipp
6878d54a34
new
1998-05-27 23:37:21 +00:00