Commit Graph

2840 Commits

Author SHA1 Message Date
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
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +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
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
peterl%netscape.com
e3cc02769e fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
peterl%netscape.com
587f4aa26e made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl%netscape.com
b99cd2021d make viewport frame use a viewport pseudo tag
connected doc root frame's style context to parent frame's style context
1999-02-11 06:40:13 +00:00
karnaze%netscape.com
a43b2445da collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
troy%netscape.com
46bf1f1ab5 Fix for bug #3089 1999-02-11 03:56:00 +00:00
buster%netscape.com
6d806d03c8 tell the build system that "public" dir needs building 1999-02-11 01:51:20 +00:00
buster%netscape.com
178ad83c45 changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
kmcclusk%netscape.com
3d131e6a4a Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
pierre%netscape.com
30df698861 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +00:00
buster%netscape.com
83125f838e added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
hyatt%netscape.com
7ac31f8c5f Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
mjudge%netscape.com
d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com
37614be21a Re-ordered DeleteFrame() code to fix a FMR 1999-02-10 18:12:24 +00:00
peterl%netscape.com
e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com
810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com
de371f0fe6 added missing ToString case 1999-02-10 08:36:37 +00:00
troy%netscape.com
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00