<!DOCTYPE html>
<meta name="assert" content="This test checks that CSS.supports() correctly returns true for a layout() function on a secure context." />
<script src="../resources/get-host-info.js"></script>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
if (window.location.origin != get_host_info().AUTHENTICATED_ORIGIN) {
window.location = get_host_info().AUTHENTICATED_ORIGIN + window.location.pathname;
} else {
test(function() {
assert_true(CSS.supports('display', 'layout(foo)'));
});
}
</script>