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

45251 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange f7f6e94e3e Bug 1151306 - Add a missing check during background color pulling. r=roc
--HG--
extra : rebase_source : cf647fb460c0f8e9f83e540e27055ef563af0d50
2015-04-05 14:05:44 -04:00
Brian Birtles db3793a49f Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-04-06 09:13:20 +09:00
Kartikaya Gupta abf7415cef Bug 1149260 - Guard against trying to draw a drag image with zero length. r=enndeakin 2015-04-02 20:45:50 -04:00
Markus Stange a0daf378c7 Bug 1148855 - Tweak reftest fuzziness. 2015-04-02 17:29:35 -04:00
Markus Stange 7992a7d2ae Bug 1148855 - Add some tests. r=roc
--HG--
extra : rebase_source : 869011e2d53740a54b71a5d8d13a46264ed9ca8c
2015-04-02 14:19:42 -04:00
Markus Stange 192ff01616 Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc
--HG--
extra : rebase_source : e6f246f2ee67e4b3478f5687774fb257f40dc5b4
2015-04-02 14:22:40 -04:00
Markus Stange e2ab5a8c41 Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat.
--HG--
extra : rebase_source : a5ec7aab3b588c6c5967cfbf1cebc607f6e24953
2015-04-01 17:31:56 -04:00
Markus Stange cd1c8ccd7f Bug 1148855 - Mark some ContainerState methods as const. r=roc
--HG--
extra : rebase_source : a25baee09a55ab02032c37bdf2ddfc005313203a
2015-03-25 18:08:56 -04:00
Markus Stange 6d2f0151ad Bug 1148022 - When frame metrics are attached to the container layer of the root scroll frame, make sure that its scroll frame is active. r=tn
--HG--
extra : rebase_source : bb0f77645cd023a6c4f086a54c89a3338bf4faee
2015-04-02 14:28:42 -04:00
Nathan Froyd 8bef8d02b7 Bug 1150049 - tidy up nsImageBoxFrame::Init a little bit; r=dholbert
We don't need to use manual NS_{ADDREF,RELEASE} here when nsRefPtr will
do that for us.  The manual QueryInterface invocation only serves to do
an expensive static_cast and increase the refcount; we can forget our
reference into mListener to achieve the same effect.
2015-03-11 13:19:43 -04:00
Carsten "Tomcat" Book daaba64d03 Backed out changeset 15b7c48af4c8 (bug 1139220) 2015-04-02 09:13:25 +02:00
Carsten "Tomcat" Book dfac4e74d5 Backed out changeset fce26111e6f0 (bug 1139220) 2015-04-02 09:13:20 +02:00
David Anderson 13e12b0304 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert)
--HG--
extra : rebase_source : 17514c0bcaf4ac61c53ab1729a5084fd55b8ee11
2015-04-01 23:42:40 -07:00
David Anderson be29505871 Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert)
--HG--
extra : rebase_source : 13755c2cff91efce8e10920a00e9bd36251cd886
2015-04-01 23:17:22 -07:00
L. David Baron 708af8df5f Bug 980770 followup - Use requestLongerTimeout(2) in test_animations_omta.html to fix intermittent Android timeout. 2015-04-01 22:11:03 -07:00
Jonathan Kew d4076f899e Bug 1145218 followup - Mark 1136557-*-nested-spans reftests fuzzy on Windows. no_r=me 2015-04-01 23:14:45 +01:00
Jonathan Kew 8ecb8c5e7f Bug 1145218 - Require a new float manager if a block frame has a different writing-mode to its parent's. r=dbaron 2015-04-01 16:43:59 +01:00
Jonathan Kew 5959a44b6d Bug 1145218 - Make the float manager's writing-mode field debug-only, and assert that it matches what callers are passing in. r=smontagu 2015-04-01 16:43:58 +01:00
Jonathan Kew d9a4b2e744 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Bill McCloskey 6bba9d317a Bug 1150151 - Set leak threshold for reftests (r=mccr8) 2015-04-01 14:42:37 -07:00
David Parks 3fe715e93a Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Wes Kocher 9a5e98b683 Backed out changeset bad0f7f06864 (bug 1145218) for windows reftest failures CLOSED TREE
--HG--
extra : amend_source : cd100399f17d38a58d10958b8cf21e45a53740ca
2015-04-01 11:36:19 -07:00
Wes Kocher dd9e1fd48f Backed out changeset 2bf6b633b054 (bug 1145218) 2015-04-01 11:36:17 -07:00
Ryan VanderMeulen 5bf1674bb7 Merge m-c to inbound. a=merge 2015-04-01 12:40:05 -04:00
Ryan VanderMeulen fc845bd84b Merge inbound to m-c. a=merge 2015-04-01 12:34:21 -04:00
Jonathan Kew 91e4501840 Bug 1146754 followup - Add a little fuzz to the testcase for OS X 10.10. no_r=me 2015-04-01 16:57:17 +01:00
Jonathan Kew 342902d896 Bug 1145936 - Reftest for sizing of foreignObject with vertical writing mode. r=smontagu 2015-04-01 16:50:12 +01:00
Jonathan Kew 4a73fc8f08 Bug 1145936 - Fix sizing of foreignObject with vertical writing mode. r=smontagu 2015-04-01 16:50:11 +01:00
Jonathan Kew 706277d4b0 Bug 1145218 - Require a new float manager if a block frame has a different writing-mode to its parent's. r=dbaron 2015-04-01 16:43:59 +01:00
Jonathan Kew 326760fbd9 Bug 1145218 - Make the float manager's writing-mode field debug-only, and assert that it matches what callers are passing in. r=smontagu 2015-04-01 16:43:58 +01:00
Carsten "Tomcat" Book 44f66f35a7 Backed out changeset 43f8e1806067 (bug 1149304) for unexpected pass in Android 1149304-1-transform-change.html tests 2015-04-01 15:11:38 +02:00
Carsten "Tomcat" Book f5bf6c681e Backed out changeset 72d01e62e037 (bug 1149519) 2015-04-01 15:10:36 +02:00
Jonathan Kew 69f3ddb360 Bug 1149519 - Followup - remove Windows XP failure annotation from reftests/bugs/1149304-1-transform-change.html. r=me 2015-04-01 12:46:53 +01:00
Edgar Chen 2442e06b5e Bug 1142770 - part 1 - Use telephony service creator for telephony IPC service. r=hsinyi 2015-03-17 13:50:34 +08:00
Ryan VanderMeulen c457edf9a8 Bug 1145546 - Add missing nsBidiPresUtils.h include to nsGfxScrollFrame.cpp to fix non-unified bustage. r=jfkthame 2015-03-31 10:47:49 -04:00
Jonathan Watt 2b22106122 Bug 1145246, part 3 - Update layout code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=birtles 2015-03-20 18:20:49 +00:00
Jonathan Watt d9bad51ee9 Bug 1074630, part 1 - Implement Web Animations finishing behavior. r=birtles, r=smaug 2015-03-18 13:22:11 +00:00
Xidorn Quan b54fc57dba Bug 1146103 followup - Add comment mentions upgrading warning and add crashtest for the assertion.
--HG--
extra : source : 0323205d9d9a6fa58bedb6f8f922fd200b9b392d
2015-03-31 16:30:29 +11:00
Xidorn Quan 7ee8cc4465 Bug 1146107 - Replace MOZ_ASSERT with NS_WARN_IF_FALSE on isize check in ruby base container. r=dholbert
--HG--
extra : source : b0dea2a0018b986b90c12055e047a925705982bf
2015-03-31 16:30:29 +11:00
Xidorn Quan d6b37bd85a Bug 1146114 - Make assertion checking additional leading in ruby frame non-crash. r=dholbert
--HG--
extra : source : 3540e92c7f860c6b314abe7169adaab0f2f5c009
2015-03-31 16:30:29 +11:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Daniel Holbert 52bec6b5de Bug 1149383 part 2: Reorder width/height decls in flexbox-writing-mode reftests for consistency. (test-only) 2015-03-30 20:22:04 -07:00
Daniel Holbert f66351f5f1 Bug 1149383 part 1: Make flexbox writing-mode tests use different widths vs. heights to reveal bug with vertical writing-modes. (test-only) 2015-03-30 20:22:03 -07:00
Jonathan Kew 90eb9b99a0 Bug 1149304 - Reftest for repaint issues when changing CSS transform (fails on WinXP, OS X, and older Android). r=roc
* * *
Bug 1149304 - Mark test as failing on WinXP, OS X and Android.
2015-04-01 09:02:29 +01:00
Jonathan Kew 0aaa1c57da Bug 1146754 - Show selection highlighting for trailing space. r=mats 2015-04-01 14:45:16 +01:00
Jonathan Kew 4e246efbb9 Bug 1146754 - Fix reftests for selected shadowed text to avoid trailing-space issues. r=mats 2015-04-01 14:45:09 +01:00
Jonathan Kew 84896426ce Bug 1146754 - Reftest for selection highlighting of trailing space. r=mats 2015-04-01 14:45:01 +01:00
Bill McCloskey 7f4ac9ee96 Back out bug 1075670 2015-03-30 20:13:07 -07:00
Xidorn Quan 2fbaf73148 Bug 1143513 - Make nsFrameList compatible with range-based syntax and utils. r=roc,waldo
--HG--
extra : source : 08caf763669386f0b5db4b5daaf4cd183380c051
2015-03-31 14:08:17 +11:00
Xidorn Quan 4d19e08716 Bug 1146103 - Use NS_WARNING instead of MOZ_ASSERT for bcoord check in ruby text container. r=dbaron
--HG--
extra : source : b0392b1184e2ab066399e6f38e06212ef1c53c18
2015-03-31 14:08:03 +11:00
Cameron McCormack 6186eabcf9 Bug 1072101 - Unified build fix; no review. 2015-03-31 14:05:33 +11:00
Cameron McCormack b1f66da064 Bug 1072101 - Part 5: Remove indexed property access on FontFaceSet. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack 8f0c4021e3 Bug 1072101 - Part 3: Implement FontFaceSet.forEach. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack 07051e8f27 Bug 1072101 - Part 2: Implement FontFaceSet.{entries,values}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack d5707c9f36 Bug 1072101 - Part 1: Implement FontFaceSet.size. r=peterv 2015-03-31 14:05:33 +11:00
Xidorn Quan 3b4c0d5354 Bug 1146112 - Mark ruby pseudo frames as line participant in frame constructor. r=roc
--HG--
extra : source : f84d9fe6a62590e795c5e307fca17ef527490e56
2015-03-31 09:20:01 +11:00
Mats Palmgren 25fa3a4765 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Mats Palmgren 1aeda3bb8d Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:36:01 -04:00
Mats Palmgren 0c9ef677ad Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:35:47 -04:00
Mats Palmgren 5b0f58f5ef Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 11:35:25 -04:00
Carsten "Tomcat" Book 5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book 01ecf36bdd Backed out changeset 9ac36968bff2 (bug 1149035) 2015-03-30 15:03:30 +02:00
Carsten "Tomcat" Book 386163877c Backed out changeset e507145a198c (bug 1149037) 2015-03-30 15:03:25 +02:00
Carsten "Tomcat" Book 191c9180a5 Backed out changeset 9534a3d38191 (bug 1149041) 2015-03-30 15:03:19 +02:00
Neil Deakin ed3482df8a Bug 1117586, [e10s] select dropdowns cannot be opened with the keyboard, r=roc 2015-03-30 08:53:44 -04:00
Mats Palmgren 2e8393adc7 Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren dc5a3bcd7b Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren eedeead903 Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren 2121f47090 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Martijn Wargers 58292532ca Bug 1148405 - Intermittent Mulet test_garbage_at_end_of_declarations.html,test_value_storage.html. r=smaug 2015-03-27 16:43:28 +01:00
John Daggett 88d02c9992 Bug 1094571 - add unicode-range load tests. r=heycam 2015-03-30 10:05:32 +09:00
John Daggett e869e619cd Bug 1094571 - add woff versions of markA, markB, etc. fonts. r=heycam 2015-03-30 10:05:12 +09:00
Timothy Nikkel 9d2d565492 Bug 1133732. Header include got missed in rebase. on CLOSED TREE 2015-03-29 18:16:43 -05:00
Timothy Nikkel 12af8e918a Bug 1133732. Make button box frames listen for blurs so they de-activate on blur. r=smaug 2015-03-29 18:05:00 -05:00
Mats Palmgren ea742f35e6 Bug 1148833 part 4 - Fix indentation of some Reflow params (white-space changes only). 2015-03-29 22:38:40 +00:00
Mats Palmgren ed9ed2d61a Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Mats Palmgren 9381fb18a2 Bug 1148833 part 2 - Makes sure gLogModule is initialized by calling GetLogModuleInfo(). r=roc 2015-03-29 22:38:40 +00:00
Mats Palmgren 47bcd96eb6 Bug 1148833 part 1 - Remove nsMathMLContainerFrame::WillReflow, reset the NS_MATHML_ERROR bit at the start of Reflow instead. r=roc 2015-03-29 22:38:39 +00:00
Nicolas Silva 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Brian Birtles 6fd700984b Bug 1109390 part 18 - Rename AnimationPlayer::IsRunning to IsPlaying and reuse IsInPlay definition; r=jwatt
This patch renames the confusing IsRunning method since IsRunning() is *not*
the same as (PlayState() == AnimationPlayState::Running). It also removes
the old definition to make better re-use of PlayState() and IsInPlay().
2015-03-27 18:01:00 +09:00
Brian Birtles a7e4fac5e7 Bug 1109390 part 16 - Update IsCurrent to take a player parameter; r=jwatt
In preparation for introducing IsInPlay (where "in play" is a term in the Web
Animations spec), this patch aligns the existing IsCurrent with the definition
in the spec that says an animation effect is only current if it is attached
to an animation (player in our current naming) that is not finished. In order
to ensure that we need to pass the animation/player into the method.

