summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/incremental/slow-utf8-css.html
blob: 690d47bf5fefcdaa19e4ab4a0e2ab4ae2b4180fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<head>
<link rel="stylesheet" href="resources/slow-utf8-css.pl" type="text/css" charset="utf-8">
<script>
function test() {
    if (window.testRunner)
        testRunner.dumpAsText();
    document.getElementById("result").innerHTML = 
        (document.styleSheets.item(0).cssRules.item(0).selectorText == "#result") ? "PASS" : "FAIL";
}
</script>
</head>
<body onload="test()">
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=10753">bug 10753</a>:
The beginning of a CSS file is missing.
<div id=result>Should be green</div>
</body>