Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
726b05f89b
Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
...
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Kartikaya Gupta
51255cfde4
Bug 1263347 - When checking if displayport changes should schedule a paint, make sure to use the proper displayport. r=mstange
...
MozReview-Commit-ID: IVcNSbEiESa
--HG--
extra : rebase_source : 3bfc8926b8059ea74bcb3e77d3f25c5800d0e71a
2016-04-18 17:00:52 -04:00
Xidorn Quan
6ad4420e52
Bug 1264910 followup - Include the pref for background-clip: text.
2016-04-18 19:19:16 +10:00
Xidorn Quan
6694da2b67
Bug 1264910 - Simplify pref callback register/unregister in nsLayoutUtils. r=dholbert
...
MozReview-Commit-ID: 39XQHJULIRb
--HG--
extra : source : d210a7a5cb6d46e7546f68c7813b053333373cdc
extra : amend_source : 60628ebad0e6dd318d55bd9eb960117c290306cc
2016-04-18 19:11:15 +10:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
CJKu
d2552e50a5
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycam
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 16:28:06 +08:00
Carsten "Tomcat" Book
ff1d585b2e
Backed out changeset b68e6d1cf93a (bug 759568) for reftest failures
2016-04-14 08:57:57 +02:00
CJKu
eb3d4dc948
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 12:45:37 +08:00
Ting-Yu Chou
964d4d12f1
Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander
2016-04-13 09:51:34 +08:00
Mats Palmgren
d4dfb9f81d
Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert
2016-04-14 01:32:12 +02:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Sebastian Hengst
2a9bc780d3
Backed out changeset 7ec8bfb9bbd4 (bug 759568) for failures in test_all_shorthand.html and more. r=backout
2016-04-12 17:55:52 +02:00
CJKu
a5da82483b
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-12 21:58:21 +08:00
Cameron McCormack
672aaef5a4
Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
0718df89c3
Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert
2016-04-12 15:52:42 +10:00
Cameron McCormack
d7db2f5ade
Bug 1261754 - Part 5: Move text-rendering from nsStyleSVG to nsStyleText. r=dholbert
2016-04-12 15:52:41 +10:00
Cameron McCormack
5bd6866210
Bug 1261754 - Part 4: Move image-rendering from nsStyleSVG to nsStyleVisibility. r=dholbert
2016-04-12 15:52:40 +10:00
Cameron McCormack
6883fc4b42
Bug 1261754 - Part 3: Move quotes from nsStyleQuotes to nsStyleList and delete nsStyleQuotes. r=dholbert
2016-04-12 15:52:40 +10:00
Cameron McCormack
d340c36d57
Bug 1261754 - Part 2: Make quotes computed values shareable between different structs. r=dholbert
2016-04-12 15:52:40 +10:00
Botond Ballo
868bc3704a
Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
...
MozReview-Commit-ID: DudrJuO4pFM
--HG--
extra : source : a9468a25f1b937c49c5f801069d2cdc2cd610bdd
extra : histedit_source : 18d04bcb32288c7713a162f0ee33650f6f10926f
2016-04-04 17:46:12 -04:00
Andreas Pehrson
c742b9dadf
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Timothy Nikkel
59adfe3545
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
e939861411
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
895380f52c
Bug 1219296 - Ship scroll snap information to the compositor. r=kats
...
MozReview-Commit-ID: 2aCaAEC5Csu
--HG--
extra : rebase_source : 840fa9478c32932c40cf3f9222d14da567f9d41b
2016-03-11 22:04:53 -05:00
Botond Ballo
a74ec8c79b
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Kartikaya Gupta
1627b885bb
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
9c7a4ca7f0
Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
...
--HG--
extra : rebase_source : 98a2baf9c3926cdb0740979d4cb5c11d7cd6a312
2016-03-28 11:02:18 +08:00
Seth Fowler
5973113f1b
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
4e40cd1d1a
Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
...
MozReview-Commit-ID: KdWCkXHjHzZ
--HG--
extra : rebase_source : ca15390be1d003c50e41ef89f40f5e7f543e8676
2016-03-23 17:16:38 -04:00
Daniel Holbert
37e8c9d5cc
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
f069d11783
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
4d67824b9e
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
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Xidorn Quan
f4ef02b391
Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
...
MozReview-Commit-ID: FTJlYS3bbTa
--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Daniel Holbert
00d43c6f13
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
be8e355f36
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
ab65d99c4e
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
b3806e256d
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
a08807e27f
Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
...
MozReview-Commit-ID: K5PTxUqU9E6
--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Ting-Yu Lin
459c649699
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
--HG--
extra : rebase_source : 9c35effc9ac44bb9de5df1e4ddfc0d32edcfb9c9
2016-03-10 17:38:31 +08:00
Brian Birtles
dd4f27f03e
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
fd02c2dffd
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
1c0df4dae0
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
cf4896ee92
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
fe62e82fdc
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
73cb47ec12
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
c712b6166e
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
4de734947b
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
2016-02-23 10:11:43 -08:00