Timothy Nikkel
90ca2854ab
Bug 957668. Factor out a few helper functions. r=roc
2014-03-26 21:46:23 -04:00
Timothy Nikkel
79463c4f16
Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats
2014-03-26 19:24:25 -04:00
Birunthan Mohanathas
7ac995a949
Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz
2014-03-25 11:36:49 -04:00
Kartikaya Gupta
0e225bf776
Bug 984548 - Ifdef APZ overflow:hidden behaviour so it doesn't regress Fennec pending a proper fix. r=tn
2014-03-25 09:25:56 -04:00
Gorman Ho
f829937556
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Matt Woodrow
2cabdd6d95
Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron
2014-03-25 11:45:43 +13:00
Brian Birtles
9647a9f855
Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc
2014-03-22 05:59:58 +08:00
Brian Birtles
880027c0e0
Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
...
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.
This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
Chadd Williams
be019a3d12
Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
...
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Robert O'Callahan
ae8e640786
Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
...
--HG--
extra : rebase_source : e50c41da1a3cfc66f37e540b26fb8c9353ab5321
2013-09-20 22:22:11 +12:00
Robert O'Callahan
ae259da2ce
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
...
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
70d4bd7582
Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
...
--HG--
extra : rebase_source : deade5e87ae77b3fe9efdfde9ba2f3254318f387
2014-03-12 09:11:38 +08:00
Robert O'Callahan
761e486c9d
Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
...
--HG--
extra : rebase_source : 2e49345a3035cdbe5e4d2ee7573f3c30da38da6a
2013-09-20 22:21:42 +12:00
Robert O'Callahan
2467158ec9
Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal
...
--HG--
extra : rebase_source : 6997773605684ad96e29b22fc10069d31385e63b
2014-03-12 09:11:38 +08:00
Robert O'Callahan
4976399874
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
...
--HG--
extra : rebase_source : 06e2c83a984d12fce29cd23b93dde54a2e05cf43
2013-09-20 22:21:03 +12:00
Daniel Holbert
3363b24a57
Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron
2014-03-21 09:16:20 +08:00
Timothy Nikkel
a11a1c2c36
Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
...
It would be incorrect to occlude async scrolled content.
Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.
Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
0071bffc0e
Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc
2014-03-20 18:23:16 -05:00
Ryan VanderMeulen
4f9ba420d3
Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
...
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
bad51a5892
Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage.
2014-03-20 16:33:54 -04:00
Robert O'Callahan
50315a03b2
Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
2013-09-20 22:22:11 +12:00
Robert O'Callahan
df3c565901
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Robert O'Callahan
baddd5ed70
Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
2014-03-12 09:11:38 +08:00
Robert O'Callahan
d09e9018b9
Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
2013-09-20 22:21:42 +12:00
Robert O'Callahan
3d246f25f7
Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal
2014-03-12 09:11:38 +08:00
Robert O'Callahan
d6f8c8313e
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
94e9995102
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
Daniel Holbert
da3c0749bb
(no bug) Remove whitespace at end of line in FrameLayerBuilder. (whitespace-only, DONTBUILD)
2014-03-20 14:49:27 +08:00
Daniel Holbert
ecaa37ce30
(no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD)
2014-03-20 14:49:26 +08:00
Daniel Holbert
7b2500574c
(no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD)
2014-03-20 14:49:25 +08:00
John Daggett
328447eda5
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Markus Stange
f80b79dc3a
Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats
2014-03-20 10:12:46 +08:00
Neil Deakin
5bca1a23ba
Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn
2014-03-19 12:48:08 -04:00
Carsten "Tomcat" Book
321f30cfc1
Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE
2014-03-19 09:47:43 +01:00
Carsten "Tomcat" Book
57311b5dc3
Backed out changeset 4771c2b309ad (bug 917755)
2014-03-19 09:46:04 +01:00
Carsten "Tomcat" Book
69d1105b2f
Backed out changeset 1b7530ddb0af (bug 917755)
2014-03-19 09:46:01 +01:00
Carsten "Tomcat" Book
cdec1889e1
Backed out changeset f7e676be8fa0 (bug 918189)
2014-03-19 09:45:58 +01:00
Carsten "Tomcat" Book
a84e36bcf6
Backed out changeset e60fe593236d (bug 918189)
2014-03-19 09:45:57 +01:00
Carsten "Tomcat" Book
d506cf1b2f
Backed out changeset 2f3187619c9e (bug 918189)
2014-03-19 09:45:48 +01:00
Robert O'Callahan
5e6e45418c
Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
2013-09-20 22:22:11 +12:00
Robert O'Callahan
585863becb
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Robert O'Callahan
ec7c06ab7f
Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
2014-03-12 09:11:38 +08:00
Robert O'Callahan
40d7d012db
Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
2013-09-20 22:21:42 +12:00
Robert O'Callahan
e2ce1b6ff0
Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal
2014-03-12 09:11:38 +08:00
Robert O'Callahan
bcd57eef3c
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
2013-09-20 22:21:03 +12:00
Chris Lord
06cb2f45ab
Bug 874950 - Don't let fixed position content occlude displayports. r=tn
...
Don't let opaque fixed position items occlude display items that are in
display ports and thus may be asynchronously scrolled.
2014-03-17 23:39:59 +00:00
Botond Ballo
85f9092aef
Bug 983208 - Workaround for composition bounds being wrong on android. r=tnikkel
...
Go back to using widget bounds. The root content document on android is a child document but it's treated like a root document in many ways. Do this until we can do what would technically be correct.
2014-03-17 12:16:05 -04:00
Masayuki Nakano
b7a8d4a392
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
bdfb32e049
Bug 983049 part.4 Rename nsDispatchingCallback to mozilla::EventDispatchingCallback r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
6e0a5b3333
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Timothy Nikkel
e4708f86bc
Bug 984279. Composition bounds are relative to the reference frame, so make that be true when we use view bounds to calculate them. r=mats,botond
2014-03-17 18:02:11 -05:00
Daniel Holbert
94093687bf
Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc
2014-03-17 16:54:30 +08:00
Matt Woodrow
9d8f118d8d
Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange
2014-03-17 16:42:48 +08:00
Masayuki Nakano
6461de2a4d
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Bill McCloskey
d960718b48
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Simon Montagu
e8d17e904a
Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame
2014-03-13 00:39:33 -07:00
Botond Ballo
1d1fde2729
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
87d9d4b831
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Simon Montagu
b160bea1d5
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-11 13:23:50 -07:00
Ryan VanderMeulen
d4bc5bcf9d
Bug 981651 - Remove unused presShell variable to fix Werror bustage. r=kats
...
CLOSED TREE
2014-03-11 11:35:32 -04:00
Kartikaya Gupta
aba9676b2d
Bug 981651 - Don't scale the touch radius up by the resolution amount since it is usually canceled by layer transforms. r=roc
2014-03-11 11:14:51 -04:00
Carsten "Tomcat" Book
7f2e815865
Backed out changeset aeff4052ef00 (bug 789096)
2014-03-11 09:22:52 +01:00
Carsten "Tomcat" Book
7fdc8d352f
Backed out changeset 534a0efe7d3d (bug 789096)
2014-03-11 09:22:48 +01:00
Simon Montagu
7c94db65dd
Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Simon Montagu
5e7ae0913d
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Seth Fowler
567a08b8a4
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-10 15:41:17 -07:00
Matt Woodrow
5f6ac4ba39
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Matt Woodrow
97d8f90715
Bug 981252 - Initialize all values in MaskLayerUserData so that equality comparisons make sense. r=dbaron
2014-03-11 11:12:48 +13:00
Botond Ballo
856fce75aa
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
...
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Robert O'Callahan
f30bd3b5ac
Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
...
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
e5f6bfb587
Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
...
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Masayuki Nakano
8bbf9836fa
Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
...
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Mike Conley
23fcc345bc
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Ed Morley
a21868703a
Merge backout; CLOSED TREE
2014-03-07 15:53:02 +00:00
Ed Morley
6915f3f78a
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00:00
L. David Baron
78f8a5efe0
Bug 979760 - Pull out a BeginTransaction call common to the start of all three branches of if/else logic. r=mattwoodrow
...
I don't see any particular reason for them to logically be in each
branch, and it seems the code was originally written with the
BeginTransaction in one place, but later had to be refactored into its
current form.
Note that this separates the comment from one of the EndEmptyTransaction
calls below it, but the comment was actually associated primarily with
the further EndEmptyTransaction call, and with the if above it, based on
the history pointing to
https://hg.mozilla.org/mozilla-central/rev/b4e9a17e7fe2
2014-03-06 22:08:57 -08:00
Gijs Kruitbosch
4bc134f524
Bug 970404 - don't let users affect document colors for chrome images, r=bz
2014-03-06 23:02:59 -05:00
Matt Woodrow
887c38c308
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Kartikaya Gupta
37d4a38192
Bug 975962 - Allow panning/zooming around the initial viewport for overflow:hidden elements. r=botond,tn
2014-03-07 08:41:00 -05:00
Seth Fowler
d3a5ae8a34
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Timothy Nikkel
b35c5ec9f4
Bug 980256. nsDisplayZoom items need some adjustments if they are going to generate a scrollable layer. r=roc
...
Specifically GetBounds should use nsDisplaySubDocument::GetBounds (and not nsDisplayWrapList::GetBounds) before converting it to the right app units.
Similarly for ComputeVisibility except with the added wrinkle that nsDisplaySubDocument::ComputeVisibility won't properly handle coordinates if we are not generating a scroll layer. Namely it calls nsDisplayWrapList::ComputeVisibility which uses mVisibleRect (which is the visible rect of the scroll frame), when it needs to be using the visible rect of the contained list, which is for the scrolled content inside.
2014-03-06 17:40:31 -06:00
Matt Woodrow
1d4cc3b29e
Bug 978911 - Add the entire visible region to the layers invalid region when we invalidate the whole thing. r=roc
2014-03-07 12:31:47 +13:00
Vaibhav Agarwal
f0bd81877d
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
b192b2603d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Jonathan Kew
d65fad3678
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Matt Woodrow
64f553ecba
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Timothy Nikkel
ddb6cf9173
Bug 980062. Make nsDisplaySubDocument use the visible rect of the contained list because it contains the enlarged area. r=roc
...
mVisibleRect contains the bounds after the scrolled content has been clipped to the scrollport. The visible rect on the contained list (mList) contain the bounds for all pre-drawn content in the displayport.
2014-03-05 20:52:54 -06:00
Simon Montagu
1028613ce4
Add U+2029 PARAGRAPH SEPARATOR and other characters with bidi type Segment Separator and Paragraph Separator to the characters we convert to whitespace before passing text to the Bidi engine. Bug 847242, r=roc
2014-03-05 21:04:36 +02:00
L. David Baron
46d1ed70f7
Bug 828173 bustage fix for non-unified builds: add using declaration.
2014-03-04 21:05:18 -08:00
L. David Baron
b98ff26924
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
L. David Baron
4603813c94
Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
358f564ab9
Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
4bc85751cb
Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
...
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
4d4545cfcb
Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow
2014-03-04 20:13:21 -08:00
Masayuki Nakano
66706f5a6e
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00