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

606 Коммитов

Автор SHA1 Сообщение Дата
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
peterl%netscape.com e046b13589 sync to style resolution api changes
added reresolve support
1998-11-03 20:23:15 +00:00
peterl%netscape.com 2f5892eda7 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
michaelp%netscape.com d2b75b1ba9 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
troy%netscape.com c347b9a308 Added some temporary code to ensure that the floated frame is deleted 1998-11-02 23:57:25 +00:00
troy%netscape.com fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com eb832dc1a3 nit changes 1998-10-31 22:53:00 +00:00
kipp%netscape.com de68bd9637 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp%netscape.com f41818bc4c Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly 1998-10-31 22:48:56 +00:00
kipp%netscape.com 3371afc510 Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point 1998-10-31 22:48:21 +00:00
troy%netscape.com 633fecba5e Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty
1998-10-31 04:40:01 +00:00
troy%netscape.com e8b0525ac9 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction
1998-10-30 23:38:03 +00:00
kipp%netscape.com 149a21512a Support mCombinedArea in metrics; implement MoveInSpaceManager by passing it through to the children 1998-10-30 22:13:58 +00:00
kipp%netscape.com 89b3c4cc7c Cleaned up Paint method 1998-10-30 22:12:19 +00:00
kipp%netscape.com 915d9bece5 Added MoveInSpaceManager stub 1998-10-30 22:11:47 +00:00
kipp%netscape.com 5fb9eaee53 Added PaintChild method that properly handles OUTSIDE_CHILDREN bit 1998-10-30 22:11:06 +00:00
kipp%netscape.com a10209c1f6 Reworked floater support somewhat now that blocks manage them instead of body frames; fixed up painting to use the outside-children data; support the visibility property; fixed bug #624,#628 1998-10-30 22:10:10 +00:00
kipp%netscape.com ea57904bdd Fixed a coordinate system bug with Offset method 1998-10-30 22:05:22 +00:00
kipp%netscape.com 413e835d6a Added NS_FRAME_OUTSIDE_CHILDREN bit 1998-10-30 22:04:56 +00:00
troy%netscape.com 3c5f78c11a Fixed it so border and padding style specified for the HTML element
work again
1998-10-30 05:18:59 +00:00
michaelp%netscape.com fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
troy%netscape.com c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 18aaa0bf5a Use normal font always when rendering text-decorations, not the small-caps font 1998-10-28 02:03:40 +00:00
buster%netscape.com d2409e9b52 fixed nsInlineFrame to compile on MSVC 4.x by moving a method-scoped struct
to be class-scoped.
1998-10-27 23:13:03 +00:00
kipp%netscape.com 114ffe30ce Removed a skid mark 1998-10-27 16:53:48 +00:00
kipp%netscape.com f9c31f6b2d Fixed underlining bug; support justification 1998-10-27 16:52:34 +00:00
kipp%netscape.com ad7b8e1864 Implement justification methods 1998-10-27 16:52:10 +00:00
kipp%netscape.com a6731c54fe Added methods to support justification 1998-10-27 16:51:21 +00:00
kipp%netscape.com 274d1bc566 Added justification support 1998-10-27 16:51:02 +00:00
michaelp%netscape.com 15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
peterl%netscape.com 04a0fce0ba renamed cursor defines 1998-10-26 23:14:17 +00:00
kipp%netscape.com a05bb7ee66 Support letter and word spacing 1998-10-26 17:27:53 +00:00
kipp%netscape.com a5b11a0e33 Use computed word-len not out parameter that is unset at the time of usage 1998-10-26 17:27:35 +00:00
michaelp%netscape.com 5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
karnaze%netscape.com bcf54e9139 fixed frameborder=0 for <IFRAME>s 1998-10-23 17:52:45 +00:00
karnaze%netscape.com 2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
buster%netscape.com 381df478eb changed base code so only frames with 0 width AND 0 height are ignored.
this fixes http://home.netscape.com among others that use content-free
nested tables to generate background colors and other evil tricks.
1998-10-22 22:00:50 +00:00
troy%netscape.com afea3ec53b Fixed somecomments which had been copied from elsewhere and we not
completely accurate
1998-10-22 21:02:19 +00:00
kipp%netscape.com bc0df52153 Slimmed down the implementation 1998-10-21 20:05:31 +00:00
kipp%netscape.com a08c68342d Removed premature optimization of pre vs. non-pre 1998-10-21 20:03:54 +00:00
kipp%netscape.com 4d19ad1d4c Fixed lastFrag computation 1998-10-21 03:07:37 +00:00
kipp%netscape.com 8e19a713b7 Fixed lastFrag computation (doh!) 1998-10-21 03:04:46 +00:00
buster%netscape.com e081a8bbf6 added AddFrame and RemoveFrame as incremental reflow support methods 1998-10-20 17:44:02 +00:00
kipp%netscape.com 44bf493a8a Implement capitalization trasnform and small-caps font-variant 1998-10-20 16:46:14 +00:00
kipp%netscape.com 51d1e35d56 Added support for capitalization transform 1998-10-20 16:45:14 +00:00
kipp%netscape.com 084fde0160 Added FindTextRunsFor method 1998-10-20 00:23:11 +00:00
kipp%netscape.com 1dc537c5f9 Removed nsTextRun; s/NonBreakingUnit/Word/ 1998-10-20 00:22:48 +00:00
kipp%netscape.com 767b366eda Use TextRun API instead of no-longer public variables 1998-10-20 00:21:54 +00:00
kipp%netscape.com 6f95672654 Spanked hard to use the nsTextTransformer 1998-10-20 00:21:18 +00:00
kipp%netscape.com 206b0ecefe new 1998-10-20 00:17:17 +00:00
troy%netscape.com e2b6409d3e Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
troy%netscape.com c1e6962039 Changed a SetFrameState call to not clobber the NS_FRAME_SYNC_FRAME_AND_VIEW
flag
1998-10-17 04:00:58 +00:00
kipp%netscape.com c3a0922d04 Added accessor for the line number 1998-10-17 01:06:17 +00:00
kipp%netscape.com c6b279a725 Use :BULLET style information to place bullets instead of hard coding off of the padding (Bug #1119) 1998-10-16 22:39:11 +00:00
kipp%netscape.com 951e920f4b Support CSS2 floater placement by not allowing them on top of each other; fixed a bug with floater incemental reflow and spacemanager management 1998-10-16 20:22:39 +00:00
kipp%netscape.com 1c7a31aab5 Tweaked the isFloated variable computation to only support left and right floaters 1998-10-16 20:21:11 +00:00
troy%netscape.com 6be0630937 Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
whether the view is automatically positioned and sized to stay in
sync with the frame
1998-10-16 20:09:32 +00:00
kipp%netscape.com aba091f50e Repaired a comment 1998-10-16 03:48:00 +00:00
kipp%netscape.com 580c31bce2 Added a nicer ListTag method 1998-10-15 23:27:41 +00:00
kipp%netscape.com f2de42911f Support clear attribute on floaters; nicer ListTag method 1998-10-15 23:27:12 +00:00
kipp%netscape.com fb3e6503a0 Create style context for blank frame; added in some missing release calls 1998-10-15 05:13:21 +00:00
troy%netscape.com 0b0f2c3e12 Changed CreateViewForFrame() to mark the view as having transparent content
iff the background-color is transparent
1998-10-14 21:31:41 +00:00
kipp%netscape.com 783eca0357 Create views when necessary 1998-10-14 20:10:36 +00:00
kipp%netscape.com fcb61a671c Create views when necessary; fixed code to avoid IsLeftMostChild when checking during flow floater placement (now that the childs rect is deferred until vertical alignment the code in IsLeftMostChild is no longer valid) 1998-10-14 20:10:08 +00:00
karnaze%netscape.com c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
troy%netscape.com 713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
kipp%netscape.com 912c7c84c5 Removed an unused include 1998-10-12 18:45:25 +00:00
kipp%netscape.com 981d874132 Return break-before when none of the text gets used 1998-10-12 18:44:58 +00:00
kipp%netscape.com d899c4e8cf use new vertical-align-frames api 1998-10-12 18:43:41 +00:00
kipp%netscape.com ad26a95ac9 Update frame count when frames are pushed to a new line so that alignment behaves properly 1998-10-12 18:43:07 +00:00
michaelp%netscape.com 999bf82ffa changes per-kipp to make views transparent. 1998-10-12 18:07:28 +00:00
kipp%netscape.com a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
michaelp%netscape.com cb569a69be fixed for new passing of pres context into API. 1998-10-11 00:58:53 +00:00
kipp%netscape.com 367bee9920 Implement look-ahead logic for word breaking 1998-10-10 04:35:21 +00:00
kipp%netscape.com 2031470780 Added methods to support word breaking 1998-10-10 04:35:01 +00:00
kipp%netscape.com 8235f84572 Pass through text-runs to the line layout engine; removed a debug printf 1998-10-10 04:33:06 +00:00
kipp%netscape.com f558a4c64f Handle completion status better 1998-10-09 23:56:29 +00:00
kipp%netscape.com c6db34691b Removed skid marks; implement FindTextRuns again 1998-10-09 23:46:02 +00:00
kipp%netscape.com 6dceba716f Mork work on floaters; support for clear style property 1998-10-09 22:58:25 +00:00
troy%netscape.com 61be217b98 Removed reference to widgetSupports 1998-10-08 21:39:25 +00:00
troy%netscape.com c724e3393f Rearranged member functions to better group child frame enumeration related
functions
1998-10-08 21:03:59 +00:00
troy%netscape.com d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
troy%netscape.com da48864fc7 Moved HandlePress,HandleDrag,HandleRelease from nsIFrame to nsFrame 1998-10-08 18:21:32 +00:00
karnaze%netscape.com 42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
kipp%netscape.com 3c84e9a593 Preliminary support for onPaint event handling 1998-10-06 21:01:41 +00:00
kipp%netscape.com 61525c5c74 Disabled overflow:visible handling for now 1998-10-06 21:00:58 +00:00
kipp%netscape.com d0511d72fc Setup carried out margin state for block reflow 1998-10-06 00:41:16 +00:00
kipp%netscape.com e2507df51c Export revised body/block factory methods 1998-10-06 00:40:54 +00:00
kipp%netscape.com 1283a4157a Use new body ctor api 1998-10-06 00:40:41 +00:00
kipp%netscape.com 033402f06e Cleaned up margin handling some more; added flags to control behavior of the block frame; fixed table reflow bug 1998-10-06 00:38:56 +00:00
troy%netscape.com 7e64653dab Changed ReflowChild() to send the WillReflow() notification as well 1998-10-06 00:27:22 +00:00
troy%netscape.com 3393397633 Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
1998-10-05 00:58:32 +00:00
troy%netscape.com b5b596a60a Removed nsIInlineReflow and folded it into nsIHTMLReflow 1998-10-03 04:28:05 +00:00
kipp%netscape.com 2fc6c5cce8 Fixed to not render trailing whitespace 1998-10-03 00:48:19 +00:00
kipp%netscape.com 2515fa9945 Preliminary support for negative top/bottom margins 1998-10-03 00:17:44 +00:00
kipp%netscape.com b930a037f5 Support changing the src url 1998-10-02 21:59:59 +00:00
kipp%netscape.com 43330b06e2 Reworked vertical margin collapsing 1998-10-02 21:50:53 +00:00
kipp%netscape.com b8986aaecc Return ascent/descent info too 1998-10-02 21:49:47 +00:00
troy%netscape.com 7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com 9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00