Commit Graph

45113 Commits

Author SHA1 Message Date
Mats Palmgren
7349c8b964 Bug 1150042 - Make nsLayoutUtils::DrawSingleUnscaledImage use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Daniel Holbert
9713645c88 Bug 1149222 part 2 - Make nsSVGImageFrame::PaintSVG use LayoutDeviceSize & LayoutDevicePixel::ToAppUnits, when setting up its dest-rect. r=mats 2015-04-03 19:48:12 +00:00
Mats Palmgren
eb4243e0c6 Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Mats Palmgren
035bf0bc77 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Seth Fowler
c2f0fefa86 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00
Robert Longson
1738032ea7 Bug 1149516 - draw continuous stroke if stroke-dasharray = 0. r=jwatt 2015-04-03 18:58:05 +01:00
Markus Stange
1e93b914e1 Bug 1150941 - Disable animated-position reftests for intermittent failures / unexpected passes.
--HG--
extra : rebase_source : f8868dcc60b87060a2e43ffb1f369d047f7f51e5
2015-04-03 13:01:56 -04:00
Tooru Fujisawa
62e60b5bf9 Add explicit keyword to AsyncScrollBase constructor to fix static analysis build (bug 1139220 part 6, r=shu) 2015-04-03 18:33:51 +09:00
Jan Beich
d8a32020cb Bug 1145988 - Unbreak build on non-SPS platforms after bug 1129249. r=dholbert f=chiajung 2015-04-02 21:43:48 +02:00
Tooru Fujisawa
2f82fd85a0 Bug 1097922 - Remove temporary aliases for -moz-text-decoration-*. r=dbaron 2015-04-03 17:47:38 +09:00
David Anderson
208919a3e4 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
0dccb5ef39 Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert) 2015-04-01 23:17:22 -07:00
Brian Birtles
564d5464c7 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
37c243eddc 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
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