Commit Graph

15380 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
d544ab27c4 Backed out changeset 231e5d92a129 (bug 1209273)
--HG--
extra : rebase_source : 41c4948ea3fdc58639f6c679d1a983a94aa773a4
2016-03-30 15:19:13 +02:00
chunminchang
1c9ec82591 Bug 1110030 - part3 - Interface between PresShell and HardwareKeyHandler. r=masayuki, r=smaug 2016-03-21 14:20:59 +08:00
Timothy Nikkel
adc89eea34 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats
The previous annotations only checked if the re-entrancy happened via DecrementVisibleCount.

The check in RebuildApproximateFrameVisibility is not needed because we add a check in DoUpdateApproximateFrameVisibility.

The check in ClearApproximatelyVisibleFramesList is not needed because we add checks in DoUpdateApproximateFrameVisibility and Destroy. The other caller, ClearApproximateFrameVisibilityVisited, is covered because it is only called from DoUpdateApproximateFrameVisibility.
2016-03-29 23:09:13 -05: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
Ethan Lin
f70f62c6a0 Bug 1228354 - Part1 - Support luminance mask mode. r=mstange r=bas
--HG--
extra : rebase_source : cd30463f8bfbdadbff5fa9d7ecce9ae075997223
2016-03-24 01:32:00 +01:00
Tobias Schneider
a576bb706f Bug 1209273 - Part 2 - Force printing background if color-adjust: exact. r=dbaron 2016-03-08 09:44:00 +01:00
Bobby Holley
3836b7c35b Bug 1258017 - Redesign and simplify rule tree GC. r=dbaron
The basic idea here is as follows:
* Rule nodes are reference-counted, but releasing them adds them to a linked
  list rather than freeing them. This allows for the reuse that motivated the
  original GC scheme.
* We get rid of the marking, and instead rely on the reference count.
* Sweeping no longer requires a complicated traversal. We just pop items
  off the free list until it's empty. When a child is destroyed, its parent
  may go onto the free list.
* We remove special handling for the root node, and use a regular reference-counted
  edge from the style set.
* The free list automatically asserts that it's empty (meaning all nodes have been
  freed) in its destructor, which runs when the style set is destroyed.
* We get rid of the list of style context roots on the style set. We still need
  a count though, because of the HasCachedStyleData check.
2016-03-28 08:59:22 -07:00
Arata Furukawa
28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Timothy Nikkel
8d09d0af0a Bug 1259817. Always clear RefPtr to refresh driver in nsPresContext::Destroy. r=mats
nsPresContext::Destroy gets called from the desctructor and the cycle collector unlink phase. In the latter the prescontext may live for a while yet.
2016-03-26 00:35:15 -05: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
Seth Fowler
020510839b Bug 1258594 (Followup) - Rename FrameProperties::IsSet() to FrameProperties::Has(). r=dbaron 2016-03-25 14:49:42 -07:00
Brendan Dahl
3c24d63475 Bug 1256084 - Don't force reflow on size mode change. r=heycam 2016-03-23 17:56:00 -04:00
Mantaroh Yoshinaga
224da3852b Bug 1215180 - Modify the scale calculate in order to prevent blurry of animation transform. r=mstange
--HG--
extra : rebase_source : 4400ddb9f28d69fec9216542a1cb190ca05c694c
2016-03-23 16:18:00 -04:00
Timothy Nikkel
420a4263c2 Bug 1234622. Tweak how nsDocumentViewer::FindContainerView finds the parent presshell. r=bz
During page transition the presshell we get via the parent docshell is the presshell for the _next_ document.

Whereas, the presshell we get via the containing frame element (iframe etc) is the current document.

