Bug 1331903 part 2 - Do not add -moz-binding to gChildRule3 in test_inherit_computation.html. r?dbaron draft
authorXidorn Quan <me@upsuper.org>
Thu, 19 Jan 2017 16:49:05 +1100
changeset 463588 f601c4ad3aca213aa0bb26a9411fd61cbd2d62f6
parent 463587 c50e646ec873cb0a696f0733cb0495ac75064fef
child 463589 29f4830e86491c29495494c5df9ce6490b6c174a
push id42122
push userxquan@mozilla.com
push dateThu, 19 Jan 2017 11:35:42 +0000
reviewersdbaron
bugs1331903
milestone53.0a1
Bug 1331903 part 2 - Do not add -moz-binding to gChildRule3 in test_inherit_computation.html. r?dbaron MozReview-Commit-ID: DIMW0KZeHo1
layout/style/test/test_inherit_computation.html
--- a/layout/style/test/test_inherit_computation.html
+++ b/layout/style/test/test_inherit_computation.html
@@ -147,16 +147,20 @@ function test_property(property)
         gParentRuleTop.style.removeProperty(prereq);
         gChildRuleTop.style.removeProperty(prereq);
       }
     }
   });
 }
 
 for (var prop in gCSSProperties) {
+  // Skip -moz-binding because it effectively drops the frame.
+  if (prop == "-moz-binding") {
+    continue;
+  }
   var info = gCSSProperties[prop];
   gChildRule3.style.setProperty(prop, info.other_values[0], "");
 }
 
 for (var prop in gCSSProperties)
   test_property(prop);
 
 </script>