Botond Ballo
bcf8379cf8
Bug 1164406 - Expose scrollbar-area deflation in nsLayoutUtils. r=kats
2015-05-22 15:54:11 -04:00
Ting-Yu Lin
520266b69a
Bug 1110039 - Part 1 - Add nsLayoutUtils::ClampRectToScrollFrames. r=roc
...
ClampRectToScrollFrames generalizes IsRectVisibleInScrollFrames by
returning the clamped rect in scroll frames. IsRectVisibleInScrollFrames
could be implemented by checking whether the clamped rect is empty or
not.
2015-04-14 00:08:00 +02:00
Jonathan Kew
b87a65cc88
Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu
2015-05-11 11:37:46 +01:00
Kartikaya Gupta
74563ea4c9
Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond
2015-05-07 14:44:03 -04:00
Kartikaya Gupta
be2f4d0819
Bug 1160250 - Fix up the rect being used for the composition size calculation. r=tn
2015-05-07 14:44:03 -04:00
Kartikaya Gupta
67f53846ba
Bug 1160250 - Put in a missing transfomToAncestor scaling factor. r=botond,tn
2015-05-07 14:44:02 -04:00
Kartikaya Gupta
186cc1d660
Bug 1160250 - Collapse the code from CalculateRootCompositionSize into UpdateCompositionBounds. r=botond,tn
2015-05-07 14:39:20 -04:00
Kartikaya Gupta
f0359f028e
Bug 1160250 - Extract a helper function from the triplicated composition-bounds-updating code. r=botond,tn
2015-05-07 14:39:20 -04:00
Kartikaya Gupta
d142b53696
Bug 1160250 - Extract a helper method from the triplicated comp-bounds function to determine if we need to deflate the scrollbars. r=botond,tn
2015-05-07 14:39:19 -04:00
Seth Fowler
3cde7ec218
Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280
2015-05-07 09:25:10 -07:00
L. David Baron
ca0fb5364b
Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
...
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).
I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310). For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.) I believe this shows that bug 972310 will remain fixed
with this patch.
I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
Kartikaya Gupta
df69d729aa
Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond
2015-05-05 08:36:52 -04:00
Kartikaya Gupta
1a46a87919
Bug 1161040 - Don't set a scrollparent on the root content document in the child process that points to itself. r=tn
2015-05-04 14:37:22 -04:00
Kartikaya Gupta
893c5f9675
Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn
2015-05-04 10:17:26 -04:00
Wes Kocher
9c0b8289bf
Merge inbound to m-c a=merge
2015-05-01 17:19:28 -07:00
Danilo Cesar Lemes de Paula
9e221c4153
Bug 1159405 - Fix "Found a non-root APZ with no handoff parent". r=botond
2015-04-30 06:06:00 -04:00
Jonathan Watt
88f103be1a
Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
2015-04-28 19:55:42 +01:00
Brian Birtles
fb73e3f8ee
Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug
2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
5791ead1d5
Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
2015-04-30 13:15:04 +02:00
Brian Birtles
1661b20915
Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
2015-04-28 10:16:45 +09:00
Xidorn Quan
a90ebbab73
Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
2015-04-24 10:15:32 +12:00
Botond Ballo
133dcaf5b9
Bug 1151663 - Only call GetOrMaybeCreateDisplayPort() in nsLayoutUtils::PaintFrame() if we are using containers for root scroll frames. r=tn
2015-04-15 17:14:32 -04:00
Botond Ballo
32d4f63a35
Bug 1151663 - Initialize display list builder flags earlier in nsLayoutUtils::PaintFrame(). r=tn
2015-04-15 15:48:09 -04:00
Seth Fowler
78fb468573
Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc
2015-04-22 13:04:04 -07:00
Carsten "Tomcat" Book
7094be4068
Backed out changeset 60bbc4230cd7 (bug 1085783)
2015-04-22 13:14:35 +02:00
Phil Ringnalda
c9d2df1e8c
Merge m-c to a CLOSED TREE m-i
2015-04-21 20:17:57 -07:00
David Anderson
41f3a0786c
Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor)
2015-04-21 23:01:41 -04:00
Seth Fowler
a86b9425e6
Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc
2015-04-21 19:23:10 -07:00
Timothy Nikkel
396a0daeb9
Bug 1156598. Remove old, dead scroll layer item code. r=mstange
2015-04-20 22:48:10 -05:00
Brian Birtles
42b3a896fd
Bug 1154615 part 6 - Rename references to players within layout/; r=jwatt
...
We will rename CSSAnimationPlayer/CSSTransitionPlayer in a separate patch
2015-04-21 10:22:10 +09:00
Brian Birtles
eb570dc2df
Bug 1154615 part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt
2015-04-21 10:22:10 +09:00
Brian Birtles
6033b2c86d
Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
...
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.
2015-04-21 10:22:09 +09:00
Phil Ringnalda
1521afb292
Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
...
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
50d7fd13e2
Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats)
2015-04-17 11:49:55 -04:00
Botond Ballo
f59f676e56
Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
2015-04-14 13:19:10 -04:00
Brian Birtles
717246367d
Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
...
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
ec581c1cbf
Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
...
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.
This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.
2015-04-15 08:48:21 +09:00
Botond Ballo
a32c4cd6c9
Bug 1039818 - Extract the implementation of nsIDOMWindowUtils::GetResolution into nsLayoutUtils. r=ehsan
2015-04-10 19:33:56 -04:00
Markus Stange
db695ce17b
Bug 1151346 - Make ActiveLayerTracker::IsOffsetOrMarginStyleAnimated respect CSS animations. r=roc
2015-04-05 22:53:51 -04:00
Mats Palmgren
3c1a3a7157
Bug 1150042 - Make nsLayoutUtils::DrawSingleUnscaledImage use CSSIntSize instead of unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Mats Palmgren
3879e0afa3
Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Mats Palmgren
5bab4f44d4
Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Brian Birtles
1041da2b17
Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt
2015-04-01 12:23:24 +09:00
Mats Palmgren
8852b5e235
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 11:36:14 -04:00
Mats Palmgren
3eea69f457
Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 11:35:47 -04:00
Carsten "Tomcat" Book
abd1345059
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book
f23066ddcd
Backed out changeset e507145a198c (bug 1149037)
2015-03-30 15:03:25 +02:00
Mats Palmgren
dc580c6829
Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 10:37:34 +00:00
Mats Palmgren
2268b8c0ad
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 10:37:33 +00:00
Nicolas Silva
e140a853f2
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00