If we use the presshell for the next document to get the primary frame for the containerElement it will return null because it doesn't have the right document.
2016-03-25 13:49:29 -05:00
Seth Fowler
dbc917faef Bug 1258594 - Add a FrameProperties::IsSet() method for use in assertions. r=dholbert 2016-03-24 16:02:58 -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
8b9d86b0ef Bug 1236400 part 2: Extend NeedsAnonFlexOrGridItem() & related code to wrap all inline-level -webkit-box children in an anonymous flex item. r=mats
MozReview-Commit-ID: LK4VW0xSI5m
2016-03-24 09:55:11 -07: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
Carsten "Tomcat" Book
1896f78c07 Backed out changeset 41de0b26ddd2 (bug 1238928) for test failures in /test_pointer-events-1b.xhtml 2016-03-24 08:47:25 +01:00
Matt Woodrow
9ea78cbc9b Bug 1238928 - Don't assume that our child list is unchanged in nsDisplayPerspective::BuildLayer. r=tnikkel
--HG--
extra : rebase_source : 80c25d1bfca68986294aae5b35c1e204237a33f4
2016-03-24 18:14:44 +13:00
Ehsan Akhgari
3c28741897 Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap 2016-03-23 19:42:59 -04:00
Xidorn Quan
c1a6d087c3 Bug 1258636 part 1 - Use structs to pass params for decoration-related functions in nsCSSRendering. r=jfkthame
MozReview-Commit-ID: 5EJJVmM1pyK

--HG--
extra : rebase_source : 290efcbe41f85fef3a577ff26b4553f195a7fde9
2016-03-22 16:51:15 +08:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano
2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Mats Palmgren
28c2af15f6 Bug 1258308 - Reftests. 2016-03-22 22:49:57 +01:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Markus Stange
04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04: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
Seth Fowler
56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler
d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher
8d3fbe0177 Backed out 3 changesets (bug 1209273) because something from this push appears to have broken Windows mochitests CLOSED TREE
Backed out changeset 9c6650c7e237 (bug 1209273)
Backed out changeset fb8b3ab41c82 (bug 1209273)
Backed out changeset 6e2e6b0c7d8e (bug 1209273)

MozReview-Commit-ID: J9WSL2CjoGJ
2016-03-18 15:48:00 -07:00
Tobias Schneider
6aaedb0ef9 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : 04792cd32f613f9cd91fe3d132abd4023e1d83d3
2016-03-08 09:44:00 -05:00
Benoit Girard
3b9e88cb17 Bug 1256373 - Simplify mMaybeHitRegion. r=tnikkel
MozReview-Commit-ID: 1Px20e5EWRj

--HG--
extra : rebase_source : 231205ce5e501ba96ec38fedbb6503c73cec82bc
2016-03-16 15:27:19 -04:00
Mats Palmgren
62b5045e23 Bug 1233191 part 1 - Implement sanity checks on the flex/grid container child frame list. Remove the anon grid item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01: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
Matt Woodrow
dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Mats Palmgren
734065f500 Bug 1237236 - Reftests to check caret position after collapsing a selection to the end of a line. 2016-03-17 17:27:56 +01:00
Sotaro Ikeda
0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Brian Birtles
38e9dfee9e Bug 1245260 - Ignore redundant calls to RestyleManager::IncrementAnimationGeneration; r=dbaron
While processing restyles and starting transitions, we may trigger
a call to EffectCompositor::UpdateCascadeResults which may, in turn, call
EffectCompositor::RequestRestyle with RestyleType::Layer, which ultimately
results in a call to RestyleManager::IncrementAnimationGeneration().

Typically, nsTransitionManager::StyleContextChanged compares the animation
generation on its collection with that of the restyle manager and uses this
to ignore the restyle that it generates. However, given the sequence of events
above, that check may no longer help since the restyle manager's animation
generation will be out of step. As a result,
nsTransitionManager::StyleContextChanged will fail to ignore a subsequent
and redundant restyle. With certain combinations of content, this can mean that
restyles are posted in such a manner than an infinite cycle of restyles ensues.

This patch causes RestyleManager to ignore calls to IncrementAnimationGeneration
when it is already processing restyles such that the animation generation is
only ever updated once per restyle. This makes the check for a matching
animation generation in nsTransitionManager::StyleContextChanged work as
expected, preventing us from generating needless transitions which can produce
this endless loop.

MozReview-Commit-ID: 9HYDrknKPAI

--HG--
extra : rebase_source : f7d9f251d20805fcb4d0d9be04d4343336e69836
2016-03-16 15:05:10 +08:00
L. David Baron
fef3d844c0 Bug 1256745 - Cancel the DidPaint timer in SetShell(nullptr). r=mattwoodrow
MozReview-Commit-ID: KwtJD4AywX1
2016-03-16 13:47:41 -07:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Chris H-C
b72448dbf9 Bug 1249664 - Save dropped-down state in nsPresState. r=dbaron
nsComboboxControlFrame will need some place to store its dropped-down state.
Instead of using nsISupportsPRBool and SetStateProperty, just add a bool.

