Brian Birtles
ae6e60dda5
Bug 880596 part 8 - Rename ElementAnimation to StyleAnimation; r=dbaron
...
We need a basic representation of animations from which we can derive subclasses
to represent specific cases such as transitions. For now we will retrofit
ElementAnimation for that purpose hence renaming it to StyleAnimation.
This patch removes the "using namespace mozilla::layers" line from
AnimationCommon.cpp since the unified build system concatenates several files
together before compiling making using declarations like this leak into other
files potentially creating ambiguities. Previously, when we were calling
ElementAnimation, 'Animation', there were ambiguities between
mozilla::layers::Animation and this new 'Animation' class. In general, it is
probably a good idea to limit the scope of these using declarations so I've kept
that change.
2014-04-03 14:57:28 +09:00
Brian Birtles
c4ffbc205d
Bug 880596 part 6 - Factor out common method for adding animations and transitions to a layer; r=dbaron
...
The loops for adding animations and transitions to a layer in
nsDisplayList::AddAnimationsAndTransitionsToLayer are now identical and so can
be factored out into a common method.
Since it is not possible to implicitly convert from
nsTArray<ElementPropertyTransition> to nsTArray<ElementAnimation> despite
ElementPropertyTransition being a subclass of ElementAnimation a templated
method is used. In the future, as animations and transitions share more and more
code, we should be able to remove the need for templates.
2014-04-03 14:57:28 +09:00
Brian Birtles
217cb32ecc
Bug 880596 part 4 - Reuse ElementAnimation::HasAnimationOfProperty; r=dbaron
...
Now that ElementTransitionProperty inherits from ElementAnimation,
ElementTransitions::HasAnimationOfProperty can re-use
ElementAnimation::HasAnimationOfProperty in its definition of
ElementTransitions::HasAnimationOfProperty.
Similarly, in nsDisplayList::AddAnimationsAndTransitionsToLayer we can use this
method rather than drilling down to the appropriate segment by hand.
2014-04-03 14:57:27 +09:00
Brian Birtles
5e2f8ede42
Bug 880596 part 2 - Make ElementPropertyTransition inherit from ElementAnimation; r=dbaron
...
As part of moving towards more shared data structures for animation, this patch
makes ElementPropertyTransition inherit from ElementAnimation. At the same time
we switch from storing the target property, start/end values, start time, delay,
and timing function on the transition to the corresponding location in
ElementAnimation.
Since nsDisplayList::AddAnimationsAndTransitionsToLayer was already doing this
conversion in order to create animations to pass to the compositor thread, we
can remove the conversion code from there and just use the ElementAnimation data
structures as-is.
A number of assertions are added to verify that transitions are set up as
expected (namely, they have only a single property-animation with a single
segment). As we move to more generic handling of animations and transitions
these assertions should disappear.
2014-04-03 14:57:27 +09:00
Brian Birtles
19e2304b94
Bug 880596 part 1 - Separate delay from start time for transitions; r=dbaron
...
As a first step towards making CSS animations and CSS transitions use the same
data structures, this patch aligns their behavior with regards to start time and
delay handling.
Previously, ElementAnimation objects maintained separate mStartTime and mDelay
members whilst ElementPropertyTransition objects maintained a single mStartTime
property that incorporated the delay. This patch adds an mDelay member to
ElementPropertyTransition and stores the delay and start time separately.
Calculations involving ElementPropertyTransition::mStartTime are adjusted to
incorporate mDelay.
2014-04-03 14:57:27 +09:00
L. David Baron
4d2197bf3c
Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
...
I confirmed that the crashtest crashes in the harness without the patch.
--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Masayuki Nakano
852403f45d
Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug
2014-04-03 13:18:38 +09:00
Masayuki Nakano
5c4524957a
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Timothy Nikkel
cdb2189d90
Bug 989897. In order to properly compute root composition size view the root composition size first as layer pixels in the target layer, then convert to css pixels. r=kats
...
Since our goal is to use the root composition size to bound the layer size of the display port of the child layer this makes sense.
2014-04-02 17:46:38 -05:00
Mike Kaply
daef6292e9
Backing out bug 889085 (dddfd63f1414, f8c14bd80676) due to regression bug 987783. r=roc
2014-04-02 10:03:08 -05:00
Jonathan Watt
fcf83c889b
Bug 990683 - Stop calling DeprecatedGetCurrentAsSurface in nsLayoutUtils::SurfaceFromElement(HTMLVideoElement* aElement,...). (Moz2D migration.) r=mattwoodrow
2014-04-02 12:32:24 +01:00
Mark Hammond
763885adb1
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Masayuki Nakano
a63f35fff1
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Jonathan Watt
ecdb8cca65
Bug 988818 - Stop creating a Thebes (gfxASurface) backed gfxContext in nsSVGImageFrame (Moz2D migration). r=longsonr
2014-03-31 12:53:54 +01:00
Jonathan Watt
4ea99f4230
Bug 988904 - Stop creating a Thebes gfxImageSurface in PresShell::PaintRangePaintInfo (Moz2D migration). r=mattwoodrow
2014-03-31 12:53:31 +01:00
Bill McCloskey
04c455ac87
Bug 986691 - [e10s] Disable some layout tests (r=roc)
2014-03-28 11:25:11 -07:00
Kartikaya Gupta
0c67224bf9
Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond
2014-03-28 10:36:47 -04:00
Neil Rashbrook
fe80fce47a
Bug 514280 Consistently declare and define IID accessors r=bsmedberg
2014-03-28 08:45:02 +00:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Ms2ger
b765dd44d3
Bug 984006 - Remove xpcom/ds from local includes; r=ehsan
2014-03-27 21:05:14 +01:00
Timothy Nikkel
385cfbb602
Bug 957668. Protect against a null frame. r=nullcheck CLOSED TREE
2014-03-26 23:20:23 -05:00
Timothy Nikkel
24f3430ec2
Bug 957668. Add comment based on review comment. DONTBUILD
2014-03-26 21:23:14 -05:00
Timothy Nikkel
af1fa4611b
Bug 957668. Set the display port base rect in several places. r=roc
2014-03-26 21:46:24 -04:00
Timothy Nikkel
8ccbcd870e
Bug 957668. Add and implement plumbing for a display port margins api. r=kats
2014-03-26 21:46:23 -04:00
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
Andrew McCreight
f1377bba28
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
6af883c75a
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Olli Pettay
585d56b8a4
Bug 979314, fix pointer events pref handling in presshell, r=mccr8
...
--HG--
extra : rebase_source : 9ce2767a077bfdf623186580d4793b73907e69bd
2014-03-04 23:49:02 +02:00
Andrew McCreight
60f02fa45e
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Milan Sreckovic
cfe0774568
Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard.
2014-03-04 12:26:33 -05:00
Phil Ringnalda
75a037d9ad
Merge m-c to m-i
2014-03-03 19:50:07 -08:00
Seth Fowler
6420cb7d99
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-03 19:40:29 -08:00
Botond Ballo
1d03331bd2
Bug 978997 - Fix a regression caused by bug 959847 where the root layer sometimes doesn't get an APZC. r=tnikkel on a CLOSED TREE
...
Root scroll frames in display root documents don't get a scroll info layer from ScrollFrameHelper::BuildDisplayList, so we always need to call RecordFrameMetrics from nsDisplayList::PaintForFrame.
2014-03-03 19:57:28 -05:00
Ryan VanderMeulen
ed45530108
Merge inbound to m-c.
2014-03-03 17:00:34 -05:00
James Kitchener
1fdd5a8ce4
Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz
2014-03-03 10:37:08 -05:00
Ed Morley
738f300f74
Merge latest green b2g-inbound changeset and mozilla-central
2014-03-03 14:45:43 +00:00
L. David Baron
cccf435c38
Bug 978612: Ignore changes to offsets of static-positioned elements when they or their descendants have views. r=dholbert
...
We get slightly better optimization, and no loss of function, by putting
these checks in the opposite order.
2014-03-03 00:54:39 -08:00
Timothy Nikkel
02cca576b9
Bug 978655. Simplify ContainerState::FindFixedPosFrameForLayerData. r=mattwoodrow
2014-03-03 00:04:59 -06:00
Timothy Nikkel
544b71c580
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Timothy Nikkel
9a1510fcba
Bug 974643. The displayport is not relevant to position: fixed content, only to scrolling content. r=roc
...
The relevant part of postion: fixed items lies within the viewport, which is the scroll position clamping scroll port size if one has been set.
2014-03-02 19:49:39 -06:00
Oleg Romashin
8d903256a4
Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug
2014-02-27 16:13:05 -08:00
Kearwood (Kip) Gilbert
f6a584b358
Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
...
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page. If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.
This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00
Carsten "Tomcat" Book
67109b9a5c
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Wes Kocher
45d489c9d5
Merge m-c to b2g-inbound
2014-02-27 17:47:32 -08:00
Timothy Nikkel
f91f7c1a76
Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
0e4968b4d3
Bug 959847. Part 10. Implement GetBounds, GetOpaqueRegion, and ShouldBuildLayerEvenIfInvisible for nsDisplaySubDocument items that are being used as scrollable layers like scroll layer items. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
90c5ddcf90
Bug 959847. Part 9. Subdocument items for subdocuments that have displayports need to expand the visibility region. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
576881fcd2
Bug 959847. Part 8. Don't let ProcessDisplayItems set the clip on subdocument items when they are being used to draw the display port content. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
1e3662e0e8
Bug 959847. Part 7. Move ignoreViewportScrolling computation lower, where we actually use it. r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
57b3df2628
Bug 959847. Part 6. Only call RecordFrameMetrics from PaintForFrame if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
c5eadf4d6e
Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
...
We do this by creating a new display item type: nsDisplaySubDocument.
Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00