Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / layout / reftests / font-face / sheet-set-switch-1.html
blob7d94b066f4dcfb1006d470cf4da50cc69a8928d0
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en-US" class="reftest-wait">
4 <head>
5 <title></title>
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <style type="text/css" title="Set A">
9 @font-face {
10 font-family: "MarkA";
11 src: url(../fonts/markA.ttf);
14 </style>
15 <style type="text/css" title="Set B">
17 @font-face {
18 font-family: "Mark2B";
19 src: url(../fonts/mark2B.ttf);
22 </style>
23 <style type="text/css">
25 @font-face {
26 font-family: "MarkC";
27 src: url(../fonts/markC.ttf);
30 body { font-family: "MarkA", "Mark2B", "MarkC"; }
32 </style>
33 <script type="application/ecmascript">
35 function run() {
36 // The resize-detector iframe will remove the class attribute.
37 document.getElementsByTagName("iframe")[0].contentWindow.arm_for_wider();
39 document.selectedStyleSheetSet = "Set B";
42 </script>
43 </head>
44 <body onload="setTimeout(run, 20)">
46 <p style="position:relative; width: -moz-max-content">ABC<iframe style="visibility:hidden;position:absolute;height:100%;width:100%" src="resize-detector-iframe.html"></iframe></p>
48 </body>
49 </html>