Bug 807184 patch 1: Fix uses in tests of prefixed -moz-initial. r=dholbert
authorL. David Baron <dbaron@dbaron.org>
Thu, 20 Jun 2013 18:31:27 -0700
changeset 147427 58711b41a188e5fddb32a5f611c4f78e818d983b
parent 147426 7addaeb4e9adb8569ec0e45878ce2c2a79c154d9
child 147428 41b33ca377851c40a80c57635dc3deb1c5699997
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs807184
milestone24.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 807184 patch 1: Fix uses in tests of prefixed -moz-initial. r=dholbert
layout/style/crashtests/444237-1.html
layout/style/test/test_bug160403.html
--- a/layout/style/crashtests/444237-1.html
+++ b/layout/style/crashtests/444237-1.html
@@ -1,1 +1,1 @@
-<input style="box-shadow: -moz-initial;">
+<input style="box-shadow: initial;">
--- a/layout/style/test/test_bug160403.html
+++ b/layout/style/test/test_bug160403.html
@@ -55,19 +55,19 @@ is(style.getPropertyPriority("border-rig
 isnot(style.getPropertyValue("border-style"), "");
 is(style.getPropertyPriority("border-style"), "important");
 
 // Also test that we check consistency of inherit and initial.
 element.setAttribute("style", "border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted");
 isnot(style.getPropertyValue("border-style"), "", "serialize shorthand when all values not inherit/initial");
 element.setAttribute("style", "border-top-style: inherit; border-right-style: inherit; border-bottom-style: inherit; border-left-style: inherit");
 is(style.getPropertyValue("border-style"), "inherit", "serialize shorthand as inherit");
-element.setAttribute("style", "border-top-style: -moz-initial; border-right-style: -moz-initial; border-bottom-style: -moz-initial; border-left-style: -moz-initial");
+element.setAttribute("style", "border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: initial");
 is(style.getPropertyValue("border-style"), "initial", "serialize shorthand as initial");
 element.setAttribute("style", "border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: inherit");
 is(style.getPropertyValue("border-style"), "", "don't serialize shorthand when partly inherit");
-element.setAttribute("style", "border-top-style: -moz-initial; border-right-style: dotted; border-bottom-style: -moz-initial; border-left-style: -moz-initial");
+element.setAttribute("style", "border-top-style: initial; border-right-style: dotted; border-bottom-style: initial; border-left-style: initial");
 is(style.getPropertyValue("border-style"), "", "don't serialize shorthand when partly initial");
 
 </script>
 </pre>
 </body>
 </html>