Commit Graph

49460 Commits

Author SHA1 Message Date
Ryan VanderMeulen
28ae0aa7ed Bug 778067 - Re-enable the crashtest on e10s.
--HG--
extra : rebase_source : ff945f34b41342707b6aa21657a4fa0dff8fb349
2016-03-11 18:30:08 -05:00
Kartikaya Gupta
10770e68c4 Bug 1254834 - Don't let displayport expansion trigger invalidation for scrolling invalidation tests. r=mstange
MozReview-Commit-ID: 3jKEUOzT9hG
2016-03-11 17:45:27 -05:00
Kartikaya Gupta
b809d22d38 Bug 1255705 - Add some useful logging that can be enabled at compile time. r=botond
MozReview-Commit-ID: KgjQMlY09Mn
2016-03-11 17:42:49 -05:00
Mason Chang
c01963ccec Bug 1255870. Delete reftests/bugs/542605-hidden-unscrollable-ref.xul. r=mstange 2016-03-11 12:06:10 -08: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
b5e5153688 Bug 1144096 part 26 - [css-grid] Fragmentation reftests. 2016-03-11 17:39:28 +01:00
Mats Palmgren
3fa78bc392 Bug 1144096 part 25 - [css-grid] Enable fragmentation to occur by reporting our actual reflow status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
3ab9def464 Bug 1144096 part 24 - [css-grid] Move the child frame merging code at the start of ReflowOverflowContainerChildren into a new method: DrainExcessOverflowContainersList. Make both take a param so that we can override how the OC child lists are merged together (normally just an Append; MergeSortedFrameLists for Grid). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
a808043f13 Bug 1144096 part 23 - [css-grid] A grid container fragment that is an overflow container can't be INCOMPLETE, only OVERFLOW_INCOMPLETE and it should always have zero BSize. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
c46f94cf01 Bug 1144096 part 22 - [css-grid] Check NS_INLINE_IS_BREAK_BEFORE before checking other completion status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
49b7f696e3 Bug 1144096 part 21 - [css-grid] Deal with dynamically inserted/appended/removed child frames. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
8a0ee1c101 Bug 1144096 part 20 - [css-grid] Sanity check our child lists before starting a Reflow (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
d44ff85401 Bug 1144096 part 19 - [css-grid] Sanity check the initial child lists we get from the frame constructor (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
6e7fad07b8 Bug 1144096 part 18 - [css-grid] Fix a couple of bugs in how we handle child existing continuations when pushing/pulling children. r=dholbert
There were two problems in the existing code (which was exposed by tests
that dynamically insert/remove items).  First, the situation when
we have some pushed items two or more fragments away and then pull up
those.  This creates a "hole" in the child next-in-flow chain like so:
grid-container-frag-0
  child1-frag-0
  ...
grid-container-frag-1
  ...
grid-container-frag-2
  child1-frag-1

After we reflow grid-container-frag-0 and it's still incomplete we will
reflow its NIF, grid-container-frag-1, but it will "stall" since it
doesn't have a continuation for child1.  We need to make sure to
always pull up a fragment for that child.  That's what the first hunk
is about in the patch.

Second problem is the opposite problem of pushing a child into a NIF
container that already has an OC child continuation, like so:
grid-container-frag-0
  OverflowList = { child1-frag-0 }
grid-container-frag-1
  OverflowContinuationsList = { child1-frag-1 }

When we reflow grid-container-frag-1 we'll pull in child1-frag-0
like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  OverflowContinuationsList = { child1-frag-1 }

This is bad since we'll consume BSize twice here.  The fix is
to move it our ExcessOverflowContinuationsList instead, like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  ExcessOverflowContinuationsList = { child1-frag-1 }

That's what the second hunk in this patch does.
2016-03-11 17:39:27 +01:00
Mats Palmgren
703a970a1e Bug 1144096 part 17 - [css-grid] Add helper methods that add a sorted list of child frames to the Overflow and ExcessOverflowContainers child lists. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
f68bdee058 Bug 1144096 part 16 - [css-grid] Implement fragmentation. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
29fbc46336 Bug 1144096 part 15 - [css-grid] Compute our pre-reflow logical skip sides and cache the result of ComputedLogicalBorderPadding() with that applied. r=dholbert
Our "pre-reflow logical skip sides" assumes each fragment will be
the last and have a block-end border.  We then skip the block-end
side at the end of Reflow if we're INCOMPLETE.  This simplifies
the logic that checks how many rows fits in this fragment.
2016-03-11 17:39:26 +01:00
Mats Palmgren
bbd8687f0d Bug 1144096 part 14 - [css-grid] Make ReflowInFlowChild() deal with a constrained available block-size. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
1dbca39b11 Bug 1144096 part 13 - [css-grid] Refactor ReflowChildren() by separating out the code that reflows normal flow children (grid items and placeholders) into a new method ReflowInFlowChild(). r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
7b283c23f7 Bug 1144096 part 12 - [css-grid] Collect and merge child frames we need for reflow. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
89b3d6e845 Bug 1144096 part 11 - [css-grid] Add a GetNearestFragmentainer() method that collects some data from the nearest enclosing fragmentainer needed for fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
db2d3d747c Bug 1144096 part 10 - [css-grid] Add a few helper methods to do a break before a row, and resize a row. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
7967ec17ab Bug 1144096 part 9 - [css-grid] Create a SharedGridData object owned by the first-in-flow Grid container to share state between its continuations. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
12979e91f6 Bug 1144096 part 8 - [css-grid] Add a new state flag, eBreakBefore, to record where breaks occur between tracks. r=dholbert 2016-03-11 17:39:26 +01: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
Mats Palmgren
485174bd17 Bug 1144096 part 5 - [css-grid] Create a couple of Grid container frame bits. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
788aa99a4a Bug 1144096 part 4 - [css-grid] Move more local nsGridContainerFrame classes into .cpp file. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
1235d41a20 Bug 1144096 part 3 - [css-grid] Remove CellMap::ClearOccupied() since it's not needed anymore. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
44db3be14e Bug 1144096 part 2 - [css-grid] Make GridItemInfo::mFrame available also in non-DEBUG builds since we'll need it to support fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
5d62d81f90 Bug 1144096 part 1 - [css-grid] Refactor nsGridContainerFrame state and methods. r=dholbert 2016-03-11 17:39:25 +01:00
Carsten "Tomcat" Book
ee9fb75679 Merge mozilla-central to mozilla-inbound 2016-03-11 16:57:57 +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
Andrew Halberstadt
6e6c1c8aae Bug 1245092 - Install reftest and specialpowers extensions at runtime via AddonManager.installTemporaryAddon, r=jgriffin
MozReview-Commit-ID: 5HSa3nFVTeF

--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest.jsm
extra : rebase_source : 924a3e937b47cac03674acdb56334882a2373f50
2016-03-09 14:38:13 -05:00
Mats Palmgren
46689fcaca Bug 1253977 part 2 - Reftests.
* * *
Bug 1253977 - Tweak the reftest to make it pass on Windows 8.  r=me
2016-03-11 14:50:58 +01:00
Mats Palmgren
22f0e87b7d Bug 1253977 part 1 - Update focus state on combobox frame destruction/construction properly. r=tn 2016-03-11 14:50:58 +01:00
Daisuke Akatsuka
cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Bobby Holley
abd6123240 Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert 2016-03-10 22:18:59 -08:00
Bobby Holley
0ff743226a Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00
Bobby Holley
3293dd162c Bug 1252611 - Hoist mDocument into StyleSheet. r=dholbert 2016-03-10 22:18:56 -08: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
Kartikaya Gupta
a8f43cb473 Bug 1253860 - Don't update the scrollbar unless we're actually painting. r=mstange
MozReview-Commit-ID: 3JIcp2NFwRn
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
2c7a5f6eaf Bug 1253860 - Skip paints for main thread scrolls if we can ask APZ to handle the scrolling for us. r=mstange
MozReview-Commit-ID: LqugzganLru
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Blake Kaplan
2797f17920 Bug 1255235 - Enable this already-passing test. rs=bz 2016-03-09 17:01:54 -08:00