Commit Graph

3500 Commits

Author SHA1 Message Date
rickg%netscape.com
5d3019c758 fix webshell bug for SMorse 1999-04-23 03:51:39 +00:00
troy%netscape.com
5c6fd4e9f3 Removed the :before and :after logic that would make the pseudo-elements
siblings of the element, because the consensus seems to be that it shouldn't
work that way. Generated content is for container elements, and the generated
elements go before and after its child content
1999-04-22 14:31:19 +00:00
mcafee%netscape.com
8cdb907705 Removing NEW_CLIPBOARD_SUPPORT ifdef. 1999-04-22 07:03:14 +00:00
rickg%netscape.com
13ca296be6 update to sync with nsString2 1999-04-22 05:49:39 +00:00
troy%netscape.com
12139f38ea Work-in-progress for relatively positioned inlines being containing blocks
for absolutely positioned child elements
1999-04-22 04:27:47 +00:00
karnaze%netscape.com
b32fa94515 support for right-to-left direction 1999-04-22 03:51:58 +00:00
karnaze%netscape.com
74eb256f75 dir attribute on <table> gets converted to css direction 1999-04-22 03:50:39 +00:00
kipp%netscape.com
fd29e5287a Fixed rendering bug with drawing poly areas during debug drawing 1999-04-22 03:40:38 +00:00
rickg%netscape.com
1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
rickg%netscape.com
8e0367b04c updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
rickg%netscape.com
85e7dbb767 updates to sync with nsString2 api 1999-04-21 23:35:12 +00:00
amusil%netscape.com
9b3402e2e6 Fixed bug with flow of control - reflows after the first one no longer call
CantRenderDisplacedElement() when it's not supposed to.
1999-04-21 23:25:20 +00:00
evaughan%netscape.com
0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
troy%netscape.com
20410053f1 Changed ConstructDocElementFrame() to make sure we call CreateViewForFrame()
for the document element's frame
1999-04-21 22:14:30 +00:00
troy%netscape.com
ef791ed27c Changed the handling for fixed backgrounds a little 1999-04-21 22:08:01 +00:00
troy%netscape.com
8a4906a2ff Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties
1999-04-21 21:39:47 +00:00
troy%netscape.com
7e9a5af5f7 Changed CreateViewForFrame() so it takes into account fixed background
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
1999-04-21 21:27:50 +00:00
troy%netscape.com
8904ab319a Changed nsPositionedInlineFrame::Reflow() to compute the desired size
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element
1999-04-21 21:02:45 +00:00
kipp%netscape.com
c83c90fb24 Fixed FindNextSibling to return the first-in-flow not the last in flow 1999-04-21 19:59:40 +00:00
kipp%netscape.com
fac60d4643 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp%netscape.com
116ecfb42a Added some (disabled) logging 1999-04-21 19:58:50 +00:00
kipp%netscape.com
065b96c776 Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully) 1999-04-21 19:58:38 +00:00
dcone%netscape.com
3b1a4260b6 Updated with the background painting and anti-aliasing 1999-04-21 14:23:49 +00:00
troy%netscape.com
2b65a0bc20 Changed nsPositionedInlineFrame code to handle incremental reflow 1999-04-21 04:37:13 +00:00
bruce%cybersight.com
58575369dd Fix for ANSI C++ compliance: friend foo -> friend class foo 1999-04-21 04:16:46 +00:00
morse%netscape.com
6bfd4d0070 add cookie viewer and signo viewer 1999-04-21 03:58:55 +00:00
sspitzer%netscape.com
192e63fa70 fix UNIX build bustage. this won't build with -pendatic 1999-04-21 02:31:02 +00:00
hyatt%netscape.com
d08c62f52c More changes to support window.open() 1999-04-21 00:19:30 +00:00
hyatt%netscape.com
4cea0caa99 Forgot to commit a file. 1999-04-20 23:32:43 +00:00
kipp%netscape.com
e7d121e337 Fixed bug #5192 by growing the trapezoid buffer as needed 1999-04-20 23:08:03 +00:00
troy%netscape.com
0b93c37f4f Changed GetAbsoluteContainingBlock() to return relatively positioned
block-level and inline-level elements as well
1999-04-20 22:08:33 +00:00
pinkerton%netscape.com
520356c625 create xul slider, spinner, scrollbar, font and color pickers 1999-04-20 21:57:41 +00:00
kipp%netscape.com
187be6b63f Tweaked FindLineContaining to return the index in the line where the frame is found 1999-04-20 21:52:22 +00:00
kipp%netscape.com
2970e96968 Removed debris 1999-04-20 21:51:56 +00:00
troy%netscape.com
8644de12ff Changed GetAbsoluteContainingBlock() to be a little smarter about verifying
the frame is an area frame
1999-04-20 21:51:55 +00:00
kipp%netscape.com
44f26158bb Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code 1999-04-20 21:51:39 +00:00
av%netscape.com
096226647f Turning on previous changes 1999-04-20 21:45:26 +00:00
av%netscape.com
7a990f37bf Added width and height attributes for images 1999-04-20 21:07:26 +00:00
troy%netscape.com
c68d3e2fd0 Changed CreateContinuingFrame() to know about positioned inline
frames
1999-04-20 20:00:52 +00:00
troy%netscape.com
b952773b92 Added GetFrameType() member function 1999-04-20 19:11:37 +00:00
troy%netscape.com
b53b212ff3 Atom name changes 1999-04-20 18:23:13 +00:00
troy%netscape.com
1570eb63cb Moved blockFrame and inlineFrame atoms to nsLayoutAtoms 1999-04-20 18:22:47 +00:00
troy%netscape.com
0f73d45160 Change to atoms 1999-04-20 18:22:28 +00:00
peterl%netscape.com
485a627711 tweaks to style change handling to ensure that children are handled when parent doesn't change... 1999-04-20 14:23:18 +00:00
peterl%netscape.com
f7c79764b1 turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
troy%netscape.com
0e556164c5 Commented out code in GetAdditionalChildListName() that checked whether
there was a bullet and conditionally nsLayoutAtoms::bulletList because
that change broke absolute positioning (area frame depends on the index
numbers)
1999-04-20 05:03:29 +00:00
troy%netscape.com
19fbe432b9 Part of a fix for bug #5264. CantRenderReplacedElement() no longer asserts for
INPUT elements
1999-04-20 03:57:01 +00:00
kipp%netscape.com
33e9707bbb Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this 1999-04-20 03:42:32 +00:00
troy%netscape.com
8eaead0110 Fix for the layout crash in bug #5263 1999-04-20 02:51:07 +00:00
hyatt%netscape.com
48b9b00410 Changes so that content shells added underneath chrome shells cause
a notification to be fired to the chrome shell.
1999-04-20 01:56:07 +00:00
kipp%netscape.com
5ccd9c28e6 Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp%netscape.com
55f7b6edca Make build work on mac 1999-04-20 01:49:51 +00:00
kipp%netscape.com
6a0e2e2f55 Added -moz-line-frame for first-line support 1999-04-20 00:29:48 +00:00
kipp%netscape.com
211ca77ef3 Create continuing line frames 1999-04-20 00:28:58 +00:00
kipp%netscape.com
1ada64d1cd Support first-line style 1999-04-20 00:28:40 +00:00
kipp%netscape.com
d1c19b975e Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s 1999-04-20 00:27:43 +00:00
kipp%netscape.com
747aed0e8c Switch to nsIPresContext*'s instead of nsIPresContext&'s 1999-04-20 00:27:08 +00:00
kipp%netscape.com
4e13edb1f1 removed dead comment info 1999-04-20 00:26:47 +00:00
kipp%netscape.com
85d4c50b17 Updated to new nsIHTMLReflow method signatures 1999-04-20 00:26:32 +00:00
kipp%netscape.com
39f3954168 Added lineFrame 1999-04-20 00:26:09 +00:00
kipp%netscape.com
31660cd5c2 Added NewFIrstLineFrame 1999-04-20 00:25:48 +00:00
kipp%netscape.com
799e9be55b Updated args to use ptrs instead of refs 1999-04-20 00:25:34 +00:00
kipp%netscape.com
04ad2a5b6f Added nsFirstLineFrame subclass; move class decl out to header file 1999-04-20 00:25:12 +00:00
kipp%netscape.com
138e73d3f2 Renamed header file 1999-04-20 00:24:32 +00:00
kipp%netscape.com
bfa935e427 Tweaked verify-reflow implementation 1999-04-20 00:24:21 +00:00
kipp%netscape.com
ba08510759 Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
kipp%netscape.com
9e94548447 nuked 1999-04-20 00:23:13 +00:00
kipp%netscape.com
13fa4dfe48 new 1999-04-20 00:23:05 +00:00
kipp%netscape.com
1e5bc6c757 Added first line support methods 1999-04-20 00:22:58 +00:00
peterl%netscape.com
5548b30fa8 sync to new state change api 1999-04-20 00:06:58 +00:00
peterl%netscape.com
c503d0ed68 added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl%netscape.com
09405cfc34 widened state change api
added test for state dependent style
1999-04-20 00:05:14 +00:00
troy%netscape.com
bfd8240682 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
dcone%netscape.com
b8b86e2425 Fixed declaration to fix Mac build 1999-04-19 13:37:16 +00:00
dcone%netscape.com
c08626bd0e added the rounded rectangle code for style 1999-04-19 05:27:55 +00:00
rods%netscape.com
6a3ae34f17 Removed some D&D debug code 1999-04-17 13:54:00 +00:00
rods%netscape.com
c514b25e3b Switched over to new nsIGenericTransferable 1999-04-17 13:51:42 +00:00
troy%netscape.com
993b7ddc8d Change to InitAbsoluteConstraints() to fix bug #5154 1999-04-17 04:24:12 +00:00
mscott%netscape.com
73dc5f7607 Add gsdebug boolean check before printing out IR target information. a=buster@netscape.com 1999-04-17 00:11:53 +00:00
kmcclusk%netscape.com
848b49f05b fix for bug #3162, Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.
1999-04-16 19:28:12 +00:00
mcafee%netscape.com
3dc8a10efc Removing //#define NEW_CLIPBOARD_SUPPORT 1999-04-16 17:36:33 +00:00
buster%netscape.com
43c65e9468 turned off noisy debug flag. 1999-04-16 17:31:39 +00:00
pinkerton%netscape.com
f0743a6a37 added code to create a tristatecheckbox when seen in xul. 1999-04-16 17:08:16 +00:00
hyatt%netscape.com
12859e8881 Landing (inside an INCLUDE_XUL ifdef) the code that checks for and sets
the type of the web shell (to distinguish chrome frames from content
frames).
1999-04-16 08:14:28 +00:00
michaelp%netscape.com
768d09d96e modified for new view flags. 1999-04-16 04:24:14 +00:00
troy%netscape.com
a6fc950514 Files were renamed 1999-04-16 02:01:35 +00:00
troy%netscape.com
0c3b6ea2b6 Renamed filename because it was too long for the Mac 1999-04-16 01:42:51 +00:00
troy%netscape.com
a95e159cc5 Initial checkin 1999-04-16 01:39:45 +00:00
troy%netscape.com
9c0ed13c8c Initial check in 1999-04-16 01:39:34 +00:00
troy%netscape.com
5a7055806d New class nsAbsolutelyPositionedContainer 1999-04-16 00:08:59 +00:00
troy%netscape.com
cbe52134bc Initial checkin 1999-04-15 23:55:04 +00:00
peterl%netscape.com
fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
peterl%netscape.com
aa95291e32 fixed pseudo element parsing 1999-04-15 21:22:41 +00:00
peterl%netscape.com
bffaa9e0ec fixed XUL code for removal of root element 1999-04-15 21:22:19 +00:00
akkana%netscape.com
ac974362ad Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
harishd%netscape.com
648507cfd7 Modified methods BeginContext() and EndContext()
to handle illega-contents in tables
1999-04-15 20:18:34 +00:00
av%netscape.com
c57d83a3c9 Fixing logic in Reflow for differrent objects. Still ifdefed out 1999-04-15 20:07:01 +00:00
buster%netscape.com
8aabdb3ca4 workaround for bug 4577
incremental reflows targeted at the cell frame that are not style changes
must really belong to the area frame inside the cell.  So they are now retargeted.
1999-04-15 19:28:11 +00:00
troy%netscape.com
fb899785d8 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents
1999-04-14 04:00:16 +00:00
troy%netscape.com
63f4c3c732 Commented out rules for img:-moz-text, which aren't what I want 1999-04-14 00:02:54 +00:00
joki%netscape.com
f9441b5b56 Commenting out selection flashing stuff. 1999-04-13 23:42:58 +00:00
joki%netscape.com
f6b9ad3e7e Fix blinking selection on mouseover 1999-04-13 23:34:58 +00:00
vidur%netscape.com
78f743c391 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block. 1999-04-13 22:22:51 +00:00
kipp%netscape.com
a75693e1fa Updated to use new image loading apis 1999-04-13 21:52:19 +00:00
kipp%netscape.com
a0b4329e22 Nuked useless includes 1999-04-13 21:52:03 +00:00
kipp%netscape.com
9b2e823a27 Nuked extraneous include 1999-04-13 21:51:52 +00:00
kipp%netscape.com
cb0424211b Revised include 1999-04-13 21:51:43 +00:00
kipp%netscape.com
2c74cc715a Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis 1999-04-13 21:51:20 +00:00
kipp%netscape.com
fa95252534 Use revised image loading api 1999-04-13 21:51:00 +00:00
kipp%netscape.com
24ff6b20c1 Fixed a slight bug with handling error codes 1999-04-13 21:50:47 +00:00
kipp%netscape.com
bdc62f7dd6 new 1999-04-13 21:50:25 +00:00
kipp%netscape.com
3f4e33030c nuked 1999-04-13 21:50:13 +00:00
kipp%netscape.com
b3cd5aa101 Use revised image loading apis 1999-04-13 21:49:58 +00:00
kipp%netscape.com
81c9f5e866 Added new source files 1999-04-13 21:49:41 +00:00
joki%netscape.com
e4361b7994 Fix event handling on background areas of tags. 1999-04-13 21:29:08 +00:00
troy%netscape.com
56f6173819 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly
1999-04-13 02:55:54 +00:00
troy%netscape.com
1aafacf365 Changed table code to call ReparentFrameView() when pushing/pulling frames 1999-04-13 02:38:09 +00:00
jdunn%netscape.com
66729caa47 Backing out my previous change, the AIX define is defined in CXXFLAGS when you
run configure.
1999-04-13 01:46:25 +00:00
sfraser%netscape.com
e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
troy%netscape.com
c67fa96f11 Removed SetInitialChildList() and now we inherit the base class version
which does the same thing
1999-04-13 01:11:46 +00:00
karnaze%netscape.com
dd92800942 bug 1596 1999-04-13 00:56:23 +00:00
troy%netscape.com
22912b419f Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()
1999-04-13 00:15:13 +00:00
troy%netscape.com
68629094d7 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy%netscape.com
03e8dd2540 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
troy%netscape.com
fb7134b00b Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead
1999-04-12 23:03:11 +00:00
kmcclusk%netscape.com
a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
joki%netscape.com
b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
jdunn%netscape.com
7af07e06fa ANSIC requires that structures need 'friend' status to access other structures
IF they are protected (or private).  fix for bug 4642
1999-04-12 20:12:15 +00:00
troy%netscape.com
238ac2da4a Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
troy%netscape.com
3f98c674e3 Changed ConstructRootFrame() to check if the device is scrollable when
determining whether to make the viewport scrollable
1999-04-11 03:10:20 +00:00
troy%netscape.com
56b81ad01e Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets
1999-04-11 00:56:28 +00:00
kipp%netscape.com
26c9966824 Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +00:00
kipp%netscape.com
4206c1a3b9 Fixed bug 4801 1999-04-10 17:32:46 +00:00
kipp%netscape.com
3b2b1ba2b2 Support clip property 1999-04-10 17:32:33 +00:00
kipp%netscape.com
c3502c77a3 Added SetClipRect helper method 1999-04-10 17:32:22 +00:00
kipp%netscape.com
b2a6cc42f1 Always init mMaxElementSize (bug 4836) - just in case 1999-04-10 17:32:04 +00:00
kipp%netscape.com
80ad2ee2bd Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed 1999-04-10 17:31:45 +00:00
kipp%netscape.com
78fbf43078 Expose trapezoids 1999-04-10 17:30:57 +00:00
kipp%netscape.com
bb1586620d Use block-band-data for debug output 1999-04-10 17:30:46 +00:00
hyatt%netscape.com
5fb3fed6dc Fix for bug 3529. 1999-04-10 09:56:51 +00:00
troy%netscape.com
5eae13db9c Fix for bug #4833. Changed CreateGeneratedContentFrame() to make sure that
'position' is set to 'static'
1999-04-10 04:21:33 +00:00
sspitzer%netscape.com
5603bbb5f5 fixes to make the tests build 1999-04-10 00:34:44 +00:00
amusil%netscape.com
49b390ae3d Fix for Bug# 4751. Added support for data param in addition to src param 1999-04-09 21:23:41 +00:00
karnaze%netscape.com
8fac3a9430 more/better table regression scripts 1999-04-09 21:12:34 +00:00
karnaze%netscape.com
e2a1885056 bug 2643, zero width cells 1999-04-09 21:09:52 +00:00
karnaze%netscape.com
5c121e8bd6 bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
karnaze%netscape.com
e469bec232 remove margin-right from <input type=text>, <input type=password>, assists with bug1968 1999-04-09 20:56:13 +00:00
troy%netscape.com
a4baddf3dc Fix for bug #4824. Added NULL pointer checks in GoToAnchor() 1999-04-09 04:28:15 +00:00
pollmann%netscape.com
21780034e4 Bugs 4714 4533 4387. A: Chofmann R: Harishd 1999-04-08 23:47:49 +00:00