Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<title>Serialization of url()</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test(()=> {
const canonical = "@navigation (at: url(\"/foo/\")) {\n}";
test_valid_rule(canonical);
test_valid_rule("@Navigation ( At:Url( '/foo/' )){ \n}", canonical);
test_valid_rule("@Navigation ( At:Url( /foo/ )){ \n}", canonical);
}, "<navigation-location-test>");
</script>