MozReview-Commit-ID: CEnshCbqEV1

--HG--
extra : rebase_source : 6c4cef994ef85a1de2ff3aa40ad70bb150af9d09
2016-03-10 14:02:13 -05:00
Chris H-C
550ae0a515 Bug 1249664 - Make stateful frames responsible for their own keys r=dbaron
nsFrameManager::CaptureFrameStateFor generates keys for stateful frames that
only take into account the document and element. This precluded saving pieces
of information coming from different frames responsible for the same element.

MozReview-Commit-ID: 29x3Gj66wAy

--HG--
extra : rebase_source : 9f6fc24ce88009b31dae9fc37bb2187cad8164f2
2016-03-10 10:14:37 -05:00
Timothy Nikkel
5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
Gregory Szorc
72230d9b94 Bug 1256505 - Disable C4312 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 70QwT9y6eb2

--HG--
extra : rebase_source : afc1eb71d11241819a4e2d2219e699c081f0c4af
2016-03-14 17:56:28 -07: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
Ryan VanderMeulen
28ae0aa7ed Bug 778067 - Re-enable the crashtest on e10s.
--HG--
extra : rebase_source : ff945f34b41342707b6aa21657a4fa0dff8fb349
2016-03-11 18:30:08 -05:00
Sebastian Hengst
d45e7e2b70 Backed out changeset 21884d000ede (bug 1216924) for mochitest failures. r=backout 2016-03-11 20:35:45 +01:00
Sebastian Hengst
0da42f021e Backed out changeset 622e87797446 (bug 1254273) 2016-03-11 20:33:35 +01:00
Kartikaya Gupta
840302ec5b 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-11 12:01:29 -05:00
Kartikaya Gupta
08b9d0e75e Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-11 12:01:28 -05:00
Mats Palmgren
dab9dc1beb Bug 1144096 part 7 - [css-grid] Don't create PageBreakFrames inside a Grid container. The container will handle forced breaks on its items. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
9ea79df69f Bug 1144096 part 6 - [css-grid] Add support for creating Grid container continuations and deal with overflow containers. r=dholbert 2016-03-11 17:39:26 +01:00
Carsten "Tomcat" Book
e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Carsten "Tomcat" Book
80bad564c7 merge fx-team to mozilla-central a=merge 2016-03-11 11:51:28 +01:00
Seth Fowler
c963068948 Bug 1255362 - Null-check GetContainer() before using it in image-related ConfigureLayer() methods. r=mstange a=Tomcat 2016-03-11 15:12:07 +08:00
Daisuke Akatsuka
cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Phil Ringnalda
3ceef3ef63 Back out 2 changesets (bug 1209273) for devtools failures in browser_css_autocompletion.js
Backed out changeset 85f7dbb76c15 (bug 1209273)
Backed out changeset 1901109091be (bug 1209273)
2016-03-10 21:32:50 -08:00
Matt Woodrow
5f414f7d68 Bug 1220466 - Avoid doing unnecessary layer building work for inactive layers. r=mstange 2016-03-10 13:56:52 +13:00
Tobias Schneider
74df504068 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : d244c149e2b5e79082b77864fc7b6aaa912a687d
2016-03-08 09:44:00 -05:00
Kartikaya Gupta
3e180de2ca Bug 1242690 - Make sure that synthetic mouse events have a reasonable guid so that the callback transform can get unapplied properly. r=botond
MozReview-Commit-ID: FYnSEGAZLyO
2016-03-10 18:25:49 -05:00
Trevor Saunders
a879c2430c bug 1253265 - make some nsRestyleHint operators constexpr r=dholbert 2016-03-09 18:01:58 -05:00
Kartikaya Gupta
30f39f0a24 Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Ehsan Akhgari
aeb1803db1 Bug 1254985 - Port test_scroll_selection_into_view.html to mochitest-plain so that it runs under e10s; r=mrbkap
--HG--
rename : layout/base/tests/chrome/scroll_selection_into_view_window.html => layout/base/tests/scroll_selection_into_view_window.html
2016-03-09 16:41:51 -05:00
Markus Stange
0dc2cf176e Bug 1221094 - Detect scrollability (for using tiled layers) through container layers. r=mattwoodrow
MozReview-Commit-ID: 6Z8pniahhbP

