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

449 Коммитов

Автор SHA1 Сообщение Дата
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
brade%netscape.com e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
dbaron%dbaron.org 6160d90fcc Clean up GetView and SetView. b=208190 r+sr=roc 2003-07-12 00:50:00 +00:00
smontagu%netscape.com 6c32acf737 Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky 2003-07-11 23:34:42 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu 48518cc978 ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron 2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu 3d6b2b44f3 ongoing deCOMtamination work. r+sr=dbaron 2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu 33e4a9a297 Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron 2003-06-25 22:55:27 +00:00
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu 6909e303db Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout 2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu a81f254443 Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron 2003-06-21 17:06:05 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
bryner%netscape.com 29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
kaie%netscape.com 503cd2ab9b b=202046 Empty (inline) elements cause caret movement to fail
r=smontagu sr=kin/brendan
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org 74c2fa7ad8 Slight correction to previous patch. b=209359 2003-06-15 01:24:03 +00:00
dbaron%dbaron.org 78e42e3723 Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky 2003-06-15 00:55:00 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org 1bc80bcc0c Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc 2003-06-01 20:18:53 +00:00
bmlk%gmx.de 838f8ce8ad infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron 2003-05-31 10:32:19 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
aaronl%netscape.com 83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
kin%netscape.com 85540751cd Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
bmlk%gmx.de b07e6600bf display overflow information in debug reflow bug 200881 r/sr=bzbarsky 2003-04-06 08:36:19 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
aaronl%netscape.com 8457bb1d7e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf 2003-04-01 20:02:51 +00:00
dbaron%dbaron.org 48fefb44a8 Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky 2003-03-22 15:09:17 +00:00
roc+%cs.cmu.edu 67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu 0757c0a5b1 Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
dbaron%dbaron.org 5302be6eba Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 19:21:23 +00:00
bzbarsky%mit.edu 3b069db273 Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron 2003-01-16 02:59:04 +00:00
aaronl%netscape.com b384a46582 Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser 2003-01-09 20:56:53 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bryner%netscape.com 122b7542a9 Make GetStyleDataExternal |const| to fix build bustage. 2003-01-09 08:07:27 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org 14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
dbaron%fas.harvard.edu 28018a8db9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu 33ca73d3d7 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
jfrancis%netscape.com 67761ee6a7 fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin 2002-12-22 01:45:15 +00:00
roc+%cs.cmu.edu a5a3f217d1 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron 2002-12-21 23:25:38 +00:00
caillon%returnzero.com 0dffa137af Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com 22b558c150 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
dbaron%fas.harvard.edu 6888a38568 Oops. Make this assertion that snuck in (for bug 81268) |#ifdef DEBUG_dbaron| for now, since it fires sometimes. 2002-12-11 03:35:21 +00:00
dbaron%fas.harvard.edu 45e056f997 Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky 2002-12-11 02:29:35 +00:00
caillon%returnzero.com 71f8783cae Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
roc+%cs.cmu.edu eecdcab3d7 Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu d399b683e9 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
karnaze%netscape.com 0f0042a430 bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:58:52 +00:00