This actually changes the behavior of IsCurrent since now we will return false
for animations that are finished. As far as I can tell, all the call sites that
are requesting current animations should only be concerned with animations that
are actually running. If not, they need to be adjusted to look for animations
that are either current or in effect.
2015-03-27 17:44:38 +09:00
Cameron McCormack 44a6617223 Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert 2015-03-29 22:57:04 +11:00
Markus Stange d72114bc33 Bug 1146626 - Refresh the reftest snapshot after adjusting the async scroll offsets. r=roc 2015-03-25 22:35:57 -04:00
Markus Stange 3b1eafd81a Remove workaround for bug 748219, which seems to have been fixed in the meantime. 2015-03-23 02:17:37 -04:00
Markus Stange dd0e397ac6 Bug 1039926 - Add a test for not invalidating stuff inside mask layers.
--HG--
extra : amend_source : f179e9c49c05e0c801228a7faf3c2c5efc5499d2
2015-03-28 21:14:10 -04:00
Mats Palmgren 85f77e706b Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc 2015-03-28 20:50:35 +00:00
Daniel Holbert 74d1359f87 Bug 1148588 part 2: Annotate a few more intermittent object-fit-*-svg embed/object tests as skip-if(B2G). 2015-03-28 07:38:28 -07:00
Xidorn Quan 4573209c4a Bug 1144607 followup - Fix submitted reftest for string value of list-style-type. DONTBUILD
--HG--
extra : source : 6b683cff3348b071880db52e6b624a1a4ff74cc7
extra : amend_source : afb4a2dbbc2798cd1ac0f60eb3eae6b7a57f3053
2015-03-28 17:19:51 +11:00
Seth Fowler a88105de70 Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc 2015-03-27 20:07:31 -07:00
Wes Kocher 18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Wes Kocher e4585cf145 Merge b2g-inbound to m-c a=merge 2015-03-27 17:11:19 -07:00
Jorg K a3ee4e22d2 Bug 756984 - Collapse the selection on the last text node on the line, skipping br and inline frames when clicking past the end of line; r=roc,ehsan 2015-03-27 20:04:29 -04:00
Wes Kocher f7b636d799 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen e09b8cecbf Merge m-c to b2g-inbound. a=merge 2015-03-27 12:20:00 -04:00
Ryan VanderMeulen da1028199c Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Cameron McCormack 46bbe6c83f Back out 346bbcaeff38 (bug 1076803) for still failing intermittently. 2015-03-27 22:30:17 +11:00
Cameron McCormack 7ad91f675c Bug 1145506 - Make FontFace constructor fail on invalid src strings but otherwise create user font entries immediately. r=jdaggett 2015-03-27 21:13:21 +11:00
Cameron McCormack 84fb6881ec Bug 1079292 - Re-enable TEST 18 in test_font_loading_api.html; no review. 2015-03-27 21:05:22 +11:00
Cameron McCormack 49a40c98f7 Bug 1145937 - Don't set FontFaceSet status to Loaded between a font download completion and the document reflow. r=jdaggett 2015-03-27 21:05:22 +11:00
Cameron McCormack 775fd8c4a0 Bug 1144977 - Part 2: Tests. r=jdaggett 2015-03-27 21:05:22 +11:00
Cameron McCormack 8b9fe566c3 Bug 1144977 - Part 1: Don't include FontFace objects in more than one loadingdone/loadingerror event. r=jdaggett 2015-03-27 21:05:22 +11:00
Brian Birtles c66558469d Bug 1109390 part 12 - Update IsPaused to handle pause-pending players as well; r=jwatt
IsPaused is used in nsAnimationManager to detect if a newly created animation
should be paused. It is also used inside AnimationPlayer::IsRunning which is
used to determine what animations to send to the compositor (we don't send
paused animations to the compositor). In all these cases we want to treat paused
animations and pause-pending animations alike.

