blob: 3e63c6e545b9bc4c4fe1e45350f01b43a84c28aa [file] [log] [blame]
<title>CSS3 media query test: stylesheet media.mediaText property inspection.</title>
<link rel="help" href="">
<style type="text/css" media="braille, media with error, print and (color) and (grid:0), tty resolution > 600px">
#result { color: red }
function test() {
re = document.getElementById("result");
re.innerHTML = "started";
re.innerHTML = document.styleSheets[0].media.mediaText;
<body onload="test()">
<p>The text below should not be red and it should contain "braille, not all, print and (color) and (grid: 0), not all".</p>
<p id="result">Failure: test not run</p>