Commit Graph

2791 Commits

Author SHA1 Message Date
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
troy%netscape.com
e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
dp%netscape.com
81c281f428 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
buster%netscape.com
3c4c3f919f initial checkin of public table layout interfaces 1999-02-10 00:38:01 +00:00
kmcclusk%netscape.com
c40c068de7 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS 1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
b43bf8b75d Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons. 1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com
8e1aa657ab Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kipp%netscape.com
6953c4a7c8 Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft 1999-02-09 17:31:33 +00:00
kipp%netscape.com
982434a14f Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly 1999-02-09 17:31:14 +00:00
troy%netscape.com
9c158de393 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
troy%netscape.com
49923b7f83 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height
1999-02-09 05:09:39 +00:00
troy%netscape.com
9940ecee6e Fixed a silly error I introduced in the previous check-in 1999-02-09 05:01:11 +00:00
troy%netscape.com
1b384d0f08 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items
1999-02-09 04:31:09 +00:00
troy%netscape.com
aaff26f78e Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned
1999-02-09 04:05:21 +00:00
waterson%netscape.com
4d00f764eb Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back. 1999-02-09 00:26:50 +00:00
troy%netscape.com
a9bb13d5cc Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative
1999-02-09 00:15:43 +00:00
kipp%netscape.com
c4826d0a7e Tweak regression data output 1999-02-08 17:56:23 +00:00
kipp%netscape.com
d83b6d14ee Revamp regression data dumping 1999-02-08 17:56:00 +00:00
troy%netscape.com
12bfda4069 Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge
1999-02-08 00:32:02 +00:00
peterl%netscape.com
8f99d6776f selector text notes 1999-02-07 21:48:45 +00:00
peterl%netscape.com
7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com
02a4a1f333 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
mcafee%netscape.com
90068cdeb7 Solaris isn't building yet, backing this out 1999-02-07 03:45:42 +00:00
mcafee%netscape.com
cff33db62e Adding tests to match Win32 1999-02-07 00:54:52 +00:00
troy%netscape.com
c0d9d4be04 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com
c30862656d Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy%netscape.com
261c24cc5e Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use
1999-02-06 03:45:11 +00:00
troy%netscape.com
b3b5969d0f #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
joki%netscape.com
7a1bff7611 Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression. 1999-02-06 02:07:49 +00:00
kmcclusk%netscape.com
220e43ce5a undefined NS_GFX_RENDER_FORM_ELEMENTS 1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
c3434b6c31 Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.
1999-02-05 22:19:52 +00:00
kmcclusk%netscape.com
75802b29d1 Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.
1999-02-05 22:15:35 +00:00
morse%netscape.com
aabe3e8b27 removed single-signon dependency on lo_ele.h and MWContext 1999-02-05 22:05:59 +00:00
vidur%netscape.com
c9d93eccf2 Hooked up style hint for id, class and dir 1999-02-05 19:55:56 +00:00
kmcclusk%netscape.com
2e06d9e70e Disabled gfx-rendering of form controls. 1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
ed425fc6f1 Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
troy%netscape.com
b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com
7b1c2ddcae Changed CantRenderReplacedElement() to use the value of the TITLE attribute
if there's no "alt" text specified
1999-02-05 18:24:48 +00:00
troy%netscape.com
66fdbcd9b3 Made sure computedOffsets is initialized to all zeros for the root frame 1999-02-05 05:51:12 +00:00
peterl%netscape.com
28a6de7ff5 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
peterl%netscape.com
a95a9904a5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
peterl%netscape.com
157564981f moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00
troy%netscape.com
110c517be1 Removed #include of header files that weren't actually needed 1999-02-05 01:54:58 +00:00
vidur%netscape.com
e0542e23e1 implemented nsHTMLDocument::GetElementsByName 1999-02-04 23:23:07 +00:00
harishd%netscape.com
ddb2a5d1e3 Made HR tags more stylable 1999-02-04 23:10:21 +00:00
harishd%netscape.com
00901bda2a Added property "border: 1px -moz-bg-inset"
to HR
1999-02-04 23:08:39 +00:00
peterl%netscape.com
7ac7f91e7d added -moz-bg-inset & -moz-bg-outset keywords 1999-02-04 19:18:01 +00:00