This patch updates IsPaused to include also pause-pending animations. At the
same time it renames IsPaused to IsPausedOrPausing to reflect the change in
behavior.

This patch also adjusts a few nearby one-line functions to put the opening brace
on a new line since apparently this is what the coding style says to do.
2015-03-27 15:56:45 +09:00
Brian Birtles f7d9eb1f72 Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt
These methods will soon be used to start animations that are waiting to start
and also to finish pausing animations that are waiting to pause. As a result
we rename them to TriggerXXX since that's a bit more generic.

There are still references to StartXXX within PendingPlayerTracker. These will
be updated in a subsequent patch once we have the appropriate methods available
on AnimationPlayer to call.
2015-03-27 15:56:45 +09:00
Timothy Nikkel 0f1b02da06 Bug 1130400. Add test. 2015-03-27 01:52:39 -05:00
Geoff Brown 53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Wes Kocher 5b6f65bcdb Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey 525ae5030d Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Xidorn Quan 075856b50a Bug 1144607 part 3 - Reftests for string value on list-style-type. r=dbaron
--HG--
extra : source : 1b7c126912bab33c14f668934a05b0a72ac63f2f
2015-03-27 09:48:10 +11:00
Xidorn Quan 19909f89a5 Bug 1144607 part 2 - Support string value for list-style-tyle. r=dbaron
--HG--
extra : source : 6beebea539fc3fbd9427965dcd8ef6b39eb3ff00
2015-03-27 09:48:10 +11:00
Xidorn Quan f877035d9b Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron
--HG--
extra : source : 39d3444d47783f6e3898210b67424d4c41510791
2015-03-27 09:48:10 +11:00
Cameron McCormack 04722fa8f9 Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Seth Fowler 6681449f00 Backed out changeset c035d63ade9d (bug 1068881) 2015-03-26 15:45:00 -07:00
Jeremy Chen 0d9dd77e66 Bug 1140625 - Part 5: Move Flush_Layout to the right place in SelectionCarets::UpdateSelectionCarets. r=roc 2015-03-24 03:34:00 -04:00
Jeremy Chen dc78f0b03f Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc 2015-03-24 01:21:00 -04:00
Martijn Wargers 84811f67ae Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Morris Tseng b2cd13bc1c Bug 1140625 - Recursive call GetFrameForNodeOffset if text node has no frame. r=roc 2015-03-19 02:47:00 -04:00
Jeremy Chen 2f598d90a4 Bug 1140625 - Part 1: Add recursive call in GetFrameForNodeOffset. r=roc 2015-03-24 01:15:00 -04:00
Jonathan Kew 7635d77d57 Bug 1133945 - Reftest for vertical-align with dominant centered baseline. r=smontagu 2015-03-26 12:35:15 +00:00
Jonathan Kew cbbd8efccc Bug 1133945 - Fix behavior of vertical-align with a specified length, relative to dominant centered baseline in vertical mode. r=smontagu 2015-03-26 12:34:57 +00:00
Simon Montagu 6897c5f45d Bug 1145546: take auto-direction into account in GetScrolledRect, r=jfkthame 2015-03-26 14:02:35 +02:00
Tom Tromey 918392e548 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Jonathan Kew b3127b6a5b Bug 1138356 - Reftests for button contents alignment in vertical writing modes. r=smontagu 2015-03-12 16:49:50 +00:00
Jonathan Kew 65d058f1da Bug 1138356 - Correct the alignment of button contents in vertical-rl writing mode. r=smontagu 2015-03-12 13:09:30 +00:00
Seth Fowler 033e56ac3a Bug 1147195 - Reenable list-simple-1.html. 2015-03-26 15:39:52 -07:00
Seth Fowler 1efbe4ce32 Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc 2015-03-26 15:39:52 -07:00
Seth Fowler 0934f2e2f0 Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc 2015-03-26 15:39:37 -07:00
Cameron McCormack 66744f5325 Bug 1147737 - Remove duplicate Selection.h entry from layout/generic/moz.build. r=dholbert 2015-03-26 16:26:05 +11:00
Seth Fowler be84cac397 Bug 1128467 - Take scale factors into account when computing image size even if we aren't snapping. r=roc 2015-03-25 18:12:58 -07:00
Timothy Nikkel d6eff64aa4 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Daniel Holbert 3025ef62e7 Bug 1148078: Replace the word "Logical" with "Flex-Relative" in some vars & functions in flexbox layout. r=mats 2015-03-26 14:37:48 -07:00
Bill McCloskey f2d972e4f2 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Kearwood (Kip) Gilbert c654443e20 Bug 1035611 - Part 2: Test to ensure that transformed rects crossing the w=0 plane are clipped correctly. r=mattwoodrow
- An element is transformed such that its inverse projection transform
  results in a bounding box reaching an infinite / vanishing point.
