mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSSOM View Module test:MediaQueryList</title>
|
||||
<link href="mailto:tidelgl@gmail.com" rel="author" title="unbug">
|
||||
<link href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface" rel="help">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style type="text/css">
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This case tests the MediaQueryList
|
||||
</p><p>The test passes if the value is 1280/800</p>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
test(function(){
|
||||
assert_equals(window.matchMedia('(device-aspect-ratio: 1280/800)').matches, true, "Expected value for device-aspect-ratio is 1280/800");
|
||||
},'matchMedia');
|
||||
</script>
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user