summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/reftest/reftest.www.sub.html
blob: ccffd98f43b73b067e88f7ce5d851876d4934236 (plain)
1
2
3
4
5
6
7
8
9
10
<title>Tests that reftests obey the 'www' file-flag</title>
<link rel=match href=green.html>
<style>
:root {background-color:red}
</style>
<script>
if (location.hostname === "{{domains[www]}}") {
   document.documentElement.style.backgroundColor = "green";
}
</script>