2015-03-25 11:28:37 -07:00
Mats Palmgren a019652b87 Bug 1107786 - part 4, [css-grid] Reftests for the CSS 'order' property on grid items. 2015-03-26 18:57:39 +00:00
Mats Palmgren f07f4ec4e5 Bug 1107786 - part 3, [css-grid] Implement layout and painting per the CSS 'order' property for absolute positioned grid items. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren 0311bd02c1 Bug 1107786 - part 2, [css-grid] Implement a DisplayList sorting function that sorts by CSS 'order'. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren eec06d0223 Bug 1107786 - part 1, [css-grid] Implement layout and painting per the CSS 'order' property for normal flow grid items. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren f1cf93f01b Bug 1145968 - [css-grid] Make grid items paint as inline-blocks and create a stacking context when 'z-index' != 'auto'. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren 023c6e11ff Bug 1107783 - part 2, [css-grid] Reftest for basic placement and layout of abs.pos. grid items. 2015-03-26 18:57:39 +00:00
Mats Palmgren 22055216dd Bug 1107783 - part 1, [css-grid] Implement abs.pos. grid item placement and reflow. r=dholbert 2015-03-26 18:57:39 +00:00
Kartikaya Gupta 69c669cbeb Bug 1147552 - Add a yellow background on the active test item in the reftest analyzer. r=dbaron
DONTBUILD because NPOTB
2015-03-26 14:54:21 -04:00
Bevis Tseng e511c87731 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : histedit_source : c4f30cabe18e4a2ef4f6a34745e95d46c5baaff7
2015-01-13 18:03:44 +08:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Daniel Holbert 64b999f2ed Bug 1149854: Use range-based "for" loops when iterating over child frames in nsFlexContainerFrame.cpp. r=xidorn 2015-03-31 21:50:46 -07:00
Brian Birtles 6fcd367da0 Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt 2015-04-01 12:23:24 +09:00
Brian Birtles 6aae9afebc Bug 1109390 part 20 - Add an options flag to GetAnimationsForCompositor to control; r=jwatt
This patch adds an options flag to GetAnimationsForCompositor for two reasons.

