Bug 1331296 : Part 2 - Unprefix -moz-calc() in dom tests. draft
authorAstley Chen <aschen@mozilla.com>
Wed, 18 Jan 2017 10:50:24 +0800
changeset 462860 1d81670783617939e1902a4a946db13cf48688d4
parent 462859 404b7f78d8753e82db5be0b189885768d7cd95f2
child 462861 efdda1a226499e3180452752ba00d39665fe0e49
push id41873
push useraschen@mozilla.com
push dateWed, 18 Jan 2017 02:53:31 +0000
bugs1331296
milestone53.0a1
Bug 1331296 : Part 2 - Unprefix -moz-calc() in dom tests. MozReview-Commit-ID: DTmuxTZ6S6a
dom/smil/test/test_smilChangeAfterFrozen.xhtml
--- a/dom/smil/test/test_smilChangeAfterFrozen.xhtml
+++ b/dom/smil/test/test_smilChangeAfterFrozen.xhtml
@@ -481,17 +481,17 @@ function testRelativeFont()
   gCircleParent.removeAttribute("font-size");
   gCircle.removeChild(gCircle.firstChild);
 }
 
 function testCalcFontSize()
 {
   setupTest();
   gCircleParent.setAttribute("font-size", "10px"); // At first: font-size: 10px
-  var anim = createAnimSetTo("font-size", "-moz-calc(110% + 0.1em)");
+  var anim = createAnimSetTo("font-size", "calc(110% + 0.1em)");
 
   gSvg.setCurrentTime(0);
   var fsize = parseInt(SMILUtil.getComputedStyleSimple(gCircle, "font-size"));
   // Font size should be 1.1 * 10px + 0.1 * 10px = 12
   is(fsize, 12, "Checking animated calc font-size == 12px after animating");
 
   gCircleParent.setAttribute("font-size", "20px"); // Change: font-size: 20px
   gSvg.setCurrentTime(0);