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