a) We want to reuse this functionality in nsLayoutUtils.cpp rather than
   duplicating the same logic. To do that and maintain the existing behavior,
   however, we need to *not* update the active layer tracker when calling this
   from nsLayoutUtils.cpp.

b) It's surprising that GetAnimationsForCompositor also has this side effect of
   updating the active layer tracker. Adding this as an option makes it clear at
   the call site that this is what will happen.
2015-04-01 12:23:24 +09:00
Mats Palmgren 2fa6fbc270 Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:03 +00:00
Mats Palmgren 70fe7341e9 Bug 1149784 - Make nsSubDocumentFrame::GetMarginAttributes use CSSIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:02 +00:00
L. David Baron e90b72b9db Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
L. David Baron 1fe6a61ae9 Bug 847287 patch 12 - Check mWinsInCascade for all callers of GetAnimationOfProperty/HasAnimationOfProperty. r=birtles
This patch (after stepping through the call graph) affects the following
places:
 * CommonAnimationManager::GetAnimationsForCompositor, which is used
   only by nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer,
   which already checks the individual animations (so really no change)
 * AnimationPlayerCollection::CanThrottleAnimation
 * ActiveLayerTracker::IsStyleAnimated
 * nsLayoutUtils::HasAnimationsForCompositor
 * nsLayoutUtils::HasAnimations (which is used only to check whether we
   can make the 0-opacity optimization)
