Commit Graph

4013 Commits

Author SHA1 Message Date
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
a7ba61e78c Making sure that nsIStyledContent.h gets exported. 1999-02-27 01:31:42 +00:00
hyatt%netscape.com
234ceed838 Changes to makefiles to ensure that nsIStyledContent.h is exported. 1999-02-27 01:31:16 +00:00
hyatt%netscape.com
271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +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
alecf%netscape.com
2a71e76f16 BandRect needs to be public to be visible outside the class definition (HPUX bustage) 1999-02-26 17:36:00 +00:00
kipp%netscape.com
ce54fd4449 Support sized images 1999-02-26 17:15:15 +00:00
kipp%netscape.com
2eee855f3b Support entities (bug #3112) 1999-02-26 17:13:51 +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
45159442c2 Removed dependency on static constructor 1999-02-26 17:03:45 +00:00
kipp%netscape.com
63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
kipp%netscape.com
f76ba9c5e6 Support desired image size during loading 1999-02-26 17:02:37 +00:00
kipp%netscape.com
0fdcf3b76a Added IsFloating inline 1999-02-26 17:02:05 +00:00
kipp%netscape.com
8ab09256bd Added in desired-size to image loading request 1999-02-26 17:01:34 +00:00
kipp%netscape.com
d1fe3c6035 Removed global gLogModule 1999-02-26 16:59:57 +00:00
kipp%netscape.com
80b0e6a236 new 1999-02-26 15:54:00 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +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
hyatt%netscape.com
01db84daa0 Preparing expand/collapse so that it works the right way. 1999-02-26 02:50:21 +00:00
sfraser%netscape.com
3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +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
hyatt%netscape.com
0dca02cb79 Implemented rollover feedback. 1999-02-25 09:37:17 +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
vidur%netscape.com
6803ad7f1b XML books test case (not part of the build so don't shoot me). 1999-02-25 02:26:53 +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
hyatt%netscape.com
f9fc243939 Backing out the onItemClick code. I don't think we should be using it,
since event bubbling appears to be working.
1999-02-24 11:15:43 +00:00
hyatt%netscape.com
df9c54ab16 Landing support for the special onItemClick default event handler that can be
placed on tree views (and executed in the context of tree items).
1999-02-24 10:38:56 +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
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
hyatt%netscape.com
d6fb7c48ab Changing selection in the tree. 1999-02-23 02:39:44 +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
642c6f7d87 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
mjudge%netscape.com
5aa43ea696 adding comments to interfaces 1999-02-22 05:19:06 +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
mjudge%netscape.com
7df9af9d91 adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +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
mjudge%netscape.com
5e896e4c40 adding word jumping with CNTRL char down now 1999-02-22 03:20:18 +00:00
mjudge%netscape.com
2e01e0d61b adding NPL 1999-02-22 03:19:24 +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
62d53916f3 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away. 1999-02-21 05:14:36 +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
4aeb615bb6 Fixed out of scope compile bug. 1999-02-19 20:12:08 +00:00
evaughan%netscape.com
a36ea6bfd7 added files: mozilla/layout/html/forms/src/nsButtonFrameRenderer.cpp, mozilla/layout/xul/base/src/nsTitledButtonFrame.cpp 1999-02-19 18:29:56 +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
616489d75c Switching over to PRBool, PR_TRUE, and PR_FALSE. Keeps us honest, and Solaris happy. a=pinkerton 1999-02-19 02:54:53 +00:00
mcafee%netscape.com
65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
mcafee%netscape.com
024d71b7d8 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:32:58 +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
mcafee%netscape.com
8f769f292e Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:03:23 +00:00
mcafee%netscape.com
42b7604d15 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. 1999-02-19 01:41:03 +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
cyeh%netscape.com
fee749ae8c removing special config.mak and rules.mak. special rules have been rolled
into mozilla/config/config.mak and mozilla/config/rules.mak
1999-02-19 00:10:02 +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
buster%netscape.com
194ee07b45 added ScrollFrameIntoView(), which forces the given frame to be visible in the current view. 1999-02-18 22:51:46 +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
pinkerton%netscape.com
e691506671 fix types and remember to initialize the grippy last highlight to none at creation. Fixes a problem where the first grippy in the toolbar was being drawn highlighted at create time. 1999-02-18 19:28:00 +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
b566ddb09a Made it build and work on linux 1999-02-18 03:29:37 +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
kipp%netscape.com
eeca19df62 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +00:00
kipp%netscape.com
a7da341a22 Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing 1999-02-18 03:24:39 +00:00
kipp%netscape.com
3245994287 Removed obsolete GetAutoMarginSize method 1999-02-18 03:19:02 +00:00
vidur%netscape.com
0b6657a837 Backed out bogus update to test 1999-02-18 00:19:12 +00:00
vidur%netscape.com
5ed7dde231 Supported XML namespace decls as attributes of HTML content embedded in XML 1999-02-18 00:18:50 +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
sfraser%netscape.com
4e6d046d98 Add nsCaret.cpp 1999-02-17 23:37:21 +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
ftang%netscape.com
0ba6980fad change font preference code so it will pick the font setting for the defalt charset instead of always latin 1. Reviewed by peterl, kipp and troy 1999-02-17 15:52:02 +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
sfraser%netscape.com
6735920296 Do the addref in a better way; part of the nsCOMPtr carpool 1999-02-17 02:13:54 +00:00
sfraser%netscape.com
f250d738cb Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee%netscape.com
9a63580434 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +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
jfrancis%netscape.com
1a6a12c09f new content subtree iterator 1999-02-16 15:48:13 +00:00
jfrancis%netscape.com
7718e783d0 replaced IsNodeInsideRange() with CompareNodeToRange() 1999-02-16 15:46:37 +00:00
jfrancis%netscape.com
515a5cf2a2 Replaced IsNodeInsideRange() with CompareNodeToRange() and also removed forward class declarations to make VC5 happy 1999-02-16 15:43:28 +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
buster%netscape.com
ef3bcb4d01 changed some forward class declarations to #include of the class
declaration.  These classes are used in nsCOMPtr's, and
VC 5.0 needs the full class declaration to compile.
1999-02-15 16:26:04 +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
jfrancis%netscape.com
eaa564b983 I wish VC++ would give me a @#$*&^#! break. 1999-02-14 12:51:29 +00:00
jfrancis%netscape.com
990f18eb3b some (NULL != nsCOMPtr<Foo>'s) snuck thru - VC++ no like. I don't like 'em either. 1999-02-14 11:14:55 +00:00
jfrancis%netscape.com
f6a8523fba VC++ not hip to mixing goto's with automatics that have contructor/destructors. 1999-02-14 10:18:20 +00:00
jfrancis%netscape.com
9dcb3ba518 ground work for new content subtree iterator 1999-02-14 09:15:13 +00:00
jfrancis%netscape.com
f15faad70f nsCOMPtr conversion plus some new utility functions 1999-02-14 09:14:50 +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
troy%netscape.com
9fa8b62428 Added NS_FRAME_REPLACED_ELEMENT 1999-02-13 05:58:28 +00:00
sfraser%netscape.com
ac19a57cb6 Added RefreshMethod, and tweaked code for the UNIX no-blinking case. 1999-02-13 04:47:45 +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
kipp%netscape.com
f13c0c6836 Eliminate some linux compiler warnings 1999-02-12 18:24:53 +00:00
troy%netscape.com
fcbd2edc14 API change for pres shell 1999-02-12 18:22:08 +00:00
kipp%netscape.com
43a8adbdff Build nsCaret 1999-02-12 18:21:29 +00:00
troy%netscape.com
ebfff565c5 Fixed build bustage 1999-02-12 18:18:34 +00:00
pinkerton%netscape.com
2a7e364b21 fixes for changes to nsIPresShell api's 1999-02-12 18:18:01 +00:00
troy%netscape.com
06e9dfdb74 Fixed some compile errors using nsCOMPtr 1999-02-12 18:15:02 +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
jfrancis%netscape.com
ae13ec75e4 divorce from nsIEnumerator 1999-02-12 08:20:40 +00:00
peterl%netscape.com
2ddb4e5970 fixed atom ref counting bug 1999-02-12 08:16:00 +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
jfrancis%netscape.com
036585983e adding nsIContentIterator.h 1999-02-12 06:00:06 +00:00
jfrancis%netscape.com
e72764b4bb File Removed. 1999-02-12 05:43:51 +00:00
troy%netscape.com
1c116ce1a6 Added GoToAnchor() 1999-02-12 05:39:33 +00:00
jfrancis%netscape.com
c05f31a624 XPCOMified the content iterator; fixed some bugs in DeleteRange() 1999-02-12 05:28:46 +00:00
jfrancis%netscape.com
c7563c0df2 XPCOMified nsContentIterator; added it to layout factory CreateInstance code 1999-02-12 05:28:12 +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
jfrancis%netscape.com
4bc7ed9202 added contentIterator cid 1999-02-12 04:42:14 +00:00
jfrancis%netscape.com
acff8104b6 fixing iid collision with simon 1999-02-12 04:39:21 +00:00
jfrancis%netscape.com
c47974d9e4 *** empty log message *** 1999-02-12 04:36:18 +00:00
jfrancis%netscape.com
a53854a1ea First Checked In. 1999-02-12 04:28:29 +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
4832e6f185 Fix after akkana's changes: nsISelection -> nsIDOMSelection 1999-02-12 00:55:46 +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
sfraser%netscape.com
079a8b07df Add support for selection listener interfaces 1999-02-11 23:58:46 +00:00
sfraser%netscape.com
3af75db3b6 Added nsICaret and nsIDOMSelectionListener to exports 1999-02-11 23:56:11 +00:00
sfraser%netscape.com
ccb40923d6 Add nsCaret.cpp 1999-02-11 23:52:06 +00:00
sfraser%netscape.com
d281709765 Add nsICaret and nsIDOMSelectionListener.h 1999-02-11 23:50:04 +00:00
sfraser%netscape.com
393be748cb First Checked In. 1999-02-11 23:49:08 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
akkana%netscape.com
2c4a099fa1 Renaming nsISelection to nsIFrameSelection.
Here is the old log from nsISelection (since CVS doesn't allow renames):
> revision 1.9
> date: 1999/02/02 00:23:35;  author: mjudge%netscape.com;  state: Exp;  lines: +2 -1
> keyboard navigation of selection.  adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API.  nsRangeList implements the handlekeyevent now.
> ----------------------------
> revision 1.8
> date: 1999/01/29 18:57:51;  author: akkana%netscape.com;  state: Exp;  lines: +6 -0
> Implement a new interface, nsIDOMSelection, intended to become the
> external interface for selection (to be IDL-ified later).
>
> Fix some editor bugs:
> - Advance the cursor on text insert (so text is inserted in the right order)
> - Make DeleteSelection in the editor call the actual selection
> - Make DeleteSelection update the frames' notion of the selection
> ----------------------------
> revision 1.7
> date: 1999/01/25 01:42:32;  author: mjudge%netscape.com;  state: Exp;  lines: +3 -4
> Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect.  This is not yet working fully.  Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next.  RangeList also had some modifications to better selection
> ----------------------------
> revision 1.6
> date: 1999/01/22 18:58:09;  author: mjudge%netscape.com;  state: Exp;  lines: +6 -0
> chagnes for selection to work
> ----------------------------
> revision 1.5
> date: 1999/01/18 22:57:08;  author: mjudge%netscape.com;  state: Exp;  lines: +1 -1
> Files for selection across frames.
> ----------------------------
> revision 1.4
> date: 1998/12/14 18:34:09;  author: mjudge%netscape.com;  state: Exp;  lines: +13 -1
> adding in selection
> ----------------------------
> revision 1.3
> date: 1998/12/08 18:25:37;  author: mjudge%netscape.com;  state: Exp;  lines: +9 -32
> changes to selection
> ----------------------------
> revision 1.2
> date: 1998/05/01 05:55:11;  author: rpotts;  state: Exp;  lines: +1 -1
> nslayout.h is *all* lower case
> ----------------------------
> revision 1.1
> date: 1998/04/30 19:15:05;  author: rods;  state: Exp;
> initial
1999-02-11 23:10:20 +00:00
karnaze%netscape.com
0f23c87234 table related frames don't create frames for children that are invalid (e.g. map, body, etc.) 1999-02-11 23:08:28 +00:00
troy%netscape.com
57b43ab716 Partial fix for bug #644. We still re-load the document un-necessarily, but
at least now we move to the anchor
1999-02-11 23:08:04 +00:00
rods%netscape.com
785ddfe1a6 Commented out the rollover code that sets the class to a pseudo-class 1999-02-11 18:36:40 +00:00
kmcclusk%netscape.com
c78c43bfcb Added additional style rules+properties for INPUT elements for printing and gfx-rendering. 1999-02-11 18:27:38 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
troy%netscape.com
c553baf851 Changed to using nsCOMPtr 1999-02-11 15:54:13 +00:00
troy%netscape.com
3b9ef6ef19 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters
1999-02-11 15:53:26 +00:00
peterl%netscape.com
0436fce459 added :-moz-viewport 1999-02-11 06:48:51 +00:00
peterl%netscape.com
39d604d691 made class values case sensitive 1999-02-11 06:43:14 +00:00
peterl%netscape.com
7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00