Commit Graph

124 Commits

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