Граф коммитов

47776 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 6708be703f Bug 1151213 part 2 - [css-grid][css-align] Reftests for the 'align-self' and 'justify-self' properties on grid items.
There are also some corrections here for existing reftests because
the old temporary 'stretch' scaffolding was wrong in many ways.
2015-11-03 17:52:40 +01:00
Mats Palmgren 8abe331366 Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert 2015-11-03 17:52:40 +01:00
Mason Chang 50a1920a4f Bug 1217905. Don't transform dest rects if destination context has a rotation with inset box shadows. r=mstange 2015-11-03 07:38:34 -08:00
Mats Palmgren a77e1f7b8d Bug 1151214 part 2 - [css-flexbox][css-align] Shim implemention for the new align/justify property values in flexbox layout (just to avoid fatal assertions). r=dholbert 2015-11-03 15:18:06 +01:00
Mats Palmgren 87a0b397a7 Bug 1176782 part 8 - [css-align] Update three tests that assumed that the computed value of 'align-items' is 'stretch' on all types of boxes which is no longer true. 2015-11-03 15:18:06 +01:00
Mats Palmgren 7c6b7fe751 Bug 1176782 part 7 - [css-align] Update the flexbox layout code to use the new align/justify style constants and remove the old in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren b06df07867 Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren ab2709bc55 Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren 343fce8c76 Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren 5259497975 Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren 9ef57353d7 Bug 1176782 part 2 - [css-align] Implement the 'justify-self' property in the style system. r=SimonSapin 2015-11-03 15:18:05 +01:00
Mats Palmgren cb1d1d16b1 Bug 1176782 part 1 - [css-align] Implement the 'justify-items' property in the style system. r=SimonSapin 2015-11-03 15:18:05 +01:00
Nick Robson acd22ee0b8 Bug 1216284 - Tooltips do not flip correctly on OSX. r=enndeakin
--HG--
extra : rebase_source : fb1847a65adfd3d80cd0dc45e30d49729d840eff
2015-11-02 14:26:00 +01:00
Timothy Nikkel ee21c076c2 Bug 1156238. Skip setting async scroll clips if we aren't painting to the window because they are useless then. r=mstange
Displayports only get acted upon when painting to the window, and the async scroll clips only get computed when we use a displayport.

In addition we change an assert because if we are painting to the window then our root reference frame is either a root frame, or a popup frame. In either case we should not be able to get to out of flows outside of the frame subtree rooted at the root reference frame by following placeholders.
2015-11-03 02:03:47 -06:00
Timothy Nikkel fab15510f7 Bug 1156238. Fix the computation of animated geometry roots for transform items. r=mattwoodrow
Removing the "stop at ancestor" parameter from functions that compute AGR meant that nsLayoutUtils::GetAnimatedGeometryRootFor could no longer pass the display item's reference frame as the "stop at ancestor" which meant that the AGR could cross the reference frame for the item, which we don't want. So we make transformed frames into AGRs.

