2 <html class=
"reftest-wait">
6 <!-- Testcase for bug 879963 regression.
7 We have two <style> elements with identical @font-face rules, which will
8 share a common proxy font entry. When the entry is loaded, the references
9 in both rules must be updated, otherwise text may disappear if the "wrong"
10 (non-updated) rule is subsequently used.
11 By disabling the first style element after the document has loaded (and the
12 user font has been resolved to a real font entry), we can check that the
13 second rule also works as expected.
14 Note that if a platform doesn't have any of the local() fonts listed,
15 the testcase will "pass" harmlessly as a no-op. -->
17 <style type=
"text/css" id=
"style1">
29 <style type=
"text/css" id=
"style2">
41 <style type=
"text/css">
50 <script type=
"application/javascript">
52 document.getElementById(
"style1").disabled = true;
53 document.documentElement.removeAttribute(
"class");
61 foo
<span class=
"test">bar
</span> baz