I believe it makes sense to change all of these locations (although in
the long term we want to throttle (or similar) more animations).

Without this patch, I believe we're forcing the creation of an opacity
layer because we think we have animations to send to it.
2015-03-31 15:05:55 -07:00
L. David Baron d192a6e11d Bug 847287 patch 11 - Only check that we can throttle animations once per refresh cycle (or invalidation of style rule), to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

Mechanically, the patch moves a chunk of code that is around the last
part of the function and converts it to an early return that's slightly
earlier than that last part, thus also including the skipping of the
throttling checks in what we skip for the early return.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron 703ab1d2b9 Bug 847287 patch 10 - Only call CheckNeedsRefresh if we might have changed mNeedsRefreshes, to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron cdb6523104 Bug 847287 patch 9 - Use fully-updated style rule for animations when updating cascade results for transitions. r=birtles
I don't have a test case that requires this, but it seems like a good
idea.  (It was an incorrect theory for fixing a test failure that I was
debugging, but still seems worth doing.)
2015-03-31 15:05:55 -07:00
L. David Baron 7a006d4d0a Bug 847287 patch 8 - Only update transition manager's cascade results when an animation starts or stops being in effect. r=birtles
This avoids some extra work that was added in bug 1125455 now that we
have a mechanism for detecting when animations start and stop being in
effect (introduced in patch 7).

