https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 410ecd8aff1b5ef73898773094339deb2df92a9c authored by moz-wptsync-bot on 16 March 2018, 11:12:05 UTC
WPT should use toString() and not toSource(),
Tip revision: 410ecd8
supports.https.html
<!DOCTYPE html>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#valdef-display-layout">
<meta name="assert" content="This test checks that a layout() function works correctly with CSS.supports()." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<script>
test(function() {
  assert_true(CSS.supports('display', 'layout(foo)'));
});
</script>
back to top