--HG--
extra : rebase_source : e5464e4d77b41e227c1577b6a11d312c066e9291
2016-03-08 14:43:32 -05:00
Markus Stange
a0ae168e8d Bug 1221094 - Don't mutate local mParameters with stuff that we only want to pass somewhere else. r=mattwoodrow
MozReview-Commit-ID: FV0HxrrWfHW

--HG--
extra : rebase_source : 91b31f7613bfcdec44f75100516ab39b33e7de61
2016-03-08 14:43:15 -05:00
Mark Capella
aa9ca8ef90 Bug 1252802 - Web page scrolls when dragging caret in editable, r=snorp 2016-03-10 18:06:13 -05:00
Matt Woodrow
b954395165 Bug 1251527 - Don't override visible regions for background-attachment:fixed. r=mstange
--HG--
extra : rebase_source : ed4d7bd065a75bc04ff515d1a8f94592ff777419
2016-03-09 17:35:48 +13: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
Ting-Yu Lin
cc904bb3cc Bug 1253989 Part 6 - Refactor open_test_html(). r=mtseng
MozReview-Commit-ID: 2VY1GnVF7Jx

--HG--
extra : rebase_source : 679d21e1fad9227cb89a62ee0d3d593948affcc0
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
337ddd8206 Bug 1253989 Part 5 - Remove touch caret and selection carets naming. r=mtseng
- To avoid confusion, call the blinking cursor (nsCaret) "cursor" so that
  AccessibleCaret can be called caret for short.
- Add second_caret_location() as a helper function, and use it in
  selection mode tests.

MozReview-Commit-ID: IKN6KuR92HE

--HG--
extra : rebase_source : c247ad6b61bc1b1cc3c4d8784584e19d9ef5c1ea
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
22302ef765 Bug 1253989 Part 4 - Rename AccessibleCaret test files. r=mtseng
Remove "touch caret" and "selection carets" from file names and titles.

MozReview-Commit-ID: KqjYE7tiqXd

--HG--
rename : testing/marionette/harness/marionette/www/test_touchcaret.html => testing/marionette/harness/marionette/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_iframe.html => testing/marionette/harness/marionette/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_longtext.html => testing/marionette/harness/marionette/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multipleline.html => testing/marionette/harness/marionette/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multiplerange.html => testing/marionette/harness/marionette/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets.html => testing/marionette/harness/marionette/www/test_carets_selection.html
extra : rebase_source : 1af82b4e59c409109025684553aa0ff780eec947
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
732119fb5b Bug 1253989 Part 3 - Use @parameterized to rewrite selection mode tests. r=mtseng
* Inline some of the open_*_html methods since they're called only once.
* Save test running time by finding the elements needed in tests instead
  of find all of the elements in open_*_html methods.
* Remove test_long_press_to_select_non_selectable_word() since it's
  covered by test_focus_not_changed_by_long_press_on_non_selectable().
* Use hyphen for element ids.
* Replace "left" and "right" caret by "first" and "second" caret,
  respectively.

MozReview-Commit-ID: Ey5m5zO3HYc

--HG--
extra : rebase_source : c94b84ced75560ce1167cda35ee94dd4cc81ee4d
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
b40db974b8 Bug 1253989 Part 2 - Use @parameterized to rewrite cursor mode tests. r=mtseng
Remove _test_touch_caret_hides_after_receiving_wheel_event() completely
since it was a test only for touch caret, which is a leftover in bug
1221459.

MozReview-Commit-ID: 4szwuG6t5SF

--HG--
extra : rebase_source : 85a201d76016da65f14cd2cc0a641c342e266904
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
33799d733f Bug 1253989 Part 1 - Remove tests for accessiblecaret preference off. r=mtseng
I don't feel these tests are helpful. It's unlikely that someone will
accidentally turn on AccessibleCaret on desktop platforms without being
noticed. Remove these tests also reduces the test running time.

MozReview-Commit-ID: 33RQQSy77gZ

--HG--
extra : rebase_source : 5cd7fd77a48f07ee137d8140481ea6210070d139
2016-03-08 22:21:30 +08:00
Markus Stange
836fcb72ef Bug 1248913 - Make nsDisplayBlendContainer active or inactive based on its contents. r=mattwoodrow
MozReview-Commit-ID: GN0084Rrmlm

