Commit Graph

3168 Commits

Author SHA1 Message Date
jfrancis%netscape.com
bcb1651103 adding mAnchorFrame to the ClearFrameRefs call 1999-03-08 01:22:37 +00:00
hyatt%netscape.com
6fea0b5680 Checking in a patch for a XUL bug in ContentInserted (inside an #ifdef INCLUDE_XUL). 1999-03-07 09:55:39 +00:00
evaughan%netscape.com
204a6670eb 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
troy%netscape.com
a1ca1b831c In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
troy%netscape.com
95847d3245 Changed ComputeDesiredWidth() to get the table layout strategy from the
first-in-flow. This fixes a crash in paginated mode
1999-03-06 17:01:15 +00:00
troy%netscape.com
5cfdeeea7c Added some XXX comments 1999-03-06 05:03:09 +00:00
warren%netscape.com
a60a14636f Fixed multiple mRefCnt problem. 1999-03-06 03:56:24 +00:00
warren%netscape.com
66b920f8d6 Fixed uninitialized variable problem. 1999-03-06 03:54:19 +00:00
troy%netscape.com
726fdd744e Used style data pointer in HTML reflow state and eliminated some calls to
GetStyleData()
1999-03-06 03:37:44 +00:00
troy%netscape.com
4733b6390e Changed Reflow() to use style info from the HTML reflow state 1999-03-06 03:30:25 +00:00
nisheeth%netscape.com
a8aa6a7b87 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser. 1999-03-06 02:01:11 +00:00
troy%netscape.com
5d77d78450 Removed some code that is no longer needed 1999-03-06 01:58:33 +00:00
troy%netscape.com
6247024d47 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:48:28 +00:00
troy%netscape.com
04243649ce Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
troy%netscape.com
c3afb0e9cf Removed some static functions that are no longer needed 1999-03-06 00:48:45 +00:00
troy%netscape.com
a1d1411076 Added ComputePadding() member function 1999-03-06 00:36:59 +00:00
troy%netscape.com
561212215f Removed some code that's no longer needed, because mComputedPadding is now
part of the HTML reflow state
1999-03-06 00:04:24 +00:00
cyeh%netscape.com
b27fdb082f fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
troy%netscape.com
e3d132ed9c Added ComputeMargin() member function that takes the containing block width
as an argument. This is necessary for absolutely positioned elements which use
the padding edge and not the content edge for the containing block
1999-03-05 22:24:27 +00:00
troy%netscape.com
3710fb6246 Fixed containing block calculation for absolutely positioned elements. Now
uses padding edge and not the content edge
1999-03-05 21:26:49 +00:00
kipp%netscape.com
3c7c26029e Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues 1999-03-05 19:25:44 +00:00
kipp%netscape.com
4431b15159 nuked global variables 1999-03-05 19:24:45 +00:00
kipp%netscape.com
5d7071908f Disable trim code for now; disable horizontal alignment during pass1 table reflow 1999-03-05 19:24:15 +00:00
kipp%netscape.com
1dd581bfed Remove dead global-variable nonsense 1999-03-05 19:23:52 +00:00
kipp%netscape.com
599643d249 Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
kipp%netscape.com
95696e90a5 Removed dead include 1999-03-05 19:23:09 +00:00
kipp%netscape.com
f0d400acb5 nuked 1999-03-05 15:23:46 +00:00
kipp%netscape.com
fb7aed5151 Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
troy%netscape.com
7b9dd5e03b Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
kipp%netscape.com
8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
kipp%netscape.com
50b6f2e62a Eliminate some compiler warnings 1999-03-05 04:28:54 +00:00
kipp%netscape.com
f9b2b82a67 Output rects in twips; eliminated some typo bugs with selection directions 1999-03-05 04:28:40 +00:00
kipp%netscape.com
d89499092d use new nsHTMLReflowState ctors; made pages support IsPercentageBase 1999-03-05 04:28:07 +00:00
kipp%netscape.com
462a9f99e0 Output rects in twips 1999-03-05 04:26:40 +00:00
kipp%netscape.com
bdfaebdcc6 Refactored code to make effecient use of computed state in nsHTMLReflowState 1999-03-05 04:26:21 +00:00
kipp%netscape.com
d277629b94 use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state 1999-03-05 04:25:57 +00:00
kipp%netscape.com
b90e199d6e Store more computed state; reformulated the constructors for nsHTMLReflowState 1999-03-05 04:25:25 +00:00
kipp%netscape.com
37fa734c4e Revised computations for blocks; store more computed values 1999-03-05 04:24:20 +00:00
kipp%netscape.com
6b3dd64c16 Spanked almost away 1999-03-05 04:23:41 +00:00
kipp%netscape.com
119ced3c4c Removed dead code; output rects naturally 1999-03-05 04:22:54 +00:00
kipp%netscape.com
d556e3e3cd Removed List method 1999-03-05 04:22:29 +00:00
kipp%netscape.com
16b4103937 Minor tweaks to work better with computed values in html reflow state 1999-03-05 04:22:11 +00:00
kipp%netscape.com
40529e4640 nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state 1999-03-05 04:21:32 +00:00
kipp%netscape.com
2f71be6002 Some asserts for me 1999-03-05 04:20:31 +00:00
kipp%netscape.com
d7bf08c6f6 Support more css style for hr's; map align to auto margins 1999-03-05 04:20:07 +00:00
kipp%netscape.com
9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
kipp%netscape.com
cf6c620f62 Cleaned up margins hackery and made things use css instead of evil code in the block layout code 1999-03-05 04:18:58 +00:00
evaughan%netscape.com
dbb62f25a6 Fixed a bug that caused TitledButtons and ProgressMeters to be skews when made inline. 1999-03-04 23:39:06 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy%netscape.com
13d84ddc5c Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
evaughan%netscape.com
2292d10dc5 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
hyatt%netscape.com
a49cb56aaf Fix to the ContentInserted function (ifdef XUL only) for treechildren. 1999-03-03 03:11:55 +00:00
pollmann%netscape.com
0ccbd837a4 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +00:00
pollmann%netscape.com
5204ba1e7a Give nsTextControlFrame a notification when readonly on a TextArea is changed. 1999-03-03 03:05:31 +00:00
pollmann%netscape.com
e91bfd4a29 Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values. 1999-03-03 02:54:25 +00:00
joki%netscape.com
57e49aab2a Fix for frames not resizing. 1999-03-03 01:59:50 +00:00
mjudge%netscape.com
cba888fc69 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
karnaze%netscape.com
e557234435 improved <iframe> sizing to consider left, right, etc borders 1999-03-03 00:37:55 +00:00
kmcclusk%netscape.com
82dac76411 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
joki%netscape.com
94157169a7 Adding new interface for focusable content 1999-03-02 19:05:54 +00:00
ftang%netscape.com
ffc1e146ac fix SmallCap to make it work for the whole range of unicode 1999-03-02 18:25:22 +00:00
brade%netscape.com
8fe328a354 add static to LegendHack() to reduce compiler warnings on Macintosh 1999-03-02 15:17:35 +00:00
brade%netscape.com
0e163f8674 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
brade%netscape.com
107ba93c81 reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +00:00
cls%seawood.org
0bbc0ba3a1 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight. 1999-03-02 10:20:52 +00:00
evaughan%netscape.com
c021740cb1 Made the image accessible from CSS via list-style-image. 1999-03-02 05:00:51 +00:00
sfraser%netscape.com
092b04689b Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
pollmann%netscape.com
8f30448ae5 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340 1999-03-02 03:31:17 +00:00
pollmann%netscape.com
00a111b13e Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame) 1999-03-02 03:26:29 +00:00
pollmann%netscape.com
4a3e05e302 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails. 1999-03-02 03:22:45 +00:00
pollmann%netscape.com
f9e570d534 Fix change notifications for combo boxes. 1999-03-02 03:19:25 +00:00
evaughan%netscape.com
31d9bf023a Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
hyatt%netscape.com
2444e248ff Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.
1999-03-02 01:07:28 +00:00
akkana%netscape.com
0664eb6e9a Fix potential leak of content sink 1999-03-02 00:47:43 +00:00
akkana%netscape.com
b03ef3499c include the parser library too 1999-03-01 20:46:08 +00:00
karnaze%netscape.com
3b3d626d1f bug 3347 1999-03-01 19:25:47 +00:00
akkana%netscape.com
48dcd3da7a Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell 1999-03-01 19:21:01 +00:00
vidur%netscape.com
cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
buster%netscape.com
e03330c847 fixed IsNested to account for outer table frame
removed obsolete debug code
1999-03-01 06:40:24 +00:00
karnaze%netscape.com
f641f7af45 fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl%netscape.com
8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com
ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com
82a042a555 tweaked style hint for overflow 1999-02-27 07:16:27 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com
0864f69c78 added CSS3 pseudo classes 1999-02-27 07:14:33 +00:00
peterl%netscape.com
65be83c9dd added CSS3 UI pseudo classes 1999-02-27 07:14:13 +00:00
peterl%netscape.com
6ded9b5abe set document before adding attributes 1999-02-27 07:13:48 +00:00
karnaze%netscape.com
1c27eb5749 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
vidur%netscape.com
c1e5f31841 map and area attribute tests 1999-02-27 02:52:44 +00:00
hyatt%netscape.com
70a4c0ce9d Modified HTML content's QueryInterface macro to supported nsIStyledContent. 1999-02-27 01:36:41 +00:00
hyatt%netscape.com
375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
2a99f6d706 Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
634942997c Adding the NS_ISTYLEDCONTENT_IID to the nsHTMLIID files, so that HTML content
can see it (makes the QueryInterface macro work).
1999-02-27 01:33:25 +00:00
hyatt%netscape.com
927493e52a Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
hyatt%netscape.com
6153afc737 Changes to tree frame construction code. 1999-02-27 01:28:19 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
pollmann%netscape.com
6dcb7e30da Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.
1999-02-26 20:01:48 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
59afd8abfb Removed ifdef'd out code 1999-02-26 19:22:20 +00:00
ebina%netscape.com
4e65ecbaf2 Changing RegisterFactory to use the new API. 1999-02-26 19:08:57 +00:00
kipp%netscape.com
1f8cfdbaac Use our own null value 1999-02-26 17:13:30 +00:00
kipp%netscape.com
a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com
cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com
b476316084 Pass in default image size when loading image 1999-02-26 17:12:05 +00:00
kipp%netscape.com
c4b8cdb1ac Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
kipp%netscape.com
8e83b73c68 Fixed up operator new and delete 1999-02-26 17:09:35 +00:00
kipp%netscape.com
1abf79d0f1 Removed dependency on static constructors; implement operatore delete 1999-02-26 17:08:48 +00:00
kipp%netscape.com
c0c382d3c0 Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame 1999-02-26 17:08:20 +00:00
kipp%netscape.com
173cc9b534 Avoid purify noise by initializing all member variables 1999-02-26 17:07:49 +00:00
kipp%netscape.com
99df251883 Support limited scaling of images on unix 1999-02-26 17:07:28 +00:00
kipp%netscape.com
5fca6839f0 Removed MoveOutOfFlow 1999-02-26 17:07:01 +00:00
kipp%netscape.com
c7fde5e17e Implement operator delete; get rid of static constructor 1999-02-26 17:05:20 +00:00
kipp%netscape.com
a8d4b57b12 Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code 1999-02-26 17:04:44 +00:00
kipp%netscape.com
80b0e6a236 new 1999-02-26 15:54:00 +00:00
karnaze%netscape.com
b9d95f9ba2 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
evaughan%netscape.com
7f143f5337 Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan%netscape.com
5fe142b7e4 Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
rickg%netscape.com
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
troy%netscape.com
e44548e676 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
buster%netscape.com
70608d9f51 added GetStyleContextFor 1999-02-25 19:55:06 +00:00
vidur%netscape.com
b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
brade%netscape.com
ec6584765a add "static" to GetFrameBorderHelper to reduce compiler warnings on Macintosh 1999-02-25 15:38:29 +00:00
troy%netscape.com
11c7f0375f Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set
1999-02-25 05:41:05 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
ftang%netscape.com
81894ce107 change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer 1999-02-24 18:21:23 +00:00
troy%netscape.com
74a2bd88d0 Work-in-progress for having frame construction code handle creation
of continuing frames
1999-02-24 17:16:04 +00:00
troy%netscape.com
47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
kipp%netscape.com
50a388ca59 Fixed bug #2885 - the linebreaker couldn't handle a special case... 1999-02-24 05:24:06 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
karnaze%netscape.com
a623691a08 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094) 1999-02-23 21:03:57 +00:00
kipp%netscape.com
bb34e891d8 Latest snapshot using linux version of the tools 1999-02-23 19:38:50 +00:00
kipp%netscape.com
acaeaf5925 Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly 1999-02-23 19:36:14 +00:00
kipp%netscape.com
921f7d5d90 For now text acts like a replaced element 1999-02-23 19:35:21 +00:00
kipp%netscape.com
de667c2242 Removed gratuitous destructor 1999-02-23 19:34:58 +00:00
kipp%netscape.com
fb3e87241d Cleanedup vertical alignment support 1999-02-23 19:34:37 +00:00
kipp%netscape.com
ee9d03abfa Improved vertical alignment correctness; fixed glaring error with box-width and height computation 1999-02-23 19:34:17 +00:00
kipp%netscape.com
a1ea3e5ee6 Removed mLineHeight from the html reflow state; changed the signature of the VerticalAlignFrames method; made DetermineFrameType a callable static method 1999-02-23 19:33:34 +00:00
kipp%netscape.com
2285d2368f Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations 1999-02-23 19:33:06 +00:00
kipp%netscape.com
d77265fa2f Added a warning comment 1999-02-23 19:32:33 +00:00
kipp%netscape.com
6359d0f8d4 Revised the signature of the VerticalAlignFrames method 1999-02-23 19:32:20 +00:00
kipp%netscape.com
02b92b2a8e Compute minimum-line-height and store it into the inline-reflow context 1999-02-23 19:32:00 +00:00
vidur%netscape.com
a5024bec72 Fixed casing for nsCOMPtr inclusion 1999-02-23 19:22:53 +00:00
vidur%netscape.com
93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
karnaze%netscape.com
cc3251aeaf added assertion for null peeked frame pointer in Reflow. 1999-02-23 18:06:55 +00:00
warren%netscape.com
9e9215c7f5 Added check for null border. 1999-02-23 09:01:21 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
troy%netscape.com
2e35a63334 Added include of $(PUBLIC)\unicharutil to fix build bustage 1999-02-23 04:28:08 +00:00
karnaze%netscape.com
009c914f35 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
ftang%netscape.com
59e3b5ce0e Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this. 1999-02-23 02:27:54 +00:00
mjudge%netscape.com
b13e4da265 Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
troy%netscape.com
68894039d4 More work-in-progress for table pagination 1999-02-22 03:28:00 +00:00
mjudge%netscape.com
eaf1a3cc93 gettig word jumping to work, adding GetPrevWord to texttransformer 1999-02-22 03:20:59 +00:00
troy%netscape.com
2f913ac8b5 Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow
1999-02-21 19:55:22 +00:00
mjudge%netscape.com
73b74bd729 Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course 1999-02-21 19:43:40 +00:00
troy%netscape.com
02403aa752 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells
1999-02-21 18:59:00 +00:00
troy%netscape.com
c449a6a178 Changed GetEffectiveRowSpan() 1999-02-21 18:38:41 +00:00
mjudge%netscape.com
4190f9d7be adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge%netscape.com
cee2723326 Shift click to continue selection 1999-02-21 01:23:40 +00:00
mjudge%netscape.com
bbd3667ca9 Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly 1999-02-20 23:52:05 +00:00
buster%netscape.com
5d4f949e92 the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team
1999-02-20 21:27:28 +00:00
mcafee%netscape.com
ceeab4f5d9 Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris) 1999-02-20 06:05:15 +00:00
troy%netscape.com
0bdf65216d Pagination work-in-progress 1999-02-20 03:15:03 +00:00
mjudge%netscape.com
fb3a597e8a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
buster%netscape.com
a7658c739f work-in-progress for scrolling frames into view. Not called anywhere in layout yet. 1999-02-19 23:43:41 +00:00
evaughan%netscape.com
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
troy%netscape.com
e7f6d9eb81 Removed some old code 1999-02-19 05:10:59 +00:00
mcafee%netscape.com
65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
nisheeth%netscape.com
d0ab536a28 Adding test case for attribute changes on the BR element via the DOM. 1999-02-19 02:15:03 +00:00
mjudge%netscape.com
ed093b8ad5 fogot to move files out of this makefile.in 1999-02-19 02:12:19 +00:00
troy%netscape.com
ddd4da9f70 Removed some XXX code that was temporary, but I forgot to delete 1999-02-19 02:05:00 +00:00
troy%netscape.com
b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
mjudge%netscape.com
1afd545499 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard. 1999-02-19 00:21:22 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
buster%netscape.com
488d53c3f2 added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view. 1999-02-18 22:52:21 +00:00
kmcclusk%netscape.com
8dcf8365b9 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com
9b8e3b6bef removed usless includes 1999-02-18 22:23:52 +00:00
kipp%netscape.com
d5d5c4fd5e Added missing ctor/dtor 1999-02-18 22:23:36 +00:00
kipp%netscape.com
eb1ba95e39 Added support methods to make bullet alignment better 1999-02-18 22:23:13 +00:00
kipp%netscape.com
c972607d82 Process bullets better so that they are vertically aligned properly 1999-02-18 22:22:55 +00:00
kipp%netscape.com
94912a8da7 Renamed bullet pseudo style 1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
0006f5de38 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
kipp%netscape.com
44573facc6 Fixed bug #3161 - removed bogus assertion 1999-02-18 18:25:45 +00:00
cyeh%netscape.com
af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
troy%netscape.com
dc28188fdc Fixed a style context problem 1999-02-18 16:56:15 +00:00
mcafee%netscape.com
cbff9a4021 Adding newline at end of file for Solaris/CC 1999-02-18 12:14:59 +00:00
hyatt%netscape.com
7d48abba75 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.
1999-02-18 05:02:50 +00:00
troy%netscape.com
9748bc8839 Added support for 'width' and 'height' values of 'inherit' 1999-02-18 04:40:16 +00:00
kipp%netscape.com
2b027db79b updated hash generator 1999-02-18 03:29:24 +00:00
kipp%netscape.com
674d43c0b3 Fixed up alignment mappings 1999-02-18 03:28:55 +00:00
kipp%netscape.com
9f5bab8779 Added methods for supporting 2 pass vertical align reflow 1999-02-18 03:28:00 +00:00
kipp%netscape.com
0004ac4128 Support 2 pass vertical-align reflow for top/bottom better 1999-02-18 03:27:41 +00:00
kipp%netscape.com
cea1fae3c5 Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren 1999-02-18 03:27:23 +00:00
kipp%netscape.com
7a4a4efc3d Removed a skid mark 1999-02-18 03:26:42 +00:00
kipp%netscape.com
76efa6ea05 Detect errors more often by prioritizing its status over size-available 1999-02-18 03:26:19 +00:00
kipp%netscape.com
6d972b5595 Added VerticalAlignFrames for 2nd pass vertical align reflow 1999-02-18 03:25:48 +00:00
kipp%netscape.com
7c15c2fc1d Removed GetAutoMarginSize; added VerticalAlignFrames 1999-02-18 03:25:23 +00:00
kmcclusk%netscape.com
9d22e42a58 Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
vidur%netscape.com
8ac544b55c Implemented the correct content model for the TITLE element and allowed for dynamic change. 1999-02-17 23:56:55 +00:00
troy%netscape.com
b1c378db6f Changes for having OBJECT element render its contents if the OBJECT can't
be rendered
1999-02-17 17:02:27 +00:00
danm%netscape.com
8a3666cbb7 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
kmcclusk%netscape.com
284874c13e added #ifdef XP_PC in nsSelectControlFrame::GetProperty to fix MAC crash
on www.city.net
1999-02-17 01:24:16 +00:00
kmcclusk%netscape.com
76fcd3f069 Added code to get the selected item from the content model during Paint.
Factored code to paint option elements. Listboxes, single+multiselect and
combo boxes now print their state correctly.
1999-02-16 18:57:44 +00:00
rickg%netscape.com
359e6e5567 fixed a wad of little bugs and added regression test 1999-02-16 07:38:27 +00:00
troy%netscape.com
912d59f314 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
troy%netscape.com
db8cffe775 Minor clean up 1999-02-16 04:07:27 +00:00
mjudge%netscape.com
90ade6856e fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
mcafee%netscape.com
6ecfff87d0 Ignore generated files 1999-02-16 01:50:51 +00:00
nisheeth%netscape.com
c2d0de6547 Test file for changing attributes on the PRE tag via the DOM. 1999-02-16 01:02:21 +00:00
michaelp%netscape.com
980dd8c34f all scrollbar recomputation is now the responsibility of the owner of the
scrolled view.
1999-02-16 00:53:15 +00:00
nisheeth%netscape.com
540463be30 Test for changing attributes on the DIV, P, and HEADING tags via the DOM. 1999-02-16 00:24:29 +00:00
nisheeth%netscape.com
e0692ded40 Test file for changing attributes on the FONT and BASEFONT elements using the
DOM.
1999-02-15 23:51:32 +00:00
nisheeth%netscape.com
9dda2f1b02 Added style hints for DOM attribute changes to the FONT and BASEFONT content objects. 1999-02-15 23:48:09 +00:00
nisheeth%netscape.com
c447c1ece3 - Changed name of getter function for style hints to GetStyleHintForAttributeChange().
- Plugged in style hint for changes to the <HR NOSHADE> attribute.
1999-02-15 06:42:44 +00:00
nisheeth%netscape.com
e0678c9c7e Test for DOM attribute changes on the HR element. 1999-02-15 01:50:01 +00:00
troy%netscape.com
1291adaf56 Added a cast 1999-02-14 06:13:06 +00:00
troy%netscape.com
21440e671d Added some casts to get things to compile 1999-02-14 06:12:29 +00:00
troy%netscape.com
07ce269f24 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
troy%netscape.com
eab91a0aa8 Fixed InitConstraints() to correctly compute the containing block height
for child elements of a scrolled element
1999-02-14 04:43:44 +00:00
troy%netscape.com
bf53f99087 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
kipp%netscape.com
fff7bf9929 Avoid using the trapezoid data when we have none (bug #1277) 1999-02-13 19:39:31 +00:00
kipp%netscape.com
7d24721c1b Be more careful about returning break-before status 1999-02-13 19:18:45 +00:00
kipp%netscape.com
19695398af Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782) 1999-02-13 17:49:42 +00:00
troy%netscape.com
c928d3557c Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
sfraser%netscape.com
006010c385 Ensure the caret is refreshed after the text frame containing it is redrawn 1999-02-13 04:46:47 +00:00
sfraser%netscape.com
a99f1c6f2c Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell. 1999-02-13 04:45:44 +00:00
kipp%netscape.com
628ca67c46 Use dont_AddRef on calls that increment the addref 1999-02-12 20:13:47 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
troy%netscape.com
fcbd2edc14 API change for pres shell 1999-02-12 18:22:08 +00:00
troy%netscape.com
ebfff565c5 Fixed build bustage 1999-02-12 18:18:34 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
dcone%netscape.com
5595a5299f First Checked In. 1999-02-12 17:39:49 +00:00
peterl%netscape.com
9edcae35f2 fixed moz extension atoms 1999-02-12 06:21:34 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
troy%netscape.com
1c116ce1a6 Added GoToAnchor() 1999-02-12 05:39:33 +00:00
evaughan%netscape.com
db164f2293 Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.
1999-02-12 05:20:55 +00:00
hyatt%netscape.com
bedf348d9a Changes to the table frame construction code to fix breakage in the tree view. 1999-02-12 01:35:37 +00:00
sfraser%netscape.com
ef131779ca Fix selection bustage, which was a post-merge error on my part. 1999-02-12 00:27:44 +00:00
sfraser%netscape.com
f220577393 #ifdef tbe blue selection triangles in until the caret code is turned on 1999-02-12 00:05:19 +00:00
sfraser%netscape.com
2a8b787470 Add code to show a caret (#ifdeffed out for now) 1999-02-12 00:02:56 +00:00
sfraser%netscape.com
9ab69a922e Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00