This is also needed to prevent infinite recursion in patch 9.
2015-03-31 15:05:54 -07:00
L. David Baron df063f161f Bug 847287 patch 7 - Dynamically update cascade results when animations start or stop being in effect. r=birtles
This is an additional part of the main work in this bug; it keeps
mWinsInCascade updated in cases where we need to update it.
2015-03-31 15:05:54 -07:00
L. David Baron a7bdf3d859 Bug 847287 patch 6 - Set mWinsInCascade for CSS Animations. r=birtles
This is the main patch for the bug; it makes us use the mechanism added
in bug 1125455 to avoid sending animations that aren't currently
applying to the compositor.

Patch 7 is needed to make this code rerun in all the cases where we need
to rerun it, though.
2015-03-31 15:05:54 -07:00
L. David Baron 538784230b Bug 847287 patch 5 - Add method to update animations on layer. r=birtles
This does somewhat less work than PostRestyleForAnimation, although I
believe PostRestyleForAnimation would be a sufficient alternative.

This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 4fbe445174 Bug 847287 patch 4 - Add a method to nsRuleNode that reports the properties overriding a CSS animation. r=birtles
This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 320d6fe7aa Bug 847287 patch 3 - Add assertions about consistency of the flags for animating on the compositor. r=birtles
These flags were added in patch 2.
2015-03-31 15:05:54 -07:00
L. David Baron d5c71fb143 Bug 847287 patch 2 - Add flag for CSS properties that can be animated on the compositor. r=birtles
Patch 3 adds sanity-checks to check these flags against other equivalent
data.

This flag is used in patch 5 and patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 81ab847386 Bug 847287 patch 1 - Add additional tests. r=birtles
All of the todos will be fixed by later patches in this bug (as will
some already-existing todos in the same file).
2015-03-31 15:05:54 -07:00
L. David Baron aaa720c099 Bug 1123979 - Annotate known intermittent assertion on crashtest. No review. 2015-03-31 10:27:11 -07:00
Kearwood Gilbert 020a6fa9a6 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE
--HG--
extra : source : 3c1005c81e52b9b9d68bba8873c957180b94f1a3
extra : amend_source : 89c352098b0853f826883edf0ff472c9a60e5d42
2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert d1823e40bc Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
--HG--
extra : source : 3ed9d5170d1386e5922df6ca06765922db08968c
2015-03-25 11:40:31 -07:00
Wes Kocher df05ff9297 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood Gilbert 9d8557f842 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc 2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert 398a89308c Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Kartikaya Gupta 52c482890f Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Ryan VanderMeulen d6595d8f5d Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
Jonathan Kew bf1a543bba Bug 686225 - Reftest for Indic shaping with buggy OS X (AAT) fonts. r=jdaggett 2015-03-25 08:25:55 +00:00
David Anderson c6bf2fb124 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
L. David Baron 07b447ebc4 Fix ruby reftest spec links to point to TR rather than dev.w3.org to fix errors. No bug.
This fixes errors that are currently reachable via:
http://test.csswg.org/shepherd/search/owner/dbaron/status/issue/
And listed on pages of the form:
http://test.csswg.org/shepherd/testcase/ruby-autohide-001/ (etc.)
2015-03-24 19:13:47 -07:00
L. David Baron 313a709b74 Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles
This patch contains two changes:
 (1) The addition of refVisitedLink and the use of
     waitForVisitedLinkColoring() on it.
 (2) Changing the URL of the visited lisks (both visitedLink and
     refVisitedLink) from "" to window.top.location.href, since the
     former doesn't work for Android mochitests while it does work on
     Linux mochitest-e10s.

I tested locally that without the patch I get the failures, and with the
patch the failures go away, using:
./mach mochitest-plain --e10s --setpref layers.acceleration.force-enabled=true --setpref layers.offmainthreadcomposition.async-animations=true layout/style/test/test_animations_omta.html

Further, when running (and passing), I checked that
waitForVisitedLinkColoring() does go through one setTimeout cycle.

