Bug 550426 - Use background-position-x/y when detecting scroll-linked effects. r=dbaron
authorMarkus Stange <mstange@themasta.com>
Mon, 25 Apr 2016 18:56:47 -0400
changeset 295576 c3fddc16900c442e1edeb5e356b6990975a787a6
parent 295575 e723928647d4b06c7abdd0d6c6c4c9957a0f7fd3
child 295577 b8409ad3558ecf6b230ece56e382c2dd23ea1d1e
push id19015
push usercbook@mozilla.com
push dateMon, 02 May 2016 09:39:23 +0000
treeherderfx-team@2080375bc69d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs550426
milestone49.0a1
Bug 550426 - Use background-position-x/y when detecting scroll-linked effects. r=dbaron MozReview-Commit-ID: 6qDFcaEBYEF
layout/style/nsDOMCSSDeclaration.cpp
--- a/layout/style/nsDOMCSSDeclaration.cpp
+++ b/layout/style/nsDOMCSSDeclaration.cpp
@@ -75,16 +75,18 @@ nsDOMCSSDeclaration::GetCustomPropertyVa
 }
 
 NS_IMETHODIMP
 nsDOMCSSDeclaration::SetPropertyValue(const nsCSSProperty aPropID,
                                       const nsAString& aValue)
 {
   switch (aPropID) {
     case eCSSProperty_background_position:
+    case eCSSProperty_background_position_x:
+    case eCSSProperty_background_position_y:
     case eCSSProperty_transform:
     case eCSSProperty_top:
     case eCSSProperty_left:
     case eCSSProperty_bottom:
     case eCSSProperty_right:
     case eCSSProperty_margin:
     case eCSSProperty_margin_top:
     case eCSSProperty_margin_left: