Benjamin Stover
0b3ec6cfce
Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE
2011-03-17 15:48:47 -07:00
Benjamin Stover
4d0881f7a6
Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec
2011-03-16 14:17:25 -07:00
Benjamin Stover
51e2e999ba
Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec
2011-03-16 13:18:35 -07:00
Benjamin Stover
6fc39e3260
Bug 618975 Follow-up: Fix for non-IPC builds and remove warning r=blassey a=fix-comm-builds
2011-03-15 18:58:28 -07:00
Benjamin Stover
a646bb5913
Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec
2011-03-09 13:35:27 -08:00
Benjamin Stover
e9b77710b0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-15 16:20:19 -07:00
Chris Jones
e4ac9c5928
Bug 593243: Clip invalidations to the displayport when one is set. r=tn
2011-03-11 17:12:11 -06:00
Doug Turner
eff01baa10
Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage
2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-08 21:28:18 -08:00
Timothy Nikkel
97d427c363
Bug 633762. Only bail early if we have an async scroll pending so the ScrollTo call can update mDestination. r=roc a=roc
2011-02-20 14:03:32 -06:00
Simon Montagu
8e5a76d4bc
Set the position of the childRect in nsXULScrollFrame::LayoutScrollArea before calling Layout. Bug 632379, r=dbaron, a=blocker
2011-02-13 08:38:29 +02:00
Mats Palmgren
d82610cf02
Bug 631337 - Cannot resize the window using the corner resizer when body is position:relative. r=roc a=blocking2.0:final
2011-02-10 23:38:37 +01:00
Robert O'Callahan
28603731b2
Bug 618722. background-attachment:fixed display items rendered via temporary layer managers can't have their scrolling taken care of via the layer system, so make sure we invalidate them when we scroll in their document. r=tnikkel,a=blocker
2011-02-10 21:58:11 +13:00
Timothy Nikkel
9336a81739
Bug 629587. Don't try to scroll based on scrollbar attributes if they represent the current scroll position. r=roc a=blocking
2011-02-09 22:35:01 -06:00
Simon Montagu
e5ed17c7d6
Bug 508816 - layout patch
2011-02-07 09:59:20 +02:00
Markus Stange
20d43637e6
Bug 607464 - Don't use smooth scrolling for pixel scrolling. r=roc, a=roc
2011-02-04 09:00:06 +01:00
Alexander Surkov
f1d1126c15
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Neil Deakin
fee5806e2b
Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking
2011-01-17 09:35:32 -05:00
Benjamin Stover
822ae4d1f4
Bug 605618 Part 5: Support displayport for iframes r=tn sr=roc
2011-01-13 09:45:14 -08:00
Robert O'Callahan
8050f8a959
Bug 602892. Part 2: Ensure that a scrollframe is 'inactive' if it can't be scrolled by blitting. r=tnikkel,a=blocking
2011-01-04 21:46:59 +13:00
Robert O'Callahan
62d193188e
Bug 602892. Part 1: Refactor so that mScrollingActive is always true for scrollframes that are always active. r=tnikkel,a=blocking
2011-01-04 21:46:56 +13:00
Gavin Sharp
82f380c4da
Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout
2010-12-25 14:55:35 -05:00
Neil Deakin
49b5659acf
Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b
2010-12-21 13:19:00 -08:00
Robert O'Callahan
c727ef9b41
Bug 617152. Part 13: Fix nsXULScrollFrame::InvalidateInternal. r=tnikkel,a=blockers
2010-12-20 14:37:43 +13:00
Robert O'Callahan
deacd0626d
Bug 617152. Part 11: Invalidate the ThebesLayers for an active-scroll-root using the scroll position at the last layer tree update, and do the rest of the invalidation using the current scroll position. r=tnikkel
2010-12-20 14:37:43 +13:00
Daniel Holbert
6f00bf9e8b
Bug 612662 patch 4: Prevent reentrant calls to VectorImage::Draw, and prevent scrollbars (even unpainted ones) in SVG-as-an-image helper documents. r=roc a=blocking-final+
2010-11-19 08:56:06 -08:00
Mats Palmgren
59244db4d6
"ASSERTION: We should have padding here" with abs pos, overflow:scroll. r=roc a=blocking2.0:final
2010-11-09 22:14:05 +01:00
Robert O'Callahan
50f59c86bf
Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker
2010-11-08 22:06:14 +13:00
Vivien Nicolas
12caa58a5e
Bug 461843 - Show indication of where on the page you are when scrolling with Fennec. r=roc a=blocking-fennec
2010-10-21 14:07:55 +02:00
Alexander Surkov
8b53f409de
Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking
2010-10-16 00:34:35 +09:00
Timothy Nikkel
9fa3e05ad4
Bug 599113. Part 3. Can't restrict invalidated rects to visible portion of a scroll frame if we retain content that might be outside the visible portion of the scroll frame. r=roc a=blocking-betaN+
2010-10-14 20:03:46 -05:00
Timothy Nikkel
11a4caffee
Bug 599113. Part 2. Remove unused parameter to nsGfxScrollFrameInner::ScrollVisual. r=roc
2010-10-14 20:03:45 -05:00
Timothy Nikkel
25996b096f
Bug 599113. Part 1. Remove unused scrolling code for widgets. r=roc
2010-10-14 20:03:45 -05:00
L. David Baron
a56a24a514
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6
Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
d86ede8347
Change FinishAndStoreOverflow API to take two overflow areas. (Bug 542595, patch 4) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:45 -07:00
Timothy Nikkel
6b532c4152
Bug 594271. Don't send synth mouse moves to hidden documents. r=dbaron a=dbaron
2010-09-11 13:24:50 -05:00
Timothy Nikkel
9e47257ea3
Bug 593286. Use the frame/view system to determine parent documents, not the docshell because the docshell hierarchy doesn't stay intact during page tranisition. r=roc a=blocking final
2010-09-11 13:24:50 -05:00
L. David Baron
d44b4ee882
Clip contents of elements with overflow != visible to the border radius. (Bug 459144, patch 14) r=roc a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
86166b79e6
Reduce the border-radius of elements with overflow != visible so that any present scrollbars are not clipped. (Bug 459144, patch 8) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
Robert O'Callahan
cfc08eb0c7
Bug 579276. Part 8: Bump scroll timeout up a lot. r=tnikkel
2010-09-02 21:18:39 +12:00
Robert O'Callahan
c7acef03ff
Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
Robert O'Callahan
c02234511d
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 18:15:08 -05:00
Jonas Sicking
5656569763
Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker
2010-08-19 16:12:46 -07:00
Robert O'Callahan
812e6204ae
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Jonas Sicking
1efbd766ca
Back out bug 546857 Part 6 due to talos failures. a=backout
2010-08-19 18:41:58 -07:00
Jonas Sicking
1a06bd84dd
Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker
2010-08-19 16:12:46 -07:00
Robert O'Callahan
0b542b46ed
Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe
2010-08-13 21:55:54 +12:00
Robert O'Callahan
b004c93cb1
Bug 579258. Change IsVaryingRelativeToMovingFrame to take the 'moving frame' as a direct parameter instead of getting it from the builder. r=tnikkel,a=joe
2010-08-13 21:54:37 +12:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Timothy Nikkel
c759887052
Bug 579663. Part 6. Convert the update rect used for fixed backgrounds to the app units of the display root. r=roc
2010-08-08 13:49:07 -05:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Timothy Nikkel
53403c062e
Bug 563878. Part 17. Use nsIFrame::GetNearestWidget to simplify some code. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
8d58defa7a
Convert to calls of GetOffsetTo from retained layers to GetOffsetToCrossDoc. r=roc on irc
2010-07-18 21:23:48 -05:00
Markus Stange
61cb8923e4
Bug 404267 - Always allow click-through on scrollbars. r=roc
2010-07-16 15:01:39 +02:00
Robert O'Callahan
158c15a807
Bug 564991. Part 43: Fix coordinates for invalidating fixed-attachment backgrounds. r=tnikkel
2010-07-16 09:08:12 +12:00
Robert O'Callahan
1df5a7ec56
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
c5362bf642
Bug 564991. Part 26: Put background-attachment:fixed backgrounds that propagated to the canvas in their own layer. r=mats,sr=dbaron
2010-07-16 09:08:06 +12:00
Robert O'Callahan
d09c39d0a9
Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron
2010-07-16 09:08:05 +12:00
Robert O'Callahan
9d2392dcc8
Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats
2010-07-16 09:08:05 +12:00
Robert O'Callahan
9ac2bf6f05
Bug 564991. Part 16: Improve performance by putting each scrollbar in its own layer. Also note that Mac scrollbars are opaque. r=mats,sr=dbaron
2010-07-16 09:08:03 +12:00
Robert O'Callahan
fa8f373bc3
Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron
2010-07-16 09:08:02 +12:00
Timothy Nikkel
976046bf62
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Alexander Surkov
1b2bbba526
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Robert O'Callahan
9e0f4d539d
Bug 572612. Make scrollbars appear in the background/border layer of the scrollable element. r=mats
2010-06-28 12:28:47 +12:00
Daniel Holbert
b99dade73e
Bug 568612 followup: remove now-unused helper-function GetDocURI. r=roc
2010-06-10 11:26:28 -07:00
Doug Turner
90356b7ac3
Bug 568612 - Remove GetURIGeckoFlags/SetURIGeckoFlags because they haven't been used since places landed. r=roc
...
--HG--
extra : rebase_source : 537a482cc6a4da3e39e55cc6aaa0df474308125b
2010-05-30 09:38:42 -07:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
timeless@mozdev.org
892951ebdb
Bug 563232 - warning: comparison between signed and unsigned integer expressions in nsGfxScrollFrameInner::ScrollToImpl, r=zwol
...
--HG--
extra : rebase_source : 64bae9dcd9eafd8f8bbfa94c16f81ef515f7a92b
2010-05-02 05:56:00 -07:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Mats Palmgren
5197eefd38
Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc
2010-04-27 18:15:02 +02:00
Robert O'Callahan
a982d52092
Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking
2010-04-23 14:41:38 +12:00
Simon Montagu
acb301bdd2
Make the scroll bar and resizer always be on the left of right-to-left widgets. Bug 556363, r=Enn
2010-04-08 09:11:14 -07:00
Boris Zbarsky
541c887293
Bug 550882 followup. Remove the hack, since it's not useful anymore.
2010-04-06 16:01:34 -04:00
Vivien Nicolas
8d0a5ca6d8
Bug 461843: Backout changes to avoid assertions but broke scrollbar margin support [r=roc]
2010-04-02 18:25:40 -04:00
Robert O'Callahan
c745b6c7bc
Bug 551463. Don't clamp scroll positions during reflow, do it during a post-reflow callback so that temporary frame size changes don't clamp when they shouldn't. r=mats
2010-03-29 14:46:59 +13:00
Robert O'Callahan
9a2ed61b34
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Boris Zbarsky
ce67bf7350
Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc
2010-03-08 19:30:02 -05:00
Neil Deakin
6906a92fd4
BBug 554092, resizer overlaps content window scrollbar, r=roc
2010-03-23 14:55:35 -04:00
Neil Deakin
613aeb8685
Bug 553760, two resizers appear in textarea, hide the one for the placeholder scrollframe, r=dbaron
2010-03-23 13:14:47 -04:00
Neil Deakin
79c932638a
Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron
2010-03-19 07:49:34 -04:00
Neil Deakin
b5207640b3
Bug 544472, eliminate duplicate calls to AddCSS*** methods, plus some minor related code cleanup, r=dbaron
2010-03-18 15:58:15 -04:00
Boris Zbarsky
b97993f078
Backed out changeset f0239b3789d9 (bug 550882) because it causes a Tsspider regression.
...
--HG--
extra : rebase_source : ce7b9a047e91e3011d02c9807fdaba51e70f2b64
2010-03-11 00:59:47 -05:00
Boris Zbarsky
4b5ee3b9bd
Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc
2010-03-08 19:30:02 -05:00
Boris Zbarsky
65a4e7e6d2
Backed out changeset c7c0db9074c7 (bug 550882) on suspicion of causing a Tsspider regression.
...
--HG--
extra : rebase_source : 7a3274280e4dfeebd779ec728bc6b8aa65e9cf61
2010-03-09 09:34:18 -05:00
Boris Zbarsky
58827ef725
Bug 550882. Make sure to create scrollbars for the viewport even if it's currently overflow:hidden, since various changes to <body> and the like can change the propagated overflow. r=roc
2010-03-08 19:30:02 -05:00
Alexander Surkov
be2b5e3966
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
L. David Baron
7cae68056e
Fix spelling of 'horizontal' to cause another round of builds (and talos runs). CLOSED TREE
2010-02-17 10:43:39 -05:00
Alexander Surkov
73e251f02b
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Makoto Kato
256f2577f8
Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst
2010-02-08 11:49:18 +09:00
Timothy Nikkel
375930c3f5
Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
...
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Timothy Nikkel
876990d359
Bug 540247. If we change the size of the scrolled frame for a XUL scroll make sure to invalidate the changed area. r=roc
...
--HG--
extra : rebase_source : 81bf0e8490ec47249e7cb9a868652ff5317a5424
2010-01-27 22:12:42 -06:00
L. David Baron
8b216807b8
Make scrolling work inside iframe inside transformed svg:foreignObject by using GetCrossDocParentFrame for loop in check for whether we can blit. (Bug 403443) r=roc
2010-01-26 12:39:02 -08:00
Mats Palmgren
fa91c35561
Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc
2010-01-26 14:10:12 +01:00
Robert O'Callahan
f737648d27
Bug 539331 - browser_sanitizeDialog.js is failing part 2, r=matspal
2010-01-13 04:57:00 -08:00
Robert O'Callahan
6787212ae4
Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal
2010-01-14 05:00:00 -08:00
Robert O'Callahan
7d5ddf93b2
Bug 539226. Ensure that when a scrollbar is added or removed the invalidation is not swallowed by the code that suppresses invalidation of hidden scrollbars. r=mats
2010-01-14 15:30:06 +13:00
Robert O'Callahan
9e07c024bc
Backed out changeset a3af8424d938
2010-01-14 15:29:05 +13:00
Robert O'Callahan
c0402ee315
Bug 539331 - browser_sanitizeDialog.js is failing [r=mats]
2010-01-13 04:57:00 -08:00
Robert O'Callahan
8d3cbbd5d2
Bug 526394. Part 35: Prevent event dispatch and script execution during UpdateViewAfterScroll, even in the presence of malign Win32 reentrant APIs. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
e845917d4e
Bug 526394. Part 31.5: Cleanup ScrolledAreaEvent stuff to be simpler. In particular we don't need to store the scrolled area, we can just compute it when we fire the event. r=mats
2010-01-12 10:45:19 +13:00
Robert O'Callahan
04a613495c
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
a8cbf01d74
Bug 526394. Part 30: Change the scroll state in nsPresState to a point. r=mats
2010-01-12 10:45:18 +13:00
Robert O'Callahan
5326dfa81a
Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
a923083da5
Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
3c94fecdb3
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
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
fantasai
1ffb0c06ef
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
e6705a9c6d
Call CheckInvalidateSizeChange for nsHTMLScrollFrames. (Bug 438537) r=roc
2009-12-13 19:40:55 -08:00
Roy Frostig
fb0534737b
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
926ee3ccfa
Bug 494301 - Scrollbar not resized on pill button click. r=roc
2009-10-05 15:14:38 +13:00
Robert O'Callahan
20bb54d1d3
Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
...
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10:00
Roy Frostig
049a9fbdc8
Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc
2009-09-11 16:13:56 -07:00
Robert O'Callahan
6de615de1b
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
...
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
17eb5a6efc
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
2cd31f70f9
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Boris Zbarsky
f2936464e5
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
5fefb45a48
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Robert O'Callahan
520e8ceae9
Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
...
--HG--
extra : rebase_source : 8709cdba8ea6f9776b61ff935c1c850573caff3a
2009-07-27 09:29:01 +12:00
Robert O'Callahan
274e556b1d
Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
...
--HG--
extra : rebase_source : fa04db29e722a9aea7aaf54c783d07c432d79cad
2009-07-27 09:27:54 +12:00
Robert O'Callahan
5fa812e479
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
41b0dc9d84
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
b47de0a11e
Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron
2009-07-22 12:44:49 +12:00
Boris Zbarsky
4f8205dfe2
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
430c7bf0dc
Bug 492837. If a scrollframe's reflow is interrupted, don't clamp the scroll position to the new size. r=bzbarsky
...
--HG--
extra : rebase_source : f0def3a670f208e5894cdbd650d395d991441c34
2009-06-12 13:46:33 +12:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Joe Drew
64bbcf4155
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
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Jonathan Kew
bdab93a7ca
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
49ff0034cc
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
...
--HG--
extra : rebase_source : a0c489c3b33ccaf762293da7537d909f85d88782
2009-03-30 13:29:36 +13:00
Robert O'Callahan
12706db074
Bug 480053 - Fix z-ordering of scrollbars to match Webkit/IE8. r+sr=dbaron
2009-02-26 20:00:36 +13:00
Benjamin Smedberg
24e7cb1f78
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.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
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
d0b948876f
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
4d0acd8eae
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
05944a7f56
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
76daa5a7da
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
390adbe464
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
f79290bb0e
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
dc907e1ec7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Robert O'Callahan
1eeada5faa
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Markus Stange
45788e2145
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
c26a7caa30
Fix spelling mistakes (to trigger unit test cycle).
2008-07-18 22:32:50 -07:00
Robert O'Callahan
bf853288c9
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
042de9c4e3
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
roc+@cs.cmu.edu
f08441cfbe
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
jst@mozilla.org
54ae1d2978
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
roc+@cs.cmu.edu
1bfe348601
Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon
2008-04-09 21:39:41 -07:00
roc+@cs.cmu.edu
a5d01c093e
Backing out 413027 again.
2008-03-13 02:14:16 -07:00
roc+@cs.cmu.edu
69064e9603
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
roc+@cs.cmu.edu
76c8339f01
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
roc+@cs.cmu.edu
705c2058b7
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
dougt@meer.net
47947ce309
use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner
2008-02-26 17:51:57 -08:00
roc+@cs.cmu.edu
ac43fde6ea
Bug 416752. Use the scrollbar min-height/min-width to establish the minimum scrollport size, not the pref-height/pref-width. r+sr=dbaron
2008-02-24 17:21:08 -08:00
reed@reedloden.com
b7eaeb04c9
Bug 383267 - "When fontHeight is very large, pagescroll height(pageincrement value) is too small" [p=masa141421356@gmail.com (Masahiro Yamada) r+sr=roc a1.9=beltzner]
2008-02-23 23:35:08 -08:00
roc+@cs.cmu.edu
ef81289627
Bug 407095. Reflow in more situations where horizontal scrollbar appears or disappears. May hurt Tp, let's watch. r+sr=dbaron,a=damon
2008-02-23 02:15:59 -08:00
dbaron@dbaron.org
fb9e7d706d
Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
2008-02-19 10:47:34 -08:00
dbaron@dbaron.org
f4d4f9cc2b
Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
2008-02-19 10:46:21 -08:00
dbaron@dbaron.org
b4df875a18
Back out for now, until I have a chance to fix reftests depending on old behavior.
2008-02-19 09:28:00 -08:00
dbaron@dbaron.org
36854cf843
Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
2008-02-19 08:48:09 -08:00
dbaron@dbaron.org
929891e58f
Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
2008-02-19 08:46:29 -08:00
Olli.Pettay@helsinki.fi
88b19c4b16
Bug 392698, ASSERTION: can't mark frame dirty during reflow, r+sr=roc, a=blocking1.9
2007-12-20 15:49:46 -08:00
roc+@cs.cmu.edu
c43f5b8d12
Bug 407009. In the last-ditch reflow of a scrollframe, only show the scrollbars which are not styled 'hidden'. r+sr=dbaron
2007-12-11 18:28:50 -08:00
roc+@cs.cmu.edu
21900626e0
Bug 407015. Dropdown listboxes should not propagate computed height from the scrollframe to its scrolled content. r+sr=dbaron
2007-12-06 16:10:31 -08:00
roc+@cs.cmu.edu
a05edceefa
Bug 375304. Make nsHTMLScrollFrame handle situations where the child content height depends on our height. patch by Eli Friedman, r+sr=roc,dbaron
2007-12-04 19:05:57 -08:00
dholbert@cs.stanford.edu
108776476e
Bug 402567: make scrollframe GetMinWidth return the scrolled frame's min-width. r+sr=dbaron a=blocking1.9
2007-12-04 14:03:16 -08:00
roc+@cs.cmu.edu
cc4171d53e
Backing out bug 375304 to fix reftest failures.
2007-12-01 03:49:13 -08:00
roc+@cs.cmu.edu
ff06dbce58
Bug 375304. Fix absolute positioning where the abs-pos container is scrollable and has a height constrained by min-height etc. Patch by Eli Friedman, r+sr=roc
2007-12-01 02:38:09 -08:00
reed@reedloden.com
98141f6d9e
Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+]
2007-11-30 23:22:44 -08:00
roc+@cs.cmu.edu
548f806233
Bug 364801. nsHTMLScrollFrame::RemoveFrame needs to destroy the frame it removes. r+sr=mats
2007-11-18 14:24:21 -08:00
roc+@cs.cmu.edu
e0ac0a1bc3
Backing out bug 375304 because of reftest failure
2007-11-11 19:40:27 -08:00
roc+@cs.cmu.edu
4da3232491
Bug 375304. Fix absolute positioning for scrolled abs-pos containers with weird height constraints. patch by Eli Friedman, r+sr=roc
2007-11-11 18:19:35 -08:00
Olli.Pettay@helsinki.fi
0ca7e4f915
Bug 397641, AsyncScrollPortEvent posted even if overflow/underflow event won't be dispatched r=mats+roc, sr=mats, a=roc
2007-10-08 01:42:43 -07:00
dholbert@cs.stanford.edu
5d63a7fdb3
Bug 397852: ASSERTION: Doing nscoord addition with values > nscoord_MAX r=roc sr=roc a=roc
2007-10-01 09:43:02 -07:00
roc+@cs.cmu.edu
f0ac729ebf
Bug 139843. Back out width adjustment patch that breaks other things and may no longer be needed. r+sr+a=dbaron
2007-09-17 19:54:48 -07:00
bzbarsky@mit.edu
295ac223f1
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu
d807a3f46e
Don't add a dirty bit that shouldn't be needed. Bug 387209, r+sr=roc, a=dbaron
2007-08-10 13:08:10 -07:00
bzbarsky@mit.edu
21e0d65a42
Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
...
update the resize flags properly. Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
sharparrow1@yahoo.com
c3cd7e1d31
Bug 384876: Padding gets added at both sides when overflow is used.
2007-07-20 11:35:20 -07:00
jwalden@mit.edu
e3c4baccae
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
d4a50fcc87
Bug 381645: Remove nsBoxFrame::GetContentOf. r+sr=dbaron.
2007-05-22 20:48:43 -07:00
sharparrow1@yahoo.com
888cd6828d
Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron.
2007-05-22 13:34:00 -07:00
bzbarsky@mit.edu
3cb4bc9240
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
e83c55e645
Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron
2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
24c328d268
Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc
2007-04-25 19:29:21 -07:00
Olli.Pettay@helsinki.fi
3dcecf2a6e
Bug 374090, Crash [@ nsGfxScrollFrameInner::GetScrollPortSize] with noframes and setting binding on root element, r+sr=roc
2007-04-13 07:07:40 -07:00
bzbarsky@mit.edu
2fd17c94d8
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
b087c08cc6
Bug 373474: Scrollbar buttons don't get invalidated (i.e. for notification box or resizing). r+sr=roc.
2007-03-27 23:24:40 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00