Граф коммитов

2254 Коммитов

Автор SHA1 Сообщение Дата
cltbld%netscape.com e83ca84c12 add nsBlockBandData.h per kipp's addition 1998-12-08 23:25:30 +00:00
kipp%netscape.com 14d0a212d5 new 1998-12-08 21:44:22 +00:00
kipp%netscape.com 4f02f0ae72 Added some debug checks to sizes; keep zero sized items on the same line whenever possible 1998-12-08 21:43:42 +00:00
kipp%netscape.com e10802d09e Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713) 1998-12-08 21:43:15 +00:00
kipp%netscape.com e86402c7a3 Added nsBlockBandData 1998-12-08 21:42:35 +00:00
buster%netscape.com 868ce29c21 fixed a minor glitch I introduced where nested tables cells were getting
robbed of a few pixels in width in some cases.
1998-12-08 19:18:33 +00:00
mjudge%netscape.com 948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
troy%netscape.com 399c1e7868 Initial table pagination support 1998-12-08 17:57:45 +00:00
kipp%netscape.com 320f0facc1 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block 1998-12-08 03:57:12 +00:00
kipp%netscape.com 2025694b82 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it 1998-12-08 03:47:44 +00:00
kipp%netscape.com abfa4440e7 new 1998-12-08 03:36:34 +00:00
buster%netscape.com c85a6cdd73 fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
kipp%netscape.com bce8bc5489 new 1998-12-08 00:57:45 +00:00
troy%netscape.com 7cf1fde73d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge
1998-12-08 00:01:12 +00:00
kipp%netscape.com 924b3d53b7 Made image documents layout again 1998-12-07 22:29:13 +00:00
kipp%netscape.com 3723b826cc Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line 1998-12-07 22:28:55 +00:00
kipp%netscape.com be0240395a Added DeleteLine method 1998-12-07 22:28:23 +00:00
kipp%netscape.com 4d4668dca4 Slightly better handling of left/right block margins 1998-12-07 19:34:41 +00:00
harishd%netscape.com 541bcbe5cd changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing
1998-12-07 19:07:45 +00:00
harishd%netscape.com 511b951294 Changed code that previously accessed mBorderStyle and mBorderColor with
new methods added in nsStyleSpacing
1998-12-07 19:06:55 +00:00
harishd%netscape.com dccdd4a155 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com f3cdc3cfdb Included a new DrawDashedSide() function prototype and modified DrawSide() function. 1998-12-07 19:04:39 +00:00
harishd%netscape.com 2adb142aa5 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 19:02:13 +00:00
harishd%netscape.com 17a3189fde No change 1998-12-07 19:00:45 +00:00
harishd%netscape.com 267a36eda9 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 18:56:29 +00:00
harishd%netscape.com 555757d651 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:55:19 +00:00
harishd%netscape.com d87392317e Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:53:07 +00:00
troy%netscape.com 78a4ce96ec Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
beard%netscape.com 6248dadd4f Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right. 1998-12-07 06:10:12 +00:00
troy%netscape.com e89b2bc6c9 Added support for printing multiple pages 1998-12-07 03:43:02 +00:00
kipp%netscape.com a6324a4f7e nuked 1998-12-05 19:21:03 +00:00
kipp%netscape.com 2f392118fc new 1998-12-05 19:13:58 +00:00
kipp%netscape.com d8a9951c14 Removed an unwanted DidReflow call 1998-12-05 16:06:14 +00:00
kipp%netscape.com 74e1833184 Setup first-letter-style to be off by default 1998-12-05 16:05:52 +00:00
kipp%netscape.com 937981b419 Removed handling of block frames (its done by nsBlockReflowContext now) 1998-12-05 16:05:23 +00:00
kipp%netscape.com 6c1eed9eb2 Spanked to be a subclass of the nsBaseIBFrame class 1998-12-05 16:04:46 +00:00
kipp%netscape.com c87f62165e Removed carried-out-margin-flags 1998-12-05 16:04:33 +00:00
kipp%netscape.com 81c8c1f32d Renamed a variable to (hopefully) be more clear what it is 1998-12-05 16:03:53 +00:00
kipp%netscape.com e98ecaebf7 Made IndentBy public 1998-12-05 16:03:07 +00:00
kipp%netscape.com 1bc51979bf Use FirstChild so the method is more reusable 1998-12-05 16:02:43 +00:00
kipp%netscape.com da289aba99 Moved to new Init/ctor seperation 1998-12-05 16:02:26 +00:00
kipp%netscape.com 907f06864c Major spankage; refactored code; common base class for block/inline frames 1998-12-05 16:02:08 +00:00
kipp%netscape.com a52f9d25e1 nit 1998-12-05 16:01:41 +00:00
kipp%netscape.com 7d958338bc Made dtor obviously virtual instead of inherited virtual 1998-12-05 16:01:28 +00:00
kipp%netscape.com a00a2855e8 Updated 1998-12-05 16:01:11 +00:00
kipp%netscape.com f41c946598 Added new source files 1998-12-05 16:00:56 +00:00
ramiro%netscape.com e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
buster%netscape.com 4e927b37f3 fixed cellspacing and cellpadding handling
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
wtc%netscape.com 820aec09ab The second argument for GetStyleData needs to be 'const'. 1998-12-05 01:47:37 +00:00
troy%netscape.com e05b04aa92 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
kmcclusk%netscape.com 9868c9a0f9 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
troy%netscape.com 62857a1141 Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
kmcclusk%netscape.com 4f596b5059 Added some comments 1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com a67e6c1fe0 Fix for MAC build 1998-12-04 19:07:46 +00:00
troy%netscape.com 205250b6c4 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
kmcclusk%netscape.com 86a2bd4b85 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +00:00
karnaze%netscape.com 66f0822308 added code provided by Micahel Lowe to get system colors for frameset borders (bug 1763) 1998-12-04 18:05:30 +00:00
troy%netscape.com 90f35ce118 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com b7a4774af0 Removed some commented out old code 1998-12-04 03:46:59 +00:00
troy%netscape.com c2a37f36ad Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak 1998-12-04 03:39:05 +00:00
troy%netscape.com 199c24d49a Changed table frame code to call DeleteFrameList() so that the col group
frames are deleted
1998-12-04 03:14:28 +00:00
troy%netscape.com 4a0f9cea8f Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
mjudge%netscape.com e48bcc6f89 new selection change to come ifdefs going in 1998-12-03 21:48:32 +00:00
mjudge%netscape.com ee9dc5ef18 changing use of selection 1998-12-03 21:45:26 +00:00
mjudge%netscape.com 2d6a42cd38 new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
waterson%netscape.com 1ebf1ebe4a A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com a39407d940 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com e24288bbb6 First Checked In. 1998-12-03 20:28:15 +00:00
waterson%netscape.com 1cd4a28768 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com e964f5d837 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com 23112ce100 minor optimizations and cleanup. removed constructors that did nothing. 1998-12-03 20:19:01 +00:00
buster%netscape.com 1f09ce3031 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
buster%netscape.com 9c4e4e9e76 the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
     because I don't have to check display types every time I iterate through colgroup frames.  I *know*
     mColGroups contains only colgroups.  I might do the same for rowgroups (that is, keep unknown frame types
     in their own list as well.)  But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols.  Now,
     it just creates frames as appropriate, not content.  To support this, I added some pseudo style contexts and
     related atoms.