This makes the computation of display items whose frames are transformed tricky. We need the AGR of the transform item to be the ancestor AGR, not the underlying frame of the transform item (which is now an AGR). So we modify nsLayoutUtils::GetAnimatedGeometryRootFor to handle this. (The patch from bug 1205087 didn't suffer from this problem because it special cased the computation of the AGR of transform items. Leaving anybody who called nsLayoutUtils::GetAnimatedGeometryRootFor to get the wrong result.)

The computation of the AGR for scroll metadata in ContainerState::ProcessDisplayItems specifically bypassed nsLayoutUtils::GetAnimatedGeometryRootFor to avoid it's special processing of fixed background items. However we do want the AGR for scroll metadata to do this special processing of transform items. So we add a flag to bypass the fixed background behaviour and use it for the scroll metadata AGR.
2015-11-03 02:03:47 -06:00
Matt Woodrow cf0b78ff4c Bug 1156238. Always stop at the root reference frame when looking for an animated geometry root. r=roc,mattwoodrow
This removes the "aStopAtAncestor" argument to agr computing functions. In most cases an AGR was passed for the stop at ancestor, so we'd stop at it anyway since it was an AGR. Most of the remaining cases the root reference frame was passed. And in a few cases something else was passed, which we probably don't want (returning something that isn't an AGR and isn't the root reference frame as an AGR).

The ShouldFixToViewport case is a little tricky. We want to get the AGR of the nearest viewport frame, but only if we don't have to cross our root reference frame to get it. This happens in practice for example when a select dropdown has background-attachment: fixed inside it.

Except for the ShouldFixToViewport bit, this patch is a subset of part 3 in bug 1205087 (which has more changes, and has been temporarily backed out, the remaining bits can hopefully land soon).

The ShouldFixToViewport part is by Timothy Nikkel <tnikkel@gmail.com>
2015-11-03 02:03:47 -06:00
Nigel Babu 9892fe78d6 Backed out changeset de50fec5c3a6 (bug 1219020) 2015-11-03 11:59:06 +05:30
Nigel Babu aa60675f7f Backed out changeset 19e021ef5ba1 (bug 1216288) 2015-11-03 11:59:05 +05:30
Matt Woodrow ffd079e640 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
--HG--
extra : rebase_source : 9eade6266c0a1f6485e5b82ab0c0c5bc49f9a85c
2015-11-03 16:49:22 +13:00
Matt Woodrow 63db61e6ca Bug 1219020 - Don't do layer tree comparisons for inactive layer trees that have changed layers since we'll invalidate it all anyway. r=roc
--HG--
extra : rebase_source : 659233e99a8c84a7d4a097aed06adb243bd10955
2015-11-03 16:48:42 +13:00
Mason Chang 02d08f46c2 Bug 1220699 - Add telemetry probe to measure vsync latency in the parent refresh driver. r=avih 2015-11-02 13:21:06 -08:00
Robert Longson 6bb5c22f19 Bug 803562 - force -moz-appearance: none on foreignObject elements. r=dbaron 2015-11-02 19:17:48 +00:00
Markus Stange bbd3965fc2 Bug 1201327 - Don't repaint the whole frame subtree when background-position changes. r=dbaron
--HG--
extra : commitid : C4Jy6JKsE6u
extra : rebase_source : 25c48c50ca2b89f321f1cf699c3a6081b1e074f5
extra : amend_source : a4e07cf315a0273e867d07f53703f6def2124d37
2015-11-02 17:36:35 +01:00
Markus Stange ec2e30835a Bug 1201327 - Let DLBI detect background-position changes. r=mattwoodrow
--HG--
extra : commitid : CDTUZNG0PYF
extra : rebase_source : 0f5db6e4a5cde5fe8faeb77e15f95d12f6753fac
2015-10-28 22:52:15 +01:00
Markus Stange 0beffda503 Bug 1201327 - Rename mDestRect to mImageLayerDestRect. r=mattwoodrow
--HG--
extra : commitid : 1cQZUlaicax
extra : rebase_source : f0877a904738c9f75a96b2bbe64728ff567f044e
2015-10-20 15:27:29 +02:00
Markus Stange ef4655be32 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : K9ntCNQz1Fx
extra : rebase_source : ed8a567f22626d7074bbc58eb5e61baa251fe2c3
2015-10-30 16:28:53 +01:00
Markus Stange d4830adc3d Bug 1201330 - Refactor LayerActivity property management. r=roc
--HG--
extra : commitid : 8TXvWYgtQN
extra : rebase_source : c5ab51b6620bc5f8735c2e6567bb4c0a03b13197
2015-10-21 16:25:09 +02:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Boris Chiou b2d9321540 Bug 1108055 - Part 2: Refine ComputedTiming. r=birtles
Do some minor revisions in struct ComputedTiming.
1. Use Nullable<double> mProgress, so remove the static const kNullProgress.
   The generated ComputedTimingProperties dictionary uses "Nullable" variable,
   so we replace the origin type in ComputedTiming to make it more consistent
   with that in ComputedTimingProperties dictionary.
2. Use scoped enums for AnimationPhase.

--HG--
extra : rebase_source : 31280c867a30e7bcdcfe831cbc72ca08c8ddc762
2015-10-19 00:38:00 +02:00
Kyle Zentner 6ea6e3723a Bug 1186998 - Align overflowing table-cell content to content-box. r=dholbert 2015-07-23 15:11:00 +02:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan 00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan 2d8cd33dc4 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Thinker K.F. Li 2a3f9839c2 Bug 1211360 - Don't snap for non-translation 3D transform. r=roc
--HG--
extra : histedit_source : 7515376b0eb76c7957adce0fc37cc5bb52361de5
2015-10-25 22:05:00 -04:00
Ryan VanderMeulen 26dd34092c Bug 694248 - Re-enable 691824-1.xhtml on Android.
--HG--
extra : rebase_source : 587af5032df5e5fc2757b2e22a2ab89ef8cbca14
extra : histedit_source : 13d16df07b7c1a69230c59427169372608391bbd
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen ffb659f49e Bug 696869 - Add crashtest.
--HG--
extra : rebase_source : 41c72716e6d9a93eefff3ddce1434697b8af9436
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 7bb977d5ac Bug 695964 - Add crashtest.
--HG--
extra : rebase_source : 2b9fecf2d5db1db414b61c27db05f665a1d449eb
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen fa1d35aecd Bug 690619 - Add crashtest.
--HG--
extra : rebase_source : bab83c75ac963f7437bd3599bf25a52a7034d579
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen e3cdc2558a Bug 690247 - Add crashtest.
--HG--
extra : rebase_source : 108b750fb2d13437df6dc77c1b081148532da4ba
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 3c1b193ecc Bug 681489 - Add crashtest.
--HG--
extra : rebase_source : 8dbc8c341ff39734f86d872d20c4b3c2e44feb5d
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Nicholas Nethercote 3d0821d5fd Bug 1219476 (part 5) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
--HG--
extra : rebase_source : c39ecc84dbe9a0f94b42f1c78dabf346ce3a3b9e
2015-10-29 15:58:24 -07:00
Timothy Nikkel ab02b09009 Bug 1220020. Recompute the current animated geometry root when a child scroll frame forces us to be layerized, and therefore turns us into an animated geometry root. r=mstange 2015-11-01 11:45:40 -06:00
Kartikaya Gupta d2dfde6db3 Bug 1220020. When we turn something into an animated geometry root, clear the cache of animated geometry roots so it's not stale. r=tnikkel 2015-10-05 17:13:02 -04:00
Timothy Nikkel f1cb02157d Bug 1215356. When setting a display port, schedule paint on that frame, not the root frame of the document. r=mattwoodrow
If we set a display port on an element in a popup we need to repaint the popup, not the main window.
2015-11-01 11:45:40 -06:00
Ryan VanderMeulen da6b5efa5d Bug 871327 - Clean up assertion annotations on 791601.xhtml and add crashtest for referenced bug that was resolved WFM. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 38eea6dc63 Bug 481035 - Remove assertion annotation from 421671.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 4a44c16c29 Bug 623091 - Re-enable 348887-1.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 6e43612cb0 Bug 859424 - Fix and re-enable 309322-4.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 58e04dabc8 Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00