test_animations_with_disabled_properties.html (927B)
1 <!doctype html> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=1265611 5 --> 6 <head> 7 <title>Test CSS animations ignore disabled properties (Bug 1265611)</title> 8 <script src="/tests/SimpleTest/SimpleTest.js"></script> 9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 10 </head> 11 <body> 12 <a target="_blank" 13 href="https://bugzilla.mozilla.org/show_bug.cgi?id=1265611">Mozilla Bug 14 1265611</a> 15 <pre id="test"> 16 <script> 17 'use strict'; 18 19 SimpleTest.waitForExplicitFinish(); 20 21 /* 22 * This test relies on the fact that the font-palette property 23 * is disabled by the layout.css.font-palette.enabled pref. If we ever 24 * remove that pref we will need to substitute some other pref:property 25 * combination. 26 */ 27 SpecialPowers.pushPrefEnv( 28 { 'set': [[ 'layout.css.font-palette.enabled', false ]] }, 29 () => window.open('file_animations_with_disabled_properties.html')); 30 </script> 31 </pre> 32 </body> 33 </html>