blob: 92a34fe3bca94f99194aac4ca55ec9c5cf1b0e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE HTML>
<html>
<head>
<style>
body { color: green }
</style>
<link rel="stylesheet"
href="data:text/css,@media no-such-medium { body { color: red } }"
type="text/css">
<link rel="stylesheet"
href="data:text/css,@media no-such-medium { body { color: red } }"
type="text/css">
<script>
// Force cloning of the second linked sheet
document.styleSheets[2].cssRules[0];
</script>
</head>
<body>test</body>
</html>
|