1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-face/dynamic-duplicate-rule-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,59 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<meta charset="utf-8"> 1.8 + 1.9 +<!-- Testcase for bug 879963 regression. 1.10 + Identical to dynamic-duplicate-rule-1a, except that we disable the 1.11 + second rule (rather than the first), to allow for the possibility of 1.12 + changes in how rules are ordered/searched. --> 1.13 + 1.14 +<style type="text/css" id="style1"> 1.15 +@font-face { 1.16 + font-family: foo; 1.17 + src: local("Arial"), 1.18 + local("DejaVu Sans"), 1.19 + local("Free Sans"), 1.20 + local("Open Sans"), 1.21 + local("Droid Sans"), 1.22 + local("Roboto"); 1.23 +} 1.24 +</style> 1.25 + 1.26 +<style type="text/css" id="style2"> 1.27 +@font-face { 1.28 + font-family: foo; 1.29 + src: local("Arial"), 1.30 + local("DejaVu Sans"), 1.31 + local("Free Sans"), 1.32 + local("Open Sans"), 1.33 + local("Droid Sans"), 1.34 + local("Roboto"); 1.35 +} 1.36 +</style> 1.37 + 1.38 +<style type="text/css"> 1.39 +body { 1.40 + font-family: serif; 1.41 +} 1.42 +.test { 1.43 + font-family: foo; 1.44 +} 1.45 +</style> 1.46 + 1.47 +<script type="application/javascript"> 1.48 +function run() { 1.49 + document.getElementById("style2").disabled = true; 1.50 + document.documentElement.removeAttribute("class"); 1.51 +} 1.52 +</script> 1.53 + 1.54 +</head> 1.55 + 1.56 +<body onload="run()"> 1.57 +<div> 1.58 +foo <span class="test">bar</span> baz 1.59 +</div> 1.60 +</body> 1.61 + 1.62 +</html>