blob: 189083dcf487be0bc2c05cb7654262a16650891c [file] [log] [blame]
<!doctype html>
<title>outline-style: illegal hidden value</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
p { margin: 2em; outline: .5em solid lime; outline-style: hidden }
</style>
<div>A test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=19520">bug 19520 - "outline-style: hidden" should be ignored</a>.</div>
<p>This line should have a green border.</p>
<script>
var x = document.getElementsByTagName("p")[0];
if (document.defaultView.getComputedStyle(x,null).getPropertyValue("outline-style") == "solid")
document.write("<div>TEST PASSED.</div>");
else
document.write("<div>TEST FAILED.</div>");
</script>