1998-12-03 18:01:35 +00:00
buster%netscape.com 58dc37167f added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
troy%netscape.com 7b508ab8c9 Added NS_RELEASE to fix leak of a HTML style element 1998-12-03 16:46:56 +00:00
troy%netscape.com ae7e0ae454 Removed explict call of base class constructor 1998-12-03 07:22:31 +00:00
troy%netscape.com fbd9f4ef8b Removed explicit call of base class constructor because it was
making Unix compilers unhappy
1998-12-03 07:20:59 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
vidur%netscape.com 83b0609315 Fixed unitialized value problem. 1998-12-03 00:34:44 +00:00
wtc%netscape.com 59b32f50ef This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
peterl%netscape.com ba1a0ff568 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com b5f9c257f1 changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com 1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com 32453af5dc changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com d697c328a9 added inline style sheet accessor 1998-12-02 00:35:41 +00:00
peterl%netscape.com e5073780c6 fixed decoration style of del 1998-12-02 00:35:26 +00:00
peterl%netscape.com 4da4f20250 changed media to uppercase atoms 1998-12-02 00:35:03 +00:00
peterl%netscape.com 12fda54c43 added inline style rule accessor 1998-12-02 00:34:31 +00:00
peterl%netscape.com 70114e4809 moved body fixup rule into content 1998-12-02 00:34:06 +00:00
peterl%netscape.com 16457d2733 added inline style accessor 1998-12-02 00:33:12 +00:00
kipp%netscape.com 5841a14537 new 1998-12-01 16:13:49 +00:00
troy%netscape.com 900c396915 Changed to handle StyleChanged incremental reflow command 1998-12-01 05:17:12 +00:00
karnaze%netscape.com 3ac909047e fixed bug 1613 (leak in nsFrameSetFrame::CalculateRowCol) 1998-11-30 22:37:52 +00:00
buster%netscape.com 09df53a05d fixed a bug for tables with complicated colspans and fixed widths 1998-11-30 19:06:33 +00:00
karnaze%netscape.com abbe1cf13e fixed bug 1696 1998-11-30 18:19:21 +00:00
buster%netscape.com c44861d421 fixed some nested table layout problems 1998-11-30 15:10:20 +00:00
vidur%netscape.com 6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
vidur%netscape.com 0057b5d23e Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag. 1998-11-28 23:51:06 +00:00
karnaze%netscape.com d875aa2aec changed frameset layout algorithm. fixed bugs 728, 1075, 1494 and half of 1486 1998-11-28 18:59:38 +00:00
michaelp%netscape.com 8732a493d7 fixed memory leak. 1998-11-28 04:24:46 +00:00
kipp%netscape.com 1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
kipp%netscape.com 1ed8e1edae Fixed to not subtract out borders/padding when unconstrained height reflow is occuring 1998-11-26 18:14:17 +00:00
kipp%netscape.com 0de0988eb8 disabled another printf; use web-shell destroy to properly whack the sub-webshell 1998-11-26 18:13:13 +00:00
kipp%netscape.com dd21432b23 Compute combined area properly 1998-11-26 18:11:23 +00:00
kipp%netscape.com 5b4b437bb3 Fixed verify reflow to avoid creating reflow commands during a verify reflow 1998-11-26 18:11:02 +00:00
peterl%netscape.com c66950da5a made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com d66876022f removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com 90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com 5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com ef64bc512f fix unix build 1998-11-26 03:45:50 +00:00
rickg%netscape.com d23278ec63 improvements to recursive parser calls 1998-11-26 02:56:40 +00:00
peterl%netscape.com e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com c757654c3a handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com f8a4cc0c88 connected style sheet better (added content node & properties) 1998-11-26 01:29:10 +00:00
kipp%netscape.com 8a379ae174 new 1998-11-25 19:07:17 +00:00
buster%netscape.com 3ddfe1c165 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
kipp%netscape.com 2e9a075c19 Brought verify-reflow back to life 1998-11-25 18:41:02 +00:00
karnaze%netscape.com b1329e6aa4 fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem 1998-11-25 18:11:26 +00:00
kipp%netscape.com c13a79ad48 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
joki%netscape.com a8d57495c7 Implement document.URL access 1998-11-24 21:07:43 +00:00
buster%netscape.com 87d66cfc86 removed debug output 1998-11-24 20:40:43 +00:00
joki%netscape.com 2b2bfb85dd Add missing coordinate transform to getFrameForPoint 1998-11-24 20:31:21 +00:00
buster%netscape.com 9e645e1fc6 bug 1520 (www.mirabilis.com)
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.

