dynamic-duplicate-rule-1b.html (1162B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="utf-8"> 5 6 <!-- Testcase for bug 879963 regression. 7 Identical to dynamic-duplicate-rule-1a, except that we disable the 8 second rule (rather than the first), to allow for the possibility of 9 changes in how rules are ordered/searched. --> 10 11 <style type="text/css" id="style1"> 12 @font-face { 13 font-family: foo; 14 src: local("Arial"), 15 local("DejaVu Sans"), 16 local("Free Sans"), 17 local("Open Sans"), 18 local("Droid Sans"), 19 local("Roboto"); 20 } 21 </style> 22 23 <style type="text/css" id="style2"> 24 @font-face { 25 font-family: foo; 26 src: local("Arial"), 27 local("DejaVu Sans"), 28 local("Free Sans"), 29 local("Open Sans"), 30 local("Droid Sans"), 31 local("Roboto"); 32 } 33 </style> 34 35 <style type="text/css"> 36 body { 37 font-family: serif; 38 } 39 .test { 40 font-family: foo; 41 } 42 </style> 43 44 <script type="application/javascript"> 45 function run() { 46 document.getElementById("style2").disabled = true; 47 document.documentElement.removeAttribute("class"); 48 } 49 </script> 50 51 </head> 52 53 <body onload="run()"> 54 <div> 55 foo <span class="test">bar</span> baz 56 </div> 57 </body> 58 59 </html>