Update web-platform-tests to revision 632a3f59238036b6e24b28d47218ba9986ff4c62

This commit is contained in:
WPT Sync Bot 2018-09-12 21:47:12 -04:00
parent cd02ca6c19
commit fb838278a5
430 changed files with 15017 additions and 508 deletions

View file

@ -0,0 +1,3 @@
spec: https://drafts.csswg.org/css-device-adapt/
suggested_reviewers:
- ChumpChief

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<title>css-device-adapt IDL tests</title>
<link rel="help" href="https://drafts.csswg.org/css-device-adapt/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="/resources/idlharness.js"></script>
<style>
p { color: black; }
</style>
<style>
@viewport { width: device-width; }
</style>
<script>
'use strict';
idl_test(
['css-device-adapt'],
['cssom'],
idl_array => {
idl_array.add_objects({
CSSRule: ['cssRule'],
CSSViewportRule: ['cssViewportRule'],
});
self.cssRule = document.styleSheets[0].cssRules[0];
self.cssViewportRule = document.styleSheets[1].cssRules[0];
}
);
</script>