the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added.  The rest of this
fix is a bit risky, so I'm waiting until after stability push.
1998-11-24 19:41:33 +00:00
karnaze%netscape.com 0a820f9aa3 fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rickg%netscape.com e0364847d4 fixed call to ToInteger() to respect the error code 1998-11-24 02:39:36 +00:00
rpotts%netscape.com 2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
karnaze%netscape.com 0e745ed3b7 <frame> now uses <base> for its src attribute 1998-11-24 02:01:45 +00:00
kipp%netscape.com 0292b4de4d made it easier to see if the parser is working 1998-11-24 01:48:04 +00:00
kipp%netscape.com ef2ae0204f Made the test work again 1998-11-24 01:47:44 +00:00
kipp%netscape.com b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
kipp%netscape.com 5a6b41b77b new regression test 1998-11-24 01:43:46 +00:00
kipp%netscape.com c4b343a879 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's) 1998-11-24 00:11:54 +00:00
buster%netscape.com ff561429bf changed the logic for reflowing cells whose height is changed due to a
height attribute.
1998-11-23 23:07:40 +00:00
vidur%netscape.com 8d134679bc Allow application/x-javascript for type in SCRIPT tags 1998-11-23 23:06:57 +00:00
kipp%netscape.com 2fb0e7ca92 Let style override the cursor choice when using an image map 1998-11-23 22:21:13 +00:00
kipp%netscape.com 7ce43732e5 Walk up the content-parent so that style is applied appropriately for cursor selection 1998-11-23 22:20:50 +00:00
kipp%netscape.com ad84255162 Factored IsReplaced into a throw-away method; fixed containing-block discovery to use IsPercentageBase method 1998-11-23 21:11:57 +00:00
kipp%netscape.com c6708dec6e Use correct reflow-state to find the containing-block's width for text-indent (bug #1048) 1998-11-23 21:11:19 +00:00
kipp%netscape.com ac882d2ee0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
kipp%netscape.com 987a73cf0a Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events 1998-11-23 17:45:00 +00:00
karnaze%netscape.com 60510b81aa fixed bug 1479 (wsj.com crash) 1998-11-23 17:37:46 +00:00
troy%netscape.com b8e18747a2 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00
buster%netscape.com aab5ae636e fixed the aweful nested table problems 1998-11-22 08:56:19 +00:00
troy%netscape.com f8167669a4 Added missing NS_RELEASE of the content object in GetMarginHeight() 1998-11-21 17:30:41 +00:00
troy%netscape.com 2ba5d0b0ac Added NS_RELEASE to fixed memory leak after calling ChildAt() 1998-11-21 17:22:31 +00:00
kipp%netscape.com 3418cf24af Fix up painting issue; if we end up with a negative damage area then convert to damaging everything 1998-11-21 17:21:18 +00:00
troy%netscape.com 9b6b15c587 Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow
1998-11-21 04:04:41 +00:00
kipp%netscape.com 55cb6eedb8 Fixed scroll-frame code to properly fill in the max-element-size 1998-11-21 03:52:01 +00:00
buster%netscape.com ee5912363a removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
cyeh%netscape.com 65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
joki%netscape.com b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy%netscape.com 4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 888de27782 removed a spurious GetContent that was the cause of a memory leak 1998-11-20 23:10:47 +00:00
kipp%netscape.com 04dea9e450 Use revised GetContainingBlockContentWidth method 1998-11-20 22:28:00 +00:00
kipp%netscape.com 11b6602001 Support margins on the child frame 1998-11-20 22:27:33 +00:00
kipp%netscape.com 708e34ce7a Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better 1998-11-20 22:27:21 +00:00
kipp%netscape.com 12c4f09bc1 Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary 1998-11-20 22:24:20 +00:00
kipp%netscape.com fd8a5d1360 Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly 1998-11-20 22:21:38 +00:00
buster%netscape.com 926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com 496fd7d73e put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com 54996e3fa5 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com ace67d6fb2 added tablePseudo 1998-11-20 21:05:31 +00:00
kipp%netscape.com be3aca0f4e Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +00:00
kipp%netscape.com 27d8038001 Temporary workaround for style issue 1998-11-20 17:39:11 +00:00
kipp%netscape.com 22b57f3531 Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com 64129e939e Port to updated nsLeafFrame methods 1998-11-20 17:21:49 +00:00
kipp%netscape.com c73e99e135 Removed a compiler warning 1998-11-20 17:21:22 +00:00
kipp%netscape.com 8a2735c01b Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:21:02 +00:00
kipp%netscape.com c9013931ab Use revised API's for computing the border/padding 1998-11-20 17:20:29 +00:00
kipp%netscape.com 79dd1e596d Define new API's to compute margin/border/padding/border+padding and handle percentages correctly 1998-11-20 17:19:26 +00:00
kipp%netscape.com 7b0a080513 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp%netscape.com 19a31f599b Use revised margin calculation api's; center blocks that have auto margins 1998-11-20 17:18:12 +00:00
kipp%netscape.com ac2b613d40 Use Get methods from style context instead of deprecated methods 1998-11-20 17:13:28 +00:00
kipp%netscape.com deb074f83f Updated leaf api's to better support caching of computed border/padding when percentages are used 1998-11-20 17:13:02 +00:00
kipp%netscape.com 200bf59a53 Added mBorderPadding to cache computed value in case percentages are used 1998-11-20 17:12:39 +00:00
kipp%netscape.com f4b67a0608 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:12:25 +00:00
alecf%netscape.com 9e8f173714 fix casting problems for gcc 2.7.2.3 1998-11-20 09:29:58 +00:00
troy%netscape.com 79aed9646d Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
troy%netscape.com 5bdb79ef7f Removed some #include lines that are no longer needed 1998-11-20 05:22:45 +00:00
morse%netscape.com 856a1575fb fix for single signon 1998-11-20 05:01:32 +00:00
buster%netscape.com fedd9bbb6a removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
buster%netscape.com 90252c33df handles "height" attribute 1998-11-20 01:03:45 +00:00
buster%netscape.com 4c98e2689d implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp%netscape.com 9582e9f3ec Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
kipp%netscape.com 157425553e Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp%netscape.com f120c59e08 Factored out FrameForPoint code into one that takes a particular list 1998-11-19 18:09:03 +00:00
kipp%netscape.com 50e5afb598 Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy%netscape.com 53d3c08626 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden
1998-11-19 04:26:51 +00:00
troy%netscape.com 89d24c72ce Fixed it so that we don't ignore painting child frames of a parent frame
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +00:00
troy%netscape.com 22f284d54b Fix for bug #1265. For incremental reflow now checks for the case where the new
height is smaller than the old height and makes sure we erase the entire area
1998-11-19 01:39:07 +00:00
joki%netscape.com 65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 4c99ecc9ce Prevent multiple firings of DOM click events on buttons. 1998-11-19 00:42:38 +00:00
kipp%netscape.com 0fc2a76de0 Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048) 1998-11-19 00:00:18 +00:00
kipp%netscape.com 6681f98a46 Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width 1998-11-18 23:59:49 +00:00
troy%netscape.com d4cf65cd18 Changed Reflow() to make sure that the child is sized at least as big as the max size
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
troy%netscape.com 60863f9b77 Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
buster%netscape.com 3795eaac7c Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.
1998-11-18 22:10:02 +00:00