--HG--
extra : rebase_source : e11f0bd9385244d01a824c3ed327653495020df7
2016-03-08 14:39:07 -05:00
Markus Stange
46dbf6fc7d Bug 1248913 - Remove mCanBeActive and second nsDisplayBlendContainer constructor. r=mattwoodrow
MozReview-Commit-ID: Jcrip22bW5k

--HG--
extra : rebase_source : a2601fd33f6ec7cafa6902abb2ece13d4b0a9428
2016-03-08 14:38:22 -05:00
Markus Stange
08e56286e7 Bug 1248913 - Build nsDisplayBlendMode items for background-blend-mode. r=mattwoodrow
MozReview-Commit-ID: 72IzlcgHFtd

--HG--
extra : rebase_source : fdc3fd31176e1177e04b224c9206858437ef7806
2016-03-08 14:22:36 -05:00
Markus Stange
623ad9afd8 Bug 1248913 - Let nsDisplayBackgroundImage specify the background blend mode. r=mattwoodrow
This is needed because blending for nsDisplayBackgroundImage items will soon
happen outside of nsDisplayBackgroundImage::Paint, it will be done by an
nsDisplayBlendMode item that wraps the nsDisplayBackgroundImage item.

MozReview-Commit-ID: 20cILOGVFEG

--HG--
extra : rebase_source : 306725c99a1cd8d450149482817b8b51bc660908
2016-03-08 16:54:09 -05:00
Markus Stange
5485807971 Bug 1248913 - Rename nsDisplayMixBlendMode to nsDisplayBlendMode. r=mattwoodrow
We're going to use it both for background-blend-mode and for mix-blend-mode.

MozReview-Commit-ID: 6zKCDSkLspc

--HG--
extra : rebase_source : 81b4691d2b74e56c634bdf08f85636ba2abbf486
2016-03-05 17:04:02 -05:00
Markus Stange
14975d0ba1 Bug 1248913 - Add a constructor argument to nsDisplayMixBlendMode that lets you specify the blend mode. r=mattwoodrow
MozReview-Commit-ID: 9MqjLKjRmeh

--HG--
extra : rebase_source : 11ebc2d8fa1939ba079bdf09e916d3da1e68d6d7
2016-03-05 16:39:25 -05:00
Markus Stange
cd7fa4800f Bug 1248913 - nsDisplayListBuilder doesn't need to know what blend modes it contains, just whether it contains any. r=mattwoodrow
MozReview-Commit-ID: 5yQcGnXBKKp

