Karl Tomlinson
b7fda3d129
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
...
--HG--
extra : transplant_source : %22c%20R%E6%BF%C6%10%02%7C%1E%9F%CA%C7%2B%8C%98A%28%D3
2013-06-06 15:49:10 +12:00
Karl Tomlinson
81958df017
b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
...
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative. That may not mean they are less than
nscoord_MAX.
If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.
--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Kartikaya Gupta
1e3b912be9
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
André Reinald
b4d86ea6d2
Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
...
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Stephen Pohl
be93c1016d
Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc
2013-05-26 15:05:10 -07:00
Stephen Pohl
5f012bbde6
Back out bug 869314 for missing r='s.
2013-05-26 15:00:17 -07:00
Stephen Pohl
65471bc896
Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used.
2013-05-26 14:40:16 -07:00
Mats Palmgren
421b9433f1
Bug 873926 - Don't store a scroll state if we never have been scrolled or restored a previous scroll state. r=roc
2013-05-22 12:49:49 +00:00
Ryan VanderMeulen
a268c3e091
Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
...
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
1474cbfb6a
Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc
2013-05-21 08:27:14 -04:00
Stephen Pohl
6af8265e40
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
c3aa5b10f1
Backed out changeset 1840b15583fd (bug 636564) for bustage.
...
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
3e739e4fa3
Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc
2013-05-02 07:52:25 -04:00
Masatoshi Kimura
957042f394
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Robert O'Callahan
4bd8d8b1e8
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Karl Tomlinson
0b5112e494
b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
...
--HG--
extra : transplant_source : _%BA%CE%F1A%B7%40N%14VMZ%1D%2C%98Lg%40%F7%AF
2013-04-18 12:05:10 +12:00
Karl Tomlinson
61fd583b40
b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
...
--HG--
extra : transplant_source : %17Wc%17%5B%CF%A9n%C6%0BE%3Ez%21%CD%C6Q%20%10%26
2013-04-18 12:03:51 +12:00
Karl Tomlinson
68b09f83ef
b=767710 move current motion calculation into InitSmoothScroll() r=roc
...
--HG--
extra : transplant_source : %E2%DCQu%13RdE%E9%3A%B3%B5L%21%8A3%3C%5D4%3F
2013-04-18 12:03:29 +12:00
Joshua Cranmer
1f24ef2b5e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Robert O'Callahan
11f59147ef
Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
...
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Robert O'Callahan
a949bd58de
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
...
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
613ea8adbd
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
2d46b948e1
Backout bug 851445 for test failure
...
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
b2b9650251
Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
2013-03-21 15:44:37 +13:00
Mats Palmgren
0ffd47f47c
Bug 842166 - Block scripts during nsGfxScrollFrameInner::ReflowFinished(). r=ehsan
2013-03-23 00:08:59 +01:00
Mats Palmgren
d9494408fd
Bug 849219 - Store the scroll state also when the position is 0,0 to avoid scrolling to an #ID on reload. r=roc
2013-03-15 23:32:35 +01:00
Daniel Holbert
56c48afacf
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Daniel Holbert
df3c11fe91
(no bug) Fix some whitespace issues in nsGfxScrollFrame.cpp. (whitespace only, DONTBUILD)
2013-03-04 12:57:01 -08:00
Timothy Nikkel
76533032be
Bug 689623. Part 5. Add mechanism to update image visibility upon some amount of scrolling. r=mats
2013-02-24 18:59:21 -06:00
Karl Tomlinson
95d3eb93f7
b=842468 use scrollbar pref thickness instead of min for resizer size r=roc
2013-02-20 11:03:48 +13:00
Matt Brubeck
9c635d6d0f
Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
...
--HG--
rename : toolkit/system/gnome/nsSystemAlertsService.cpp => toolkit/system/gnome/nsAlertsService.cpp
rename : toolkit/system/gnome/nsSystemAlertsService.h => toolkit/system/gnome/nsAlertsService.h
2013-02-19 17:06:18 -08:00
Karl Tomlinson
093a42eb8a
b=842468 use scrollbar pref thickness instead of min for resizer size r=roc
...
--HG--
extra : rebase_source : e635ec1870663f459b7e9215dc2b8bc009dec1c0
2013-02-20 11:03:48 +13:00
Jonathan Kew
9cd7d9f8bb
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
42e294f8cb
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
5c77da3630
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
Ed Morley
b6da0774a7
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00
Ed Morley
be1dc96126
Backed out changeset 6c21598704ac (bug 840902)
2013-02-15 09:05:07 +00:00
Robert O'Callahan
7fe4314432
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : ce01b066f803e048c0e38e5316ce96a75e689418
2013-02-15 00:12:27 +13:00
Robert O'Callahan
a48fd8140a
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : b7db21120cdd96342502db64916b0b2e75c0a9c3
2013-02-15 00:08:08 +13:00
Timothy Nikkel
ab470235f5
Bug 830479. Fix fatal build warning about unsigned/signed comparison on CLOSED TREE. r=me
2013-02-14 11:57:50 -06:00
Timothy Nikkel
1e74974554
Bug 830479. Account for multiple fixed elements acting as headers and footers when doing full page scrolling. r=roc
2013-02-13 22:36:02 -06:00
Ed Morley
3b0ac60607
Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE
2013-02-14 11:47:08 +00:00
Ed Morley
c9c59a5ad4
Backed out changeset 1bd3acba4c01 (bug 840902)
2013-02-14 11:46:42 +00:00
Robert O'Callahan
305514fa61
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 2236b75807639d54a39950d06cd18cfc952659f3
2013-02-15 00:12:27 +13:00
Robert O'Callahan
40d4209ce7
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : f90be285148c68fae306d09714f0fe642b490c45
2013-02-15 00:08:08 +13:00
Daniel Holbert
9a11e7cf68
Bug 836957 part 2: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .cpp files. r=mats
2013-02-04 08:17:20 -08:00
Robert O'Callahan
880b2eeee8
Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
...
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Cervantes Yu
6af45facc9
Bug 830299: Check for scrollcorner in nsGfxScrollFrameInner::ReloadChildFrames(). r=roc
2013-01-21 10:31:40 +00:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00