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
Robert O'Callahan
39a1cfb2bc
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
Daniel Holbert
e33c7dc5d7
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
183815874f
Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
2013-01-29 14:38:22 +13:00
Cervantes Yu
f4c8d9639e
Bug 830299: Check for scrollcorner in nsGfxScrollFrameInner::ReloadChildFrames(). r=roc
2013-01-21 10:31:40 +00:00
Mats Palmgren
7532b4e736
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
David Zbarsky
506bcc0ab0
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Kartikaya Gupta
e3902b5860
Bug 826411 - Remove obsolete comment about compiler-specific workaround. r=mats
2013-01-04 10:12:11 -05:00
Robert O'Callahan
ae130ef998
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Jeff Muizelaar
0a96e0e65b
Bug 825692. Avoid layerizing scrollframes that don't have scrollbar boxes. r=roc
...
Input boxes have overflow:auto but don't have scrollbar boxes. This prevents
us from layerizing them.
2013-01-02 11:26:51 -05:00
Alexander Surkov
9ab34aa2a6
Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc
2012-12-18 10:25:52 +09:00
Masayuki Nakano
dd4680eca9
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Alexander Surkov
7b6a8051eb
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Robert O'Callahan
1fae521ad6
Bug 812517. Part 1: Add nsIScrollableFrame::ScrollToCSSPixelsApproximate. r=mats
2012-11-23 14:25:23 +13:00
Nicholas Cameron
69dc9e7134
Bug 812908; add a debug pref for forcing active layers; r=roc
2012-11-23 12:29:05 +13:00
Matt Woodrow
84bd2de01d
Bug 811570 - Allow inactive scroll frames to become active when scrolled. r=roc
2012-11-19 17:19:22 +13:00
Robert O'Callahan
2cbe8174e8
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
...
New invalidation logic takes care of this automatically.
2012-11-09 18:14:14 -05:00
Robert O'Callahan
baf0f2cc2a
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00
Robert O'Callahan
a22a98a056
Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats
2012-11-14 22:39:58 -08:00