Commit Graph

3206 Commits

Author SHA1 Message Date
vidur%netscape.com
03857886a6 Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator. 1998-12-22 22:03:20 +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
buster%netscape.com
735e53976a WIP for collapsing borders. 1998-12-21 19:20:37 +00:00
brade%netscape.com
b7503c538b attempt to fix build bustage 1998-12-21 18:56:03 +00:00
buster%netscape.com
914c880651 collapsing borders now do rounding of odd-thickness borders correctly
at the pixel level.  The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
1998-12-21 18:54:23 +00:00
peterl%netscape.com
8b9304316e fix a ref counting bug with class atoms 1998-12-21 18:38:44 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
rods%netscape.com
cccaeefc91 Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
rods%netscape.com
0120a7d8e5 Added in NS_RELEASE of LookAndFeel object 1998-12-21 16:52:17 +00:00
brade%netscape.com
0dd08f1cf8 remove extra comma to reduce Macintosh compiler warnings 1998-12-21 16:40:46 +00:00
brade%netscape.com
400bea8f9d remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
rods%netscape.com
cdc4c9ba17 Added better default processing of hint 1998-12-21 13:29:32 +00:00
peterl%netscape.com
66066e1f3c fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
buster%netscape.com
d1779f0342 beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
and doesn't measure borders where the width changes along a shared edge yet.
1998-12-21 06:38:18 +00:00
buster%netscape.com
c869f97f4c fixes for PaintBorderEdges 1998-12-21 06:37:10 +00:00
buster%netscape.com
fd891ec74c added mLength to nsBorderEdge 1998-12-21 06:35:45 +00:00
peterl%netscape.com
650a9f3060 fix spelling
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +00:00
peterl%netscape.com
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
01b2811d2e fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
peterl%netscape.com
3cf603abf4 added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +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
pierre%netscape.com
331f9386ca Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com
1106a4c943 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com
e2abd8b98e sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +00:00
peterl%netscape.com
7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com
1742808c87 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com
582b88e0ae fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com
8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com
babdb0cd05 changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
akkana%netscape.com
a34d223b25 Add a comment explaining ComparePoints 1998-12-18 23:13:25 +00:00
akkana%netscape.com
a6109b9b6d Fix startup crash -- when setting one endpoint with the other one null, collapse the range 1998-12-18 23:12:29 +00:00
pierre%netscape.com
254bf03b3c Added layout/html/base/src/nsAreaFrame.cpp per Troy's request 1998-12-18 22:34:29 +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
karnaze%netscape.com
628a6752c2 changed to use rowIndex and sectionRowIndex 1998-12-18 19:03:33 +00:00
michaelp%netscape.com
166576867e Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.
1998-12-18 19:02:36 +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
karnaze%netscape.com
00b411a715 added remaining dom methods 1998-12-18 17:05:17 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
jfrancis%netscape.com
8f674885c0 More range gravity work 1998-12-18 09:32:40 +00:00
jfrancis%netscape.com
526ef0ab17 More range gravity work 1998-12-18 09:28:55 +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
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
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
troy%netscape.com
7f566a1613 Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +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
55fb6b65be Changed static casts so they compiled under VC 6.0 1998-12-18 03:29:51 +00:00
jfrancis%netscape.com
22ca77073e More range gravity work 1998-12-18 02:51:34 +00:00
vidur%netscape.com
ef7751a987 Added asynchronous script and style loading to XML. Moved out stream loader to netlib. 1998-12-18 01:36:41 +00:00
buster%netscape.com
b64da7e7fd WIP on border collapsing 1998-12-17 22:59:40 +00:00
buster%netscape.com
e0d6677573 added PainBorderSegments 1998-12-17 22:58:51 +00:00
buster%netscape.com
72c29a43f2 added nsBorderEdge and nsBorderEdges 1998-12-17 22:58:23 +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
45fc930a5a Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +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
kipp%netscape.com
7dd8fb7af7 Made nsBandTrapezoid::GetRect const 1998-12-17 18:49:39 +00:00
rods%netscape.com
3612ea4cf4 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods%netscape.com
5cf287a727 Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
buster%netscape.com
5d0af8abd5 more WIP, no new code operational 1998-12-17 07:56:24 +00:00
jfrancis%netscape.com
94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
buster%netscape.com
07d2429c5c WIP collapsing border implementation
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.
1998-12-17 07:04:42 +00:00
sfraser%netscape.com
2917ee35b3 Add ; after class definition 1998-12-17 01:42:02 +00:00
rods%netscape.com
fc330ef44a Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +00:00
buster%netscape.com
cf1dde941e use default constructor and destructor 1998-12-17 00:19:43 +00:00
buster%netscape.com
25272ef5cf an encapsulation of border information 1998-12-16 23:42:22 +00:00
buster%netscape.com
f4e91e426d oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
buster%netscape.com
a7f7678ce9 WIP collapsing border work 1998-12-16 22:19:23 +00:00
kmcclusk%netscape.com
da64fb6ca2 Fix for Linux build 1998-12-16 18:39:48 +00:00
akkana%netscape.com
4b2fbb6849 Adding public routine ComparePoints for mjudge 1998-12-16 18:36:48 +00:00
kmcclusk%netscape.com
3e16681c3f Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
buster%netscape.com
7f8a8688c4 WIP on collapsing borders 1998-12-16 17:05:14 +00:00
beard%netscape.com
6dd88d5041 Fixed case of nsIHttpURL.h 1998-12-16 08:56:10 +00:00
buster%netscape.com
d35a765d2c clean up, removed some obsolete methods 1998-12-16 06:33:15 +00:00
troy%netscape.com
3c4ae70b04 Fixed a crash when display www.sjmercury.com paginated, because we thought
we could re-use our cached cell desired info and we couldn't because there
was a next-in-flow frame and so we needed to reflow the cell frame and pull-up
its next-in-flow child frames
1998-12-16 05:41:57 +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
troy%netscape.com
fabbe773c2 Changed SetRowIndex() to be inline and non-virtual 1998-12-16 04:31:38 +00:00
troy%netscape.com
6b60c930de Removed InitRowData() member function which is now obsolete 1998-12-16 04:08:36 +00:00
troy%netscape.com
bd67066c8a Some improvements to the row splitting code 1998-12-16 03:46:03 +00:00
troy%netscape.com
165f9e859f Removed SetColIndex() which wasn't being used 1998-12-16 01:35:25 +00:00
gordon%netscape.com
38d5928647 Update table of contents for files added to layout and rdf. This is only used by Patrick's build system changes. 1998-12-16 01:22:53 +00:00
jfrancis%netscape.com
e140fbcd98 ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents() 1998-12-15 23:58:09 +00:00
troy%netscape.com
ca5d664aeb Removed an assert that was being triggered in a caseI didn't expect 1998-12-15 21:26:05 +00:00
rods%netscape.com
e70cae473d Added Pseudo-element styles for the scrollbar "look" 1998-12-15 19:11:57 +00:00
kmcclusk%netscape.com
c3a046a88c Fix for the Mac. 1998-12-15 19:08:50 +00:00
rods%netscape.com
ba1b5dbf7c Added painting methods for printing 1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com
95ba5239e1 Added code to render button using GFX for printing. 1998-12-15 18:50:21 +00:00
akkana%netscape.com
753ece449f Initial stab at CloneContents implementation 1998-12-15 18:47:44 +00:00
kipp%netscape.com
dafa9178f7 Removed bogus null pointer check 1998-12-15 17:59:49 +00:00
kipp%netscape.com
b4dfff8ca9 Added absmiddle to table halign values 1998-12-15 17:58:59 +00:00
kipp%netscape.com
a39ac58396 Map align=center to auto side margins 1998-12-15 17:58:45 +00:00
troy%netscape.com
89910f892e Work-in-progress for splitting of table row frames 1998-12-15 16:39:09 +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
vidur%netscape.com
fd093d0d82 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +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
jfrancis%netscape.com
6a7b88171d implemented toString() + minor fixmeups 1998-12-15 04:42:29 +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
akkana%netscape.com
6312a867ac Tracking jfrancis' iterator check-in 1998-12-14 23:18:46 +00:00
jfrancis%netscape.com
d12bffd83f adding nsContentIterator 1998-12-14 23:17:52 +00:00
jfrancis%netscape.com
2c9b124126 First Checked In. 1998-12-14 23:16:31 +00:00
mjudge%netscape.com
7b3233f456 caps strikes again 1998-12-14 19:10:37 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
mjudge%netscape.com
e10c799ca9 adding focus tracker 1998-12-14 18:31:13 +00:00
troy%netscape.com
09777c2885 Tables now clear the isTopOfPage when appropriate 1998-12-14 01:24:11 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
beard%netscape.com
3cb1e6a525 Regenerated with GenToc. 1998-12-13 18:15:37 +00:00
beard%netscape.com
18984e5a80 First Checked In. 1998-12-13 05:01:04 +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
e6b80694e0 Changed comments to conform to CSS2 guidelines for C-style comments 1998-12-12 19:07:38 +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
troy%netscape.com
0f30b926d8 Added isTopOfPage to nsIFrameReflow 1998-12-12 17:57:47 +00:00
kipp%netscape.com
4f352d5736 Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912) 1998-12-12 03:06:02 +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
50844df3ca Futzed with list item handling a bit 1998-12-11 22:22:29 +00:00
buster%netscape.com
9bf25cc09e fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set 1998-12-11 18:54:58 +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
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
kipp%netscape.com
7b64b1cac4 Repaired frame-util CID 1998-12-11 15:47:23 +00:00
kipp%netscape.com
6c31b2d1f4 Repaired frame-util IID 1998-12-11 15:47:09 +00:00
peterl%netscape.com
ae96d1f57c added nsNameSpaceManager.cpp & nsCSSStyleAtoms.cpp 1998-12-11 03:38:37 +00:00
peterl%netscape.com
5b4cdf46ee moved name space management to name space manager, tweaked apis 1998-12-11 02:53:49 +00:00
peterl%netscape.com
e54b306cf1 added css atoms 1998-12-11 02:51:05 +00:00
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
a16ab20767 added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com
d256c41dce sync css selector output to new selector syntax 1998-12-11 02:48:00 +00:00
peterl%netscape.com
e4814750f6 handle inline style sheet better 1998-12-11 02:47:25 +00:00
peterl%netscape.com
d274bbc66b fixed base href for inline style sheets
set case sensativity in CSS parser
1998-12-11 02:46:25 +00:00
peterl%netscape.com
84fd70a5a1 backed out prevoius change (not ready for it) 1998-12-11 02:45:25 +00:00
peterl%netscape.com
89bc03aa78 added namespace support 1998-12-11 02:42:38 +00:00
peterl%netscape.com
59693414e7 removed pseudo class atoms (moved to css atoms) 1998-12-11 02:36:36 +00:00
peterl%netscape.com
9f5496632b added namespace manager 1998-12-11 02:35:54 +00:00
peterl%netscape.com
7d379a6e97 added name space manager 1998-12-11 02:35:06 +00:00
peterl%netscape.com
2d908e2801 changed style selector api 1998-12-11 02:33:23 +00:00
peterl%netscape.com
1aac9353da fixed default value of vertical align 1998-12-11 02:33:03 +00:00
peterl%netscape.com
e78daf2f3e added name space atoms 1998-12-11 02:31:51 +00:00
peterl%netscape.com
fdc2207d84 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com
c1e7017b88 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com
51b1c4ae5a added namespace accessor 1998-12-11 02:30:08 +00:00
mjudge%netscape.com
8cb6ea4fca changing symantecs around and making the enumerator return the proper nsISupports 1998-12-11 01:40:01 +00:00
mjudge%netscape.com
a75e5694d7 initializing the refcount 1998-12-11 01:04:54 +00:00
nisheeth%netscape.com
aa1aa005f0 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent. 1998-12-11 00:52:55 +00:00
nisheeth%netscape.com
c6ed34297d Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes. 1998-12-10 23:52:46 +00:00
nisheeth%netscape.com
02450534e5 Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
akkana%netscape.com
f553a31924 Fix win32 build 1998-12-10 20:15:25 +00:00
buster%netscape.com
b7ab7be458 support for CSS2 style property "empty-cells" 1998-12-10 19:57:42 +00:00
akkana%netscape.com
167837aba0 Clone and CloneContents 1998-12-10 18:58:49 +00:00
kmcclusk%netscape.com
e2fe7fcefb Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.
1998-12-10 18:47:02 +00:00
jfrancis%netscape.com
9865b9cac1 adding nsFrameUtil.cpp 1998-12-10 18:04:52 +00:00
kipp%netscape.com
c057adba78 Added factory CID and impl to create instances of nsIFrameUtil 1998-12-10 18:04:37 +00:00
kipp%netscape.com
7edc4891a0 Added nsFrameUtil to the build 1998-12-10 18:04:18 +00:00
kipp%netscape.com
b19096bdb2 Added nsIFrameUtil to the exports 1998-12-10 18:03:26 +00:00
kipp%netscape.com
242fb3636f Added nsIFrameUtil.h 1998-12-10 18:01:29 +00:00
rods%netscape.com
64c2b7f4c6 Added printing methods 1998-12-10 17:53:34 +00:00
kipp%netscape.com
c6165333cd Added some code to handle illegal color values more compatabibly 1998-12-10 17:50:43 +00:00
kipp%netscape.com
6961a03286 Fixed border drawing to not draw zero sized borders 1998-12-10 17:50:11 +00:00
kmcclusk%netscape.com
2c74221f9c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.
1998-12-10 17:29:13 +00:00
karnaze%netscape.com
4408592081 fixed bug 1806 1998-12-10 17:22:31 +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
sfraser%netscape.com
ea8147b915 Convert AppleSingle -> binary format 1998-12-10 03:20:07 +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
4185de4375 new 1998-12-10 00:33:07 +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
buster%netscape.com
5c7381007f an even cleaner implementation of InsertRow 1998-12-09 23:30:06 +00:00
buster%netscape.com
519de93eaa fixed nsHTMLTableElement::InsertRow() 1998-12-09 23:19:12 +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
jfrancis%netscape.com
fd0bd966e7 checking in a bit more of deleteContents; hard part still not done. 1998-12-09 22:07:00 +00:00
akkana%netscape.com
07e4e1f20d implementation for CompareEndPoints 1998-12-09 19:21:49 +00:00
akkana%netscape.com
1021dc344c Update Range spec 1998-12-09 18:44:26 +00:00
buster%netscape.com
8031108e1b tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
buster%netscape.com
80cbbfefb7 cellspacing split out into x and y, HTML attribute sets both to same value 1998-12-09 06:36:32 +00:00
buster%netscape.com
5cbf93ec0f added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
buster%netscape.com
e89fff43d2 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +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
troy%netscape.com
7afd123cd9 Fixed a crash when resizing the print preview window 1998-12-09 04:26:42 +00:00
kipp%netscape.com
1778e1bc49 Backed out one change 1998-12-09 03:40:42 +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
sfraser%netscape.com
5a28b7b2fd Adding nsBlockBandData.cpp 1998-12-09 00:26:56 +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
akkana%netscape.com
9fa4b16fc0 GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input 1998-12-08 19:53:25 +00:00
buster%netscape.com
868ce29c21 fixed a minor glitch I introduced where nested tables cells were getting
robbed of a few pixels in width in some cases.
1998-12-08 19:18:33 +00:00
akkana%netscape.com
fe0a67aa9b Remove old selection code (and fix linux build) 1998-12-08 18:55:00 +00:00
danm%netscape.com
305391ae1a removed nsSelection.cpp, nsSelectionPoint.cpp, nsSelectionRange.cpp. yell at mjudge if this causes problems. 1998-12-08 18:34:59 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge%netscape.com
35b965b62b changes to selection 1998-12-08 18:25:47 +00:00
mjudge%netscape.com
24b5ddbeb3 changes to remove selection 1998-12-08 18:25:27 +00:00
troy%netscape.com
399c1e7868 Initial table pagination support 1998-12-08 17:57:45 +00:00
kipp%netscape.com
825f4e5f8b Fixed an improper use of NS_RELEASE 1998-12-08 16:08:44 +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
abfa4440e7 new 1998-12-08 03:36:34 +00:00
jfrancis%netscape.com
464959493a removing tabs; started deleteContents() imp 1998-12-08 02:26:15 +00:00
buster%netscape.com
c85a6cdd73 fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
buster%netscape.com
bc20fdad3a fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
kipp%netscape.com
bce8bc5489 new 1998-12-08 00:57:45 +00:00
troy%netscape.com
7cf1fde73d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge
1998-12-08 00:01:12 +00:00
kipp%netscape.com
924b3d53b7 Made image documents layout again 1998-12-07 22:29:13 +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
541bcbe5cd changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing
1998-12-07 19:07:45 +00:00
harishd%netscape.com
511b951294 Changed code that previously accessed mBorderStyle and mBorderColor with
new methods added in nsStyleSpacing
1998-12-07 19:06:55 +00:00
harishd%netscape.com
dccdd4a155 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com
f3cdc3cfdb Included a new DrawDashedSide() function prototype and modified DrawSide() function. 1998-12-07 19:04:39 +00:00
harishd%netscape.com
2adb142aa5 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 19:02:13 +00:00
harishd%netscape.com
17a3189fde No change 1998-12-07 19:00:45 +00:00
harishd%netscape.com
267a36eda9 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 18:56:29 +00:00
harishd%netscape.com
555757d651 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:55:19 +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
harishd%netscape.com
6b7934f14f changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing
1998-12-07 18:51:26 +00:00
harishd%netscape.com
fd7938df80 Added NS_STYLE_HAS_BORDER_COLOR (0x80) 1998-12-07 18:46:02 +00:00
troy%netscape.com
78a4ce96ec Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
harishd%netscape.com
cd4bfa41a8 Made mBorderStyle and mBorderColor arrays as protected members
and added functions GetBorderStyle(), GetBorderColor(), SetBorderStyle(),
SetBorderColor(), and ClearBorderStyleHightBit() in nsStyleSpacing.
1998-12-07 18:44:02 +00:00
jfrancis%netscape.com
d46058e3dc fixing IsSameDocument by including nsIDOMDocument.h 1998-12-07 17:53:59 +00:00
jfrancis%netscape.com
f44394e4fe implemetned ComparePointToRange() and IsPointInRange(). Stopped caching ancestor lists. Added standard copy constructor/assignment operator prohibition. 1998-12-07 16:11:52 +00:00
beard%netscape.com
6248dadd4f Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right. 1998-12-07 06:10:12 +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
sfraser%netscape.com
1d6781b1d2 Adding nsBlockReflowContext.cpp, nsBulletFrame.cpp, nsLineBox.cpp to fix build bustage. 1998-12-05 21:17:05 +00:00
kipp%netscape.com
a6324a4f7e nuked 1998-12-05 19:21:03 +00:00
kipp%netscape.com
2f392118fc new 1998-12-05 19:13:58 +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
937981b419 Removed handling of block frames (its done by nsBlockReflowContext now) 1998-12-05 16:05:23 +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
c87f62165e Removed carried-out-margin-flags 1998-12-05 16:04:33 +00:00
kipp%netscape.com
81c8c1f32d Renamed a variable to (hopefully) be more clear what it is 1998-12-05 16:03:53 +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
a52f9d25e1 nit 1998-12-05 16:01:41 +00:00
kipp%netscape.com
7d958338bc Made dtor obviously virtual instead of inherited virtual 1998-12-05 16:01:28 +00:00
kipp%netscape.com
a00a2855e8 Updated 1998-12-05 16:01:11 +00:00
kipp%netscape.com
f41c946598 Added new source files 1998-12-05 16:00:56 +00:00
kipp%netscape.com
c3cc9ba60e Support variable sized paging again, but only if an nspr log variable is defined 1998-12-05 15:58:09 +00:00
kipp%netscape.com
c1eb0f7ec4 Start enums at zero so that debug noise can map them to strings safely 1998-12-05 15:57:40 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
buster%netscape.com
4e927b37f3 fixed cellspacing and cellpadding handling
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
akkana%netscape.com
9822a0af6a Implement InSameDoc 1998-12-05 02:19:01 +00:00
wtc%netscape.com
820aec09ab The second argument for GetStyleData needs to be 'const'. 1998-12-05 01:47:37 +00:00
troy%netscape.com
e05b04aa92 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
kmcclusk%netscape.com
9868c9a0f9 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +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
kmcclusk%netscape.com
4f596b5059 Added some comments 1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com
a67e6c1fe0 Fix for MAC build 1998-12-04 19:07:46 +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
kmcclusk%netscape.com
86a2bd4b85 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +00:00
jfrancis%netscape.com
6f832796e8 fixing up start/end setters, other details 1998-12-04 18:21:52 +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