Robert O'Callahan
6077d2214a
Bug 526394. Part 3: Add all necessary new APIs to nsIScrollableFrame. r=mats,sr=dbaron
2009-09-01 16:11:11 +12:00
Boris Zbarsky
49d5048a77
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
fantasai
f76a01be55
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
L. David Baron
a16b4b5a76
Call CheckInvalidateSizeChange for nsHTMLScrollFrames. (Bug 438537) r=roc
2009-12-13 19:40:55 -08:00
Roy Frostig
eb80c5f781
Fire MozScrolledAreaChanged from nsDocShell::RestoreFromHistory() in case document root scroll frame isn't reflowed by the restore. r=roc
2009-10-25 00:04:18 -07:00
Markus Stange
16ef1691d7
Bug 494301 - Scrollbar not resized on pill button click. r=roc
2009-10-05 15:14:38 +13:00
Robert O'Callahan
e825638626
Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
2009-09-30 08:18:20 +10:00
Roy Frostig
d66c9e0217
Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc
2009-09-11 16:13:56 -07:00
Robert O'Callahan
40ec014f16
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
2009-09-04 16:49:18 +12:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
b6fe8205dd
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Zack Weinberg
18f8b8b129
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Boris Zbarsky
23db8f4fa3
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
a8b4b2dc7e
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Robert O'Callahan
1452015054
Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
2009-07-27 09:29:01 +12:00
Robert O'Callahan
c640cc411f
Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
2009-07-27 09:27:54 +12:00
Robert O'Callahan
e46dcd2d99
Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies
2009-07-22 12:45:13 +12:00
Robert O'Callahan
20a1764c05
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
73332423b8
Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron
2009-07-22 12:44:49 +12:00
Boris Zbarsky
5730d66822
Bug 478465. Don't clobber our NS_FRAME_IN_REFLOW flag by scrolling. r+sr=roc
2009-06-23 21:35:00 -04:00
Robert O'Callahan
36f9037c3a
Bug 492837. If a scrollframe's reflow is interrupted, don't clamp the scroll position to the new size. r=bzbarsky
2009-06-12 13:46:33 +12:00
Boris Zbarsky
1dae292b2e
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Joe Drew
659abece3b
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
600528e80b
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Jonathan Kew
ccbd2d2564
Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc
2009-04-06 12:31:50 +12:00
Robert O'Callahan
6c3ead7ddf
Bug 485030. Don't restrict BuildDisplayList's dirty rect to a child's overflow area; then we can use the passed-in dirty rect to optimize the 'ignore scroll frame' case. r=dbaron
2009-03-30 13:29:36 +13:00
Robert O'Callahan
d740a2d9a0
Bug 480053 - Fix z-ordering of scrollbars to match Webkit/IE8. r+sr=dbaron
2009-02-26 20:00:36 +13:00
Benjamin Smedberg
0f95227641
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
7a084ac404
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
991a16d8bc
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Graeme McCutcheon
c9821478b9
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Markus Stange
5fbab281b5
Partial backout of changeset cfc553938038 (bug 463042) in order to fix bug 468167, "Deleting selected top of document (from below) no longer scrolls what remains into view".
2008-12-07 11:19:47 +01:00
Markus Stange
40200dcf2e
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Taras Glek
f090606a7d
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Robert O'Callahan
bee2844b64
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Keith Schwarz
8da13beda7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
Taras Glek
c61f5f5c50
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Robert O'Callahan
e87222a463
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Markus Stange
146a085da6
Bug 56488 - Down scroll arrow hidden, draws behind resize widget when neither Status Bar nor horizontal scrollbar are displayed. r+sr=roc.
2008-08-08 18:11:54 +02:00
L. David Baron
6d5f655957
Fix spelling mistakes (to trigger unit test cycle).
2008-07-18 22:32:50 -07:00
Robert O'Callahan
95216d475a
Bug 444690. Scrollframes should call the superclass InvalidateInternal so that generic invalidation hooks work. r+sr=dbaron
2008-07-14 10:21:11 +12:00
Robert O'Callahan
25a442153c
Bug 367246. When the scrolled frame's width exceeds its available width (because its padding alone is greater than the available width) and the direction is RTL, the scrolled frame should be positioned with its right edge at the right edge of the scrollport. r+sr=dbaron
2008-07-14 09:50:35 +12:00
9f7f2d3c28
Bug 430412. Don't bother showing a scrollbar if there's less than one device pixel to scroll into view. r+sr=bzbarsky,a=beltzner
2008-04-24 01:14:06 -07:00
983863edf4
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
81fd20f5b1
Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon
2008-04-09 21:39:41 -07:00
c2cb98a5be
Backing out 413027 again.
2008-03-13 02:14:16 -07:00
e14548a656
Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron
2008-03-13 01:40:43 -07:00
1d4da23d20
Bug 405952. Add scrollbar width to pref and min widths for overflow:scroll elements but for no other overflow values. r+sr=bzbarsky,dbaron,dholbert, a=beltzner
2008-02-28 12:37:06 -08:00
4cb90e5ac4
Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
2008-02-27 01:46:22 -08:00
0250bd87dd
use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner
2008-02-26 17:51:57 -08:00