blob: f8784be3706f39edd5db6eef42b11d6cf50cceb2 [file] [log] [blame]
<!doctype html>
<title>outline-style: illegal hidden value</title>
<script>
if (window.layoutTestController)
layoutTestController.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>