<!DOCTYPE html><linkrel="help"href="https://drafts.csswg.org/css-backgrounds/#border-image-slice"/><linkrel="help"href="https://drafts.csswg.org/css-backgrounds/#border-image"/><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script><style>div{border:1pxsolid;border-image-slice:1;}div{/* Should reset border-image-slice */border-image:linear-gradient(black,black);}</style><div>This text should not have a border, just corner dots</div><script>test(()=>{assert_equals(getComputedStyle(document.querySelector("div")).borderImageSlice,"100%");},"Check that the border-image shorthand resets border-image-slice to its initial value.");</script>