blob: 13b21c4c0d784dcd67424944caa58c7a2cc81a94 [file] [log] [blame]
<html>
<head>
<title>CSS3 media query test: stylesheet media.mediaText property inspection.</title>
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" />
<style type="text/css" media="braille, media with error, screen and (color) and (grid:0), tty resolution > 600px">
#result { color: green }
</style>
<script language="javascript">
function test() {
re = document.getElementById("result");
re.innerHTML = "started";
re.innerHTML = document.styleSheets[0].media.mediaText;
}
</script>
</head>
<body onload="test()">
<p> The text below should be green and contain "braille, media, screen and (color) and (grid: 0), tty". </p>
<p id="result">Failure: test not run</p>
</body>
</html>