Bug 1360403 - Remove no-longer-needed hackarounds for now-fixed insertRule problem on stylo. r?dholbert draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Sat, 29 Apr 2017 06:22:43 +0900
changeset 570428 35229d982d6681e0fa5010a899f4154799be7294
parent 570263 b3b32894d9326d147238d9f071e1814ab3fdc850
child 626488 8090016ecd4e92b6a86c12fe005bfda97e3d2485
push id56485
push userhikezoe@mozilla.com
push dateFri, 28 Apr 2017 21:23:27 +0000
reviewersdholbert
bugs1360403, 1336863
milestone55.0a1
Bug 1360403 - Remove no-longer-needed hackarounds for now-fixed insertRule problem on stylo. r?dholbert The problem has been solved in bug 1336863. MozReview-Commit-ID: Li8V1P30zTY
layout/style/test/test_keyframes_vendor_prefix.html
--- a/layout/style/test/test_keyframes_vendor_prefix.html
+++ b/layout/style/test/test_keyframes_vendor_prefix.html
@@ -67,59 +67,53 @@ var isStylo = false;
 // block.
 try {
   isStylo = SpecialPowers.getBoolPref('layout.css.servo.enabled');
 } catch(e) {
 }
 
 test(function(t) {
   addStyle(t,
-    { 'dummy': '', // XXX bug 1336863 hackaround: a single insertRule is broken
-                   // on stylo.
-      '@-webkit-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
+    { '@-webkit-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
 
   var div = addDiv(t, { style: 'animation: anim 100s' });
 
   assert_equals(getComputedStyle(div).color, 'rgb(0, 255, 0)');
 }, '-webkit- prefix keyframes');
 
 test(function(t) {
   addStyle(t,
-    { 'dummy': '', // XXX bug 1336863 hackaround, as above.
-      '@-moz-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
+    { '@-moz-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
 
   var div = addDiv(t, { style: 'animation: anim 100s' });
 
   assert_equals(getComputedStyle(div).color, 'rgb(0, 255, 0)');
 }, '-moz- prefix keyframes');
 
 test(function(t) {
   addStyle(t,
-    { 'dummy': '', // XXX bug 1336863 hackaround, as above.
-      '@-WEBKIT-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
+    { '@-WEBKIT-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
 
   var div = addDiv(t, { style: 'animation: anim 100s' });
 
   assert_equals(getComputedStyle(div).color, 'rgb(0, 255, 0)');
 }, '-WEBKIT- prefix keyframes');
 
 test(function(t) {
   addStyle(t,
-    { 'dummy': '', // XXX bug 1336863 hackaround, as above.
-      '@-MOZ-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
+    { '@-MOZ-keyframes anim': 'from,to { color: rgb(0, 255, 0); }' });
 
   var div = addDiv(t, { style: 'animation: anim 100s' });
 
   assert_equals(getComputedStyle(div).color, 'rgb(0, 255, 0)');
 }, '-MOZ- prefix keyframes');
 
 test(function(t) {
   addStyle(t,
-    { 'dummy': '', // XXX bug 1336863 hackaround, as above.
-      '@-webkit-KEYFRAMES anim': 'from,to { color: rgb(0, 255, 0); }' });
+    { '@-webkit-KEYFRAMES anim': 'from,to { color: rgb(0, 255, 0); }' });
 
   var div = addDiv(t, { style: 'animation: anim 100s' });
 
   assert_equals(getComputedStyle(div).color, 'rgb(0, 255, 0)');
 }, '-webkit- prefix KEYFRAMES');
 
 test(function(t) {
   if (!isStylo) {