blob: c97ed0d1b41550cea67cf1c345863b88d2821536 [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>IDL-constructed CSSURLImageValue serialization tests</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#urlimagevalue-serialization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/testhelper.js"></script>
<script>
'use strict';
test(() => {
assert_equals(new CSSURLImageValue('http://foo.bar').toString(), 'url("http://foo.bar")');
}, 'CSSUrlImageValue constructed from IDL serializes correctly');
</script>