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 295569 c3fddc16900c442e1edeb5e356b6990975a787a6
parent 295568 e723928647d4b06c7abdd0d6c6c4c9957a0f7fd3
child 295570 b8409ad3558ecf6b230ece56e382c2dd23ea1d1e
push id30226
push usercbook@mozilla.com
push dateMon, 02 May 2016 09:26:03 +0000
treeherdermozilla-central@77cead2cd203 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs550426
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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: