Robert O'Callahan
baff7f2ef2
Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats
2013-06-17 17:16:27 +12:00
Karl Tomlinson
fd4865c0f5
b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
2013-06-10 12:37:16 +12:00
Karl Tomlinson
f6e0e1db1e
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
2013-06-10 12:37:16 +12:00
Karl Tomlinson
038dd3a0ac
backout f4add9815dd1 and db258cb900a7 because gcc 4.4 builds don't use -std=gnu++0x for decltype b=810274
2013-06-06 18:03:21 +12:00
Karl Tomlinson
361ca8e223
b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
2013-06-06 15:49:23 +12:00
Karl Tomlinson
5d6142394b
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
2013-06-06 15:49:10 +12:00
Karl Tomlinson
470dec8c40
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.
2013-06-06 15:47:39 +12:00
Kartikaya Gupta
6ca75bfca8
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
André Reinald
8142d2b450
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
2013-05-23 14:14:00 -07:00
Stephen Pohl
479d2b3cfd
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
c2e326c28f
Back out bug 869314 for missing r='s.
2013-05-26 15:00:17 -07:00
Stephen Pohl
ccbcb1494b
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
9afa560a67
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
d5919235a7
Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
...
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
514014b085
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
1be15adc9e
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
6f650d1dd5
Backed out changeset 1840b15583fd (bug 636564) for bustage.
...
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
b4e558b7e2
Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc
2013-05-02 07:52:25 -04:00
Masatoshi Kimura
7dced5c200
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
916cde3a75
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Karl Tomlinson
f824cb5828
b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
2013-04-18 12:05:10 +12:00
Karl Tomlinson
ed7e0a5685
b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
2013-04-18 12:03:51 +12:00
Karl Tomlinson
004a86210d
b=767710 move current motion calculation into InitSmoothScroll() r=roc
2013-04-18 12:03:29 +12:00
Joshua Cranmer
697498ab75
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
09c8c6c37b
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
Robert O'Callahan
d7f7732507
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
2013-04-05 00:36:45 +13:00
Robert O'Callahan
29d310bf8a
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.
2013-03-04 22:56:02 +13:00
Robert O'Callahan
8808088bed
Backout bug 851445 for test failure
2013-04-02 18:24:25 +13:00
Robert O'Callahan
cdfeffad7f
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
394a2c982b
Bug 842166 - Block scripts during nsGfxScrollFrameInner::ReflowFinished(). r=ehsan
2013-03-23 00:08:59 +01:00
Mats Palmgren
b1c223d804
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
723a4f151a
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
f7a53aabeb
(no bug) Fix some whitespace issues in nsGfxScrollFrame.cpp. (whitespace only, DONTBUILD)
2013-03-04 12:57:01 -08:00
Timothy Nikkel
69377b4e06
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
cd8914f9e8
b=842468 use scrollbar pref thickness instead of min for resizer size r=roc
2013-02-20 11:03:48 +13:00
Matt Brubeck
4e5947ff83
Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
2013-02-19 17:06:18 -08:00
Karl Tomlinson
1f40ed1028
b=842468 use scrollbar pref thickness instead of min for resizer size r=roc
2013-02-20 11:03:48 +13:00
Jonathan Kew
b21d195aac
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
L. David Baron
ca6c366dc6
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
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Robert O'Callahan
3ac2cf9858
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
Ed Morley
acf27c8372
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00
Ed Morley
9767467b57
Backed out changeset 6c21598704ac (bug 840902)
2013-02-15 09:05:07 +00:00
Robert O'Callahan
3aad314033
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Robert O'Callahan
cac12469ff
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
Timothy Nikkel
27866c50a0
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
b59b3d844f
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
d358d97513
Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE
2013-02-14 11:47:08 +00:00
Ed Morley
4275bebaf4
Backed out changeset 1bd3acba4c01 (bug 840902)
2013-02-14 11:46:42 +00:00
Robert O'Callahan
eaefe3073b
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00