Also, I tested that if I effectively revert
https://hg.mozilla.org/mozilla-central/rev/d13154302d77 by changing the
third parameter to the GetContext call in
nsStyleSet::ResolveStyleWithReplacement to be nullptr instead of
visitedRuleNode, I get the failure:
TEST-UNEXPECTED-FAIL | layout/style/test/test_animations_omta.html | visited link background color after animation-only flush - got rgb(255, 255, 0), expected rgb(0, 0, 255)
which confirms that the test is still testing what it was designed to
test.
2015-03-24 19:13:47 -07:00
L. David Baron 6781d5a34e Back out changeset c30bce033d92 (bug 1145803) to reenable the tests from bug 1010675 on B2G in the hopes that enough mochitests have been added or removed since then (primarily by bug 1142360) that we won't get the same chunking problems. 2015-03-24 19:13:47 -07:00
David Anderson 1e87fb5a4b Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang e53c6e48b7 Bug 1145327 Part 3: Re-enable css-animations/print-no-animations.html tests. r=me 2015-03-24 14:28:34 -07:00
Mason Chang 4be73126b0 Bug 1145327 Part 1: Skip refresh driver ticks if the timestamp is in the past. r=birtles,vlad 2015-03-24 14:28:34 -07:00
Kearwood (Kip) Gilbert f97c17593c Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
  so we don't have to return infinite values when rects cross the w=0 plane
  in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
  appropriate for the units that are returned.

--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Kushan Joshi 98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Ryan VanderMeulen 8d602517b5 Backed out 3 changesets (bug 1061364, bug 1117603) for B2G xpcshell permafail.
Backed out changeset aaf374ba062f (bug 1061364)
Backed out changeset 67fece279049 (bug 1117603)
Backed out changeset fe8ba59678a2 (bug 1117603)

CLOSED TREE
2015-03-24 09:13:06 -04:00
Geoff Brown 24b2cd5f48 Bug 1140148 - Update reftest manifests for Android 4.3 emulator; r=dminor 2015-03-24 06:51:45 -06:00
Brian Birtles 929ee03319 Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-03-24 18:13:38 +09:00
Cameron McCormack d5e3314ffe Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 09e31f980e Bug 1144450 - Part 5: Fix/add tests for not firing loadingdone/loadingerror when adding an already-loaded/error FontFace to a FontFaceSet. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack fc1e3c1406 Bug 1144450 - Part 4: Replace uses of mReadyIsResolved with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 8f5e101baf Bug 1144450 - Part 3: Replace uses of mDispatchedLoadingEvent with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 3c7a55819e Bug 1144450 - Part 2: Don't replace a FontFaceSet's ready promise when there are no loading FontFaces. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 498c37afe0 Bug 1144450 - Part 1: Fix a typo in test_font_loading_api.html. r=jdaggett 2015-03-24 19:34:32 +11:00
Brian Birtles d9bedafede Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-24 09:06:06 +09:00
Brian Birtles b1f0188e81 Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-24 09:06:06 +09:00
David Anderson c7317dc748 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : 3225e248e7d870d41f74897ede54acb5c531a0c4
2015-03-23 12:34:21 -07:00
Nicholas Nethercote 521cb022b6 Bug 1129786 (part 1) - Instantiate RuleHash::m*Table eagerly. r=bz.
Now that empty PLDHashTables don't allocate any entry storage, we can undo the
lazification of RuleHash::m*Table from bug 700914.

--HG--
extra : rebase_source : 167d2519f59ddf7dab182601f9a581c872fd7998
2015-03-22 20:19:18 -07:00
L. David Baron 79853b7624 Bug 1146145 - Revert previous fix and give the tests position:relative so they have the same z-ordering as the references. 2015-03-22 12:53:09 -07:00
L. David Baron f3e1c17d82 Bug 1146145 - Give references z-index:-1 so that they have the same z-ordering characteristics as the tests, for the case when edges of the text overlap the floats.
--HG--
extra : transplant_source : %13%292G%E7%28%97%12%80%A4%EE%1E%9C%E9q%E9%0F%AEXW
2015-03-22 10:51:08 -07:00
Simon Montagu 13be932c72 Bug 1143218 patch 3: a better fix for bug 1105137 using line-left and line-right to place floats, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu f66d48dc0f Bug 1143218 patch 2: Add LineLeft and LineRight accessors to LogicalRect, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 4454a1b4b5 Bug 1143218 patch 1: Back out the fix for bug 1105137, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 28b9e2ff78 Mark the failing reftests from bug 1114329 as passing (fixed by bug 1143218). r=jfkthame 2015-03-22 11:44:48 +02:00
David Anderson fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00