Botond Ballo
6ca089f738
Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
...
MozReview-Commit-ID: DudrJuO4pFM
2016-04-04 17:46:12 -04:00
Andreas Pehrson
e43a311400
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
2016-01-26 15:36:52 +08:00
Timothy Nikkel
4e5f04dcaf
Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
...
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.
This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-04 02:59:15 -05:00
Kartikaya Gupta
8cc1be9f43
Bug 1246290 - Add a pref to allow disabling APZ on documents which have scroll-linked effects. r=botond
...
MozReview-Commit-ID: HQkHUiEWaWc
2016-04-03 13:13:59 -04:00
Botond Ballo
51c46f3ee4
Bug 1219296 - Ship scroll snap information to the compositor. r=kats
...
MozReview-Commit-ID: 2aCaAEC5Csu
2016-03-11 22:04:53 -05:00
Botond Ballo
aa2fd58a6a
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
2016-03-28 19:14:52 -04:00
Kartikaya Gupta
7c8b76b810
Bug 1261062 - When constraining the displayport by the max texture size, maintain the relative distribution of the margins. r=dvander
...
MozReview-Commit-ID: GsQBy0rIlP5
2016-04-01 08:03:28 -04:00
Ting-Yu Chou
8214d6ad26
Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
2016-03-28 11:02:18 +08:00
Seth Fowler
0f24c44100
Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange
2016-03-25 14:49:43 -07:00
Benoit Girard
958bd77f36
Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
...
MozReview-Commit-ID: KdWCkXHjHzZ
2016-03-23 17:16:38 -04:00
Daniel Holbert
22b6cb5f0f
Bug 1236400 part 1: Add internal enum values to represent "display: -webkit-box" & "display: -webkit-inline-box". r=mats
...
These new enum values are added with same behavior as their modern flexbox
equivalents -- they're hooked up to NS_NewFlexContainerFrame, and they're
listed alongside the modern flexbox enums in 'switch' & 'if' statements.
There's one exception, which I call out with a comment at the end of the patch:
we don't treat -webkit-box the same as flexbox in IsFlexOrGridDisplayType(),
because that method is used to determine whether we should blockify
inline-level children of a flex/grid container, and we don't want to blockify
any children of a -webkit-box. (Instead, we want to wrap them in an anonymous
flex item. That happens in the next patch.)
MozReview-Commit-ID: 9BB4Ib2KpvE
2016-03-24 09:55:11 -07:00
Roman Lopez
7cd0a72cc4
Bug 1255006 - Ensure the displayport rect takes priority over a suppressed-margins displayport. r=kats
2016-03-21 21:56:44 -04:00
Kartikaya Gupta
091e3737ed
Bug 1257491 - Ensure that if the peek-messages code modifies the displayport, we schedule a repaint. r=BenWa
...
MozReview-Commit-ID: Chg4JAopxT7
2016-03-21 17:32:49 -04:00
Xidorn Quan
ba620a636b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
2016-03-17 13:55:48 +08:00
Xidorn Quan
289ca1f35e
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
2016-03-17 12:07:47 +08:00
Xidorn Quan
03d5b80bc0
Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
...
MozReview-Commit-ID: FTJlYS3bbTa
2016-03-21 11:59:36 +08:00
Daniel Holbert
1b9c6498f6
Bug 1257938 part 3: Remove support for the "layout.css.sticky.enabled" pref (so we'll unconditionally support "position: sticky"). r=corey
...
MozReview-Commit-ID: 9jYcXkUvi8S
2016-03-20 23:06:53 -07:00
Robert O'Callahan
160ba37ce4
Bug 1242172. Invalidate intrinsic ISizes that depend on viewport BSize when the viewport is resized. r=dbaron
...
MozReview-Commit-ID: INEHo7ghGyz
2016-02-29 18:49:34 +13:00
Kartikaya Gupta
2f2367194f
Bug 1254273 - Align the displayport to a max of 256 pixels even if the layer is larger. r=BenWa
...
MozReview-Commit-ID: CLghUMWkJU8
2016-03-14 15:02:43 -04:00
Kartikaya Gupta
308fd1f3ea
Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
...
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-14 14:07:31 -04:00
Benoit Girard
67ffec25f7
Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
...
MozReview-Commit-ID: K5PTxUqU9E6
2016-03-14 11:50:55 -04:00
Ting-Yu Lin
ccf44ea4f8
Bug 1251519 Part 2 - Remove nsLayoutUtils::IsRectVisibleInScrollFrames(). r=mats
...
nsLayoutUtils::IsRectVisibleInScrollFrames() was used only by
SelectionCarets which was removed in bug 1221459.
MozReview-Commit-ID: 4dQAq1umHY7
2016-03-10 17:38:31 +08:00
Brian Birtles
bd2759cad0
Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
...
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.
This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.
In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.
CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.
MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
Markus Stange
da83956e62
Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
...
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Sebastian Hengst
d37d8f6945
Backed out changeset 8abae7731417 (bug 1192910) for OS X 10.10 opt R-e10s bustage. r=backout
2016-03-08 14:43:43 +01:00
Markus Stange
27c7444731
Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
...
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Sebastian Hengst
a0ec278275
Backed out changeset 4a56c6dc4c7e (bug 1192910) for permafailing R-e10s on OS X 10.10. r=backout
2016-03-08 11:07:39 +01:00
Markus Stange
56d49bac4b
Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
...
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Kartikaya Gupta
efc7227539
Bug 1251937 - Don't align to tiles when displayport suppression is enabled. r=BenWa
...
MozReview-Commit-ID: JMSqpMPUcpv
2016-03-07 16:23:23 -05:00
David Anderson
f8e264b755
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
2016-02-23 10:11:43 -08:00
L. David Baron
ce01f6bd2d
Bug 1250342 patch 5 - Additional comment and variable name changes that should have been in patches 1 or 3.
...
MozReview-Commit-ID: IniRrCKSNuZ
2016-02-24 11:06:25 -08:00
L. David Baron
f57b2437ab
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-24 10:40:30 -08:00
L. David Baron
4ced313a4c
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-24 10:40:30 -08:00
L. David Baron
159ba51274
Bug 1247929 patch 2 - Hard-code the Web-compatible set of form controls whose intrinsic minimum inline-size shrinks to 0 when inline-size (width) is specified as a percentage. r=dholbert
...
This adjusts the behavior previously modified by bug 823483 patch 2 and
bug 823483 patch 5.
MozReview-Commit-ID: 5IjYhFLUr68
2016-02-24 10:40:29 -08:00
Cameron McCormack
cbb5f757f4
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
471cf640eb
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
8a879b8032
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Wes Kocher
35a1a6f191
Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
...
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)
2016-02-23 13:10:40 -08:00
Wes Kocher
9a52b34169
Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
...
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)
2016-02-23 10:39:08 -08:00
David Anderson
c6f8e80e7b
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
2016-02-23 10:11:43 -08:00
L. David Baron
b2207d6cb4
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-23 09:41:48 -08:00
L. David Baron
f44ba82554
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-23 09:41:47 -08:00
Boris Chiou
32cdf253b7
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
2016-02-17 21:37:00 +01:00
Aidin Gharibnavaz
9e61252906
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
Timothy Nikkel
c37fab9118
Bug 1246443. Don't make nsLayoutUtils::MaybeCreateDisplayPort also set the displayport base anymore. r=botond
...
It's not obvious that it does this (unless you read the comment or the code), and we don't gain much by doing it.
Also we need to split it up for the next patch in this bug.
2016-02-12 16:58:34 -06:00
Kartikaya Gupta
2139025336
Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
...
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Robert O'Callahan
d1728fb5bf
Bug 1194466. Use the table-outer frame's margin when requesting the margin for table element with getBoxQuads. r=mats
2016-02-02 22:47:15 +13:00
L. David Baron
3ef080e413
Bug 1245075 patch 1 - Remove assertion, since it can fire during frame destruction. r=dholbert
...
Without this patch, patch 2 will cause assertions since
nsFrame::DestroyFrom calls nsFrame::HasCSSAnimations (at a time when the
child frame has been destroyed), which calls into the code modified in
patch 2 to call GetStyleFrame.
2016-02-07 08:43:48 -08:00
Kartikaya Gupta
23b63e0d6f
Bug 990916 - On displayport expiry, trigger another round of expiry up the ancestor chain. r=tnikkel
2016-02-03 19:13:35 -05:00
Kartikaya Gupta
ba4a7c0c09
Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel
2016-02-03 19:13:35 -05:00