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

606 Коммитов

Автор SHA1 Сообщение Дата
joki%netscape.com e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +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 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
karnaze%netscape.com 60510b81aa fixed bug 1479 (wsj.com crash) 1998-11-23 17:37:46 +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
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
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
kipp%netscape.com 11b6602001 Support margins on the child frame 1998-11-20 22:27:33 +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 be3aca0f4e Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +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 7b0a080513 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +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
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
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 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
joki%netscape.com 65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +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 9d1564cf4a Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
joki%netscape.com 77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com 265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 7675978299 fixed comment 1998-11-18 02:08:30 +00:00
amusil%netscape.com e960e8007a Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size. 1998-11-17 23:29:20 +00:00
kipp%netscape.com 552551e512 Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00
troy%netscape.com 4f1b20b058 Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
of the frame being wrapped
1998-11-17 05:47:06 +00:00
troy%netscape.com 688027c9d3 Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +00:00
vidur%netscape.com 026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
kipp%netscape.com 2757f6e3d4 Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
kipp%netscape.com 389de1de86 Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it 1998-11-17 01:04:21 +00:00
kipp%netscape.com b1f6b6473f Tidy up; added some tracing 1998-11-17 01:03:59 +00:00
kipp%netscape.com b4c8bce4e2 Removed DidReflow hack again 1998-11-17 01:03:41 +00:00
troy%netscape.com bb256efbb7 Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +00:00
troy%netscape.com a435cf3ef5 Reinstated hack to have the placeholder frame forward the DidReflow() notification
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
troy%netscape.com d6a65c024a Split class declaration out into a separate header file so the body frame
can be a derived class
1998-11-16 17:11:12 +00:00
kipp%netscape.com 11b65a83d4 Removed extraneous bullet padding that was left-over from the pre-pseudo-style days 1998-11-15 01:17:05 +00:00
kipp%netscape.com 40136f9ee9 Tidy the max-element-size code 1998-11-15 01:13:25 +00:00
kipp%netscape.com 6ad169555b Fixed bug #1257: the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated 1998-11-14 22:27:50 +00:00
kipp%netscape.com 7c3763c3e0 Removed and unused member variable 1998-11-14 22:27:06 +00:00
kipp%netscape.com 68f8209644 Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp%netscape.com 6bc24733d4 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com 973c0a528c Eliminated NewFrame 1998-11-14 19:28:34 +00:00
kipp%netscape.com f064456558 Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly 1998-11-14 19:28:11 +00:00
kipp%netscape.com 381815af96 Removed hacks that were mostly block-frame bug workarounds 1998-11-14 19:26:57 +00:00
kipp%netscape.com 11391735ba DidReflow now supports multiple child lists; added DeleteFrameList helper method 1998-11-14 19:25:34 +00:00
michaelp%netscape.com 7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
joki%netscape.com d316927b48 Modify cursor setting code to check css cursor setting for containers. 1998-11-13 23:58:52 +00:00
karnaze%netscape.com 1eafba94d2 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
troy%netscape.com 87eff9d2bf Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287
1998-11-13 21:31:50 +00:00
troy%netscape.com 59a9e518ba Added check for SRC being an empty string 1998-11-13 18:38:16 +00:00
troy%netscape.com 36fd247c25 Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons
1998-11-13 17:00:54 +00:00
troy%netscape.com 59c09cffdc Removed an assert that was incorrect and that triggered when print
previewing test1
1998-11-13 05:17:08 +00:00
rickg%netscape.com ba3ddb1078 fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
troy%netscape.com 8e56559948 Added ListTag() member function 1998-11-13 02:20:31 +00:00
troy%netscape.com 532ccd2885 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com ac0565a8f8 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
kipp%netscape.com f554f82547 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases 1998-11-12 18:19:22 +00:00
kipp%netscape.com 784d48c0a8 Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support 1998-11-12 16:32:56 +00:00
kipp%netscape.com 45356c7502 Some support for first-letter style 1998-11-12 16:31:38 +00:00
rickg%netscape.com d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
kipp%netscape.com 2f43e35996 Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp%netscape.com add7918774 Added run-in and compact display types to the TreatFrameAsBlockFrame method 1998-11-11 03:54:47 +00:00
karnaze%netscape.com 0051a7f8b8 fixed <frameset frameborder=no> allowed frame resizing 1998-11-10 20:49:51 +00:00
kipp%netscape.com 594ec210f9 Removed unused include 1998-11-10 19:16:32 +00:00
kipp%netscape.com a6ea00c527 Use lineLayout object to pass on floater to the containing block 1998-11-10 18:04:34 +00:00
kipp%netscape.com 8b1973c472 Added InitFloater 1998-11-10 18:04:19 +00:00
kipp%netscape.com 34bf927f85 Use geometric parent to get containing block of the floater 1998-11-10 18:04:10 +00:00
kipp%netscape.com 366b13adac Removed GetReflowMetrics 1998-11-10 18:03:42 +00:00
kipp%netscape.com edd04980fc Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00
troy%netscape.com 527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy%netscape.com 6e8a40b6ce Added GetChildListName() member function 1998-11-10 04:31:02 +00:00
karnaze%netscape.com aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 9d8145f033 Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com 081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
kipp%netscape.com 40dbf5063b Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
troy%netscape.com 5befa347fb Added a hack to make sure that the floated frame gets a DidReflow notification 1998-11-07 00:03:45 +00:00
kipp%netscape.com 07564642ae Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
peterl%netscape.com eb27d38c27 turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
kipp%netscape.com 1bafa4a69f Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp%netscape.com 34aec22132 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter 1998-11-05 19:33:01 +00:00
kipp%netscape.com 430d6b8b6f Make sure overflow lists get ReResolved too 1998-11-05 19:31:59 +00:00
kipp%netscape.com c9dcd9009c Added UpdateStyleContexts for support change-out of style contexts 1998-11-05 19:31:39 +00:00
kipp%netscape.com 4957b3f0d6 Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!) 1998-11-05 19:31:16 +00:00
kipp%netscape.com ff42a3eb90 Added some first-letter support 1998-11-05 19:30:31 +00:00
kipp%netscape.com c4da295fd8 Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support 1998-11-05 19:27:42 +00:00
troy%netscape.com 04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
troy%netscape.com 22d1bd6f04 Updated to work with new frame construction code 1998-11-05 06:12:57 +00:00
troy%netscape.com 34ef7d33db Added simple page sequence formatting object 1998-11-04 23:21:50 +00:00
troy%netscape.com 768d7859c8 Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
buster%netscape.com c7dbb849e8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.
1998-11-04 19:26:25 +00:00
michaelp%netscape.com dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
peterl%netscape.com ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00