--HG--
extra : rebase_source : 176c96a0b5d67a539e8f7e0c72e4ee541cbf1686
2016-03-05 12:46:14 -05:00
Markus Stange
301cb40329 Bug 1247854 - Apply the correct scroll clips to the nsDisplayTransform and nsDisplayPerspective of a scrolled perspective item. r=mattwoodrow
I've decided to fix this in a very explicit way. The only "magic" part that's
left is how we decide that the AGR of the perspective item is outside the
scrolled frame (and I'm not sure myself how that works).

I didn't want to change what scroll clips we set on what items, because the
scroll clip really belongs on the perspective item, because that's the item
that needs to be clipped, and it should also be the item that should be
scrolled if it weren't for the fact that APZ wouldn't know that it should
apply the perspective transform before the APZ transform.

MozReview-Commit-ID: BBw8VPohQI4

--HG--
extra : rebase_source : 9e11441af2b5dab93a5908236e153fc6cd2c3d8b
extra : histedit_source : 7b3dd75afa92346856765284be48df5618821326
2016-02-26 01:29:41 +01:00
Markus Stange
6260202cb6 Bug 1238564 - Get rid of cross stacking context parent scroll clip. r=mattwoodrow
MozReview-Commit-ID: JthSGAb5Kp3

--HG--
extra : rebase_source : cd00795753547f31b4d205d0d4b8b82b37d0bb75
extra : histedit_source : f867f175155d7aa3fa70bdbbd10119bd8310384d
2016-03-04 14:49:35 -05:00
Markus Stange
57c501e338 Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow
MozReview-Commit-ID: BgySqVGG43R

--HG--
extra : rebase_source : 752d726fbc238b783b8e41b7bcd2b6735c4d3739
extra : histedit_source : 0684a2b440de008fb24c7f82b270b9d69b6d77c5
2016-03-05 11:27:54 -05:00
Markus Stange
197419db4f Bug 1238564 - Include mIsAsyncScrollable information in DisplayItemScrollClip::ToString. r=roc
MozReview-Commit-ID: 7R38KtIjM5q

--HG--
extra : rebase_source : a23156202612ba4331f167f209eaa5c61d7dd402
extra : histedit_source : 488e2fdbc97a8c15aaa1bdbcceadaebc10976a3f
2016-02-24 16:23:32 +01:00
Markus Stange
0636b4dae1 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa

--HG--
extra : rebase_source : e570f16ecedd80cba16051f0e1ac66764bc95815
extra : histedit_source : fcfbcbc254aaf93594d9d80c117d6ec945805993
2016-03-04 15:05:58 -05:00
Markus Stange
cff7a4ce84 Bug 1238564 - Allow constructing nsDisplayWrapList with a given scroll clip. r=roc
MozReview-Commit-ID: 59FqPndU9mr

--HG--
extra : rebase_source : 3ce68bd42b034820421f1c31e649978f5e88adb7
extra : histedit_source : 3c76c77f38c9b2d5bbd85c4e5a820612f945b96f
2016-02-26 13:38:12 +01:00
Markus Stange
fe4bbe304b Bug 1238564 - Anticipate async scrolling when computing the scroll clipped bounds of a display list. r=roc
This makes sure that for example the bounds of an opacity item are not empty if
the opacity item contains a scroll frame whose contents are currently scrolled
offscreen but still inside that scroll frame's display port.

On its own, this changeset causes test failures due to missed optimizations
because the bounds of many opacity items are now too large. That's because of
the way we're setting scroll clips on opacity items at the moment: Even if the
opacity is inside a scroll frame, we're currently only setting that scroll
frame's scroll clip on the opacity item's contents, not on the opacity item
itself, because the opacity item might also contain other items that are not
scrolled by this scroll frame.
The next patch in this bug will make us only do that when necessary.

MozReview-Commit-ID: 9TtcJ7eQE7U

--HG--
extra : rebase_source : 51cab60bd27e1a7e3c2d6b8d791b79fe3b3baa94
extra : histedit_source : ba421898e442d08f7f711d13f71a693c34d908bb
2016-02-22 16:17:16 +01: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
Nathan Froyd
694927c993 Bug 1254551 - remove tabs in FrameLayerBuilder.cpp; r=me
DONTBUILD because whitespace-only changes are totally safe, right?
2016-03-07 15:50:35 -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
CJKu
d57efebb5f Bug 619500: Part 2. When drawing an SVG image as a CSS border-image, use preverveAspectRatio="none"; r=dholbert
MozReview-Commit-ID: JH5E3An4opJ
2016-03-08 15:54:13 +08:00
CJKu
19414f3998 Bug 619500: Part 1. Default sizing for specified size of SVG images which have no constraints; r=dholbert r=seth
MozReview-Commit-ID: 8DI86w6Ni8T
2016-03-08 15:54:13 +08:00
Seth Fowler
f5a0ea9226 Bug 1251804 - Use the ImageContainer's size and not the intrinsic size when computing the transform in nsDisplayImage::ConfigureLayer. r=tn
--HG--
extra : rebase_source : df3cfd946dd08a67284d0091b1b7ce0131fff47e
2016-03-07 17:06:04 -08:00
Kartikaya Gupta
42c6a18fb5 Bug 1107143 - Don't build event regions unless we're painting to the window. r=tnikkel
MozReview-Commit-ID: LRN8S7buXLL

--HG--
extra : rebase_source : 608e7f32c272f0154a509cab31be34c98ade5845
2016-03-07 17:08:31 -05: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
Jonathan Watt
3032d8365b Bug 1253094, part 5 - Stop using DebugOnly for class/struct members in layout/. r=mats
MozReview-Commit-ID: 3a49kqA4A9
2016-02-26 15:52:07 +00:00
Timothy Nikkel
3849e26998 Bug 1253044. Fix fall through of observer topics when other conditions aren't met in PresShell::Observe. r=dholbert 2016-03-06 23:43:47 -06:00
Ryan VanderMeulen
54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Hiroyuki Ikezoe
9cacbd5b2d Bug 1196114 - Part 5: Store performce warning information as enum type. r=birtles
Each warning message is generated only when getPropertyState() is called.

MozReview-Commit-ID: C03ZSvPv9ff

--HG--
extra : rebase_source : 5932957f8f0b171c7b100b1c22e70513959c819e
2016-03-04 17:54:25 +09:00
Hiroyuki Ikezoe
53fd8ccffb Bug 1196114 - Part 4: Localize messages for animation performance warnings. r=birtles
MozReview-Commit-ID: LPSHU2T3oP4

--HG--
extra : rebase_source : 898e11b02edd3f80452c8c2714b8364288a3fe75
2016-03-04 15:48:50 +09:00
Hiroyuki Ikezoe
d7ac86e556 Bug 1196114 - Part 3: Set AnimationPerformanceWarning messages. r=birtles
Those message will be modified in part 4 (localization).

MozReview-Commit-ID: 6TMUxemVLcu

--HG--
extra : rebase_source : 65ef1879b3e606ae6dc279981b1e995c7b2cd40b
2016-03-04 15:07:04 +09:00
Carsten "Tomcat" Book
6e681479dc Merge mozilla-central to fx-team 2016-03-04 13:40:08 +01:00
Neil Deakin
b4405ac04b Bug 1246669 - Enable test_bug749186.html and test_bug345267.html for e10s. r=dao 2016-03-04 08:49:09 +01:00
Timothy Nikkel
cd3746d910 Bug 1253052. Only schedule paint when apz aware event listener is added if event regions/apz are enabled. r=kats
Bug 1210057 added this, we should only do it if apz/event regions are enabled.
2016-03-03 15:52:09 -06:00
Bobby Holley
4d0a8d44bd Bug 1253078 - Switch MOZ_STYLO environmental variable to MOZ_DISABLE_STYLO. r=dholbert 2016-03-02 15:14:55 -08:00
Mats Palmgren
f3bc22c342 Bug 1249913 - True overflow containers shouldn't have borders or background. r=dholbert 2016-03-02 23:39:34 +01:00
Nathan Froyd
bced2f7575 Bug 1253007 - part 2 - pass a const& to PaintRangePaintInfo; rs=dholbert 2016-03-02 16:40:24 -05:00
Nathan Froyd
825414ab6a Bug 1253007 - part 1 - use UniquePtr for RangePaintInfo in nsPresShell.cpp; r=dholbert 2016-01-20 16:24:28 -05:00
Daisuke Akatsuka
0b1a2c1ae5 Bug 1248338 - Implement iterationStart; r=birtles 2016-03-02 16:23:34 +09:00
Ting-Yu Lin
b063b0cec5 Bug 1097398 Part 2 - Add preferences to make carets always tilt. r=roc
This is to support Firefox Android L style carets assets that the two
carets always look like tilt.

This patch is derived from a WIP patch by Mark Capella
<markcapella@twcny.rr.com>

MozReview-Commit-ID: H3nKLz6HcpM

--HG--
extra : rebase_source : b3a77b0bb8aaea8f010002f54fde075c9d469711
2016-02-16 16:55:28 +08:00
Nicholas Nethercote
6cdef547b5 Bug 1252374 - Increase the chunk size of the displayListArena. r=roc.
It reduces the number of malloc/free calls and may reduce malloc heap
fragmentation.

--HG--
extra : rebase_source : 9ca0b27fc29181667be924116807186e8eb1c1fa
2016-03-01 16:48:31 +11:00
Daniel Holbert
e23c4f231b Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam 2016-02-29 15:09:13 -08:00
Daniel Holbert
3b5be30cb3 Bug 1245978 part 3: Drop unnecessary whitespace in NS_DECL_NSIDOCUMENTVIEWERPRINT macro. (whitespace only, no review) 2016-02-29 15:09:13 -08:00
Daniel Holbert
65bef52b4d Bug 1245978 part 2: Drop redundant 'virtual' keyword from NS_DECL_NSIDOCUMENTVIEWERPRINT macro (which already includes 'override' keyword). r=heycam
This makes these lines shorter, and brings us into alignment with the Mozilla Coding Style Guide. See mozilla.dev.platform post "Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used" for more info.
2016-02-29 15:09:13 -08:00
Daniel Holbert
541713fc1f Bug 1245978 part 1: Make nsDocumentViewer::CreateStyleSet directly return the thing it creates. r=heycam 2016-02-29 15:09:13 -08:00
Jamie Nicol
4443e3c227 Bug 1247098 - Mark nsIPresShell::GetResolution and nsPresContext::IsRootContentDocument as const. r=tnikkel
MozReview-Commit-ID: 5IXm4EUy7IN

--HG--
extra : rebase_source : 7028a908adcb36828a58bb3ad7403559cfad9eb2
2016-02-24 14:57:43 +00:00
Ting-Yu Lin
a423fc51d3 Bug 1251915 - Ignore handling eTouchCancel events. r=roc
In my original design, I treat eTouchCancel to be like eTouchEnd for
ending a caret dragging procedure.

However when pointer events is enabled, it sents an eTouchCancel event
after the eTouchStart event whose primary usage is to be converted to
pointer events, which then cancels the normal caret dragging procedure.

Moreover, when pointer events is disabled, we don't get eTouchCancel
during a normal caret dragging scenario, so we don't really need to
handle eTouchCancel anyway.

MozReview-Commit-ID: GKju2Tp0q3Q

--HG--
extra : rebase_source : 31da189fc5543c7df0d748df004fc67c87f4da7f
2016-02-29 15:51:44 +08:00
Ting-Yu Lin
5b6692bd2c Bug 1251915 - Correct AccessibleCaretEventHub coding style by clang-format. r=roc
This patch is generatedy by applying clang-format on
AccessibleCaretEventHub.cpp.

MozReview-Commit-ID: 10qPJ47CVMH

--HG--
extra : rebase_source : ff39be696ef4cd93ffbe0b9e7c95920aa03a6893
2016-02-29 15:51:44 +08:00
Ting-Yu Lin
883cfca3eb Bug 1250560 - Fix crash in HandleTouchEvent. r=roc
When enabling "dom.w3c_pointer_events.enabled", we might get a
eTouchCancel event without any touch data. That is, aEvent->touches is
an empty array. We need to make sure it's non-empty before accessing
aEvent->touches[0].

MozReview-Commit-ID: BQUsrJjHHEl

--HG--
extra : rebase_source : d5f435792ecc0cac79937121fa03ce6f22c59582
2016-02-28 23:16:45 +08:00
David Anderson
0efa6917a2 Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
c00e9a5d93 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
baa8528ec5 Fold nsDisplayBlendContainer constructors. (bug 1209278 part 3, r=mstange) 2016-02-29 01:45:43 -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
David Anderson
b7dba4cb77 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Robert O'Callahan
e0d9d3c032 Bug 1250143. Account for border/padding on outer <svg> elements in GeometryUtils. r=mats
MozReview-Commit-ID: KwEwnukNgeF

--HG--
extra : rebase_source : d0ba2e4cd3e45280d8d030517c515caa04cb0b66
2016-02-25 23:54:09 +13:00
Eric Rahm
fa0cddb6fb Bug 1251770 - Remove remaining references to MOZILLA_XPCOMRT_API from layout. r=dbaron 2016-02-27 11:12:08 -08:00
Milan Sreckovic
ad2dbbf528 Bug 1252929: Next.1. Make layers.max-active preference not need a restart. r=mstange 2016-03-04 12:13:57 -05:00
Seth Fowler
b4ddf9bb30 Bug 1171371 - On memory-pressure, remove any stale images from the visible images list. r=tn 2015-06-04 11:08:19 -07:00
Cameron McCormack
49f6905565 Bug 1250790 - Don't try to add CSSStyleSheets from the style sheet service to a ServoStyleSet. r=bholley 2016-02-26 12:51:02 +11:00
Brendan Dahl
1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
Brian Birtles
a9218457d2 Bug 1239945 part 2 - Drop CommonAnimationManager::ContentOrAncestorHasAnimation; r=dholbert
This was added in bug 780692 to work around assertions that arose due to the
inconsistent state introduced by mini-flushes. However, that workaround
no longer seems necessary. In particular, the crashtest for bug 813372 no
longer reports failed assertions when we remove this method and nor do any
other tests.

I'm not sure exactly what changed about how we do mini-flushes but I suspect
it was bug 960465 or one of the related follow-ups.
2016-02-24 15:42:33 +09:00
L. David Baron
1cd0ed68ff Bug 1250342 patch 5 - Additional comment and variable name changes that should have been in patches 1 or 3.
MozReview-Commit-ID: IniRrCKSNuZ

--HG--
extra : rebase_source : ce42730f9f1d8a2e87fcf0d8f0095803d8ef099c
2016-02-24 11:06:25 -08:00
L. David Baron
1182aed626 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
b6111122f6 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
80475d611d 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