<!DOCTYPE html>
<title>CSS Grid Layout Test: grid-template followed by !important</title>
<link rel="help" href="https://drafts.csswg.org/css-grid-1">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
#div {
grid-template: "test" max-content / max-content !important;
}
</style>
<div id=div></div>
<script>
test(() => {
assert_equals(getComputedStyle(div).gridTemplate, '"test" max-content / max-content');
}, 'grid-template followed by !important');
</script>