Commit Graph

229 Commits

Author SHA1 Message Date
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