haikuwebkit/LayoutTests/fast/media/mq-prefers-contrast-matchMe...

11 lines
386 B
HTML

<html>
<head>
<title>CSS4 media query test: prefers-contrast using matchMedia and addListener.</title>
</head>
<body>
<p>Initial value of query.matches: <span id="before">false</span> - should be false</p>
<p>Updated value of query.matches: <span id="after">true</span> - should be true</p>
<p>Note the updated value will only be filled if the listener fires.</p>
</body>
</html>