Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 3 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-navigation/tentative/parsing/url-valid.html - WPT Dashboard Interop Dashboard
<!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>