Bug 550426 - Use background-position-x/y when detecting scroll-linked effects. r=dbaron
☠☠ backed out by 2e2c516bd64f ☠ ☠
authorMarkus Stange <mstange@themasta.com>
Mon, 25 Apr 2016 18:56:47 -0400
changeset 295470 10ee68fd318edf36cace00236ec3614f70f0f855
parent 295469 324f4f602730ee0724b3e41e64491ebe49eb0931
child 295471 6ff2e12738caf72a99ed0156b1da87cb1948570b
push id75939
push usermstange@themasta.com
push dateFri, 29 Apr 2016 20:32:28 +0000
treeherdermozilla-inbound@6ff2e12738ca [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: