Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-navigation/tentative/parsing/url-pattern-valid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Serialization of url-pattern()</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-pattern(\"/foo/\")) {\n}";
test_valid_rule(canonical);
test_valid_rule("@Navigation ( At:url-Pattern( '/foo/' )){ \n}", canonical);
}, "<navigation-location-test>");
</script>