Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / css / outline-hidden-illegal-value.html
blobf8784be3706f39edd5db6eef42b11d6cf50cceb2
1 <!doctype html>
2 <title>outline-style: illegal hidden value</title>
3 <script>
4 if (window.layoutTestController)
5 layoutTestController.dumpAsText();
6 </script>
7 <style>
8 p { margin: 2em; outline: .5em solid lime; outline-style: hidden }
9 </style>
10 <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>
11 <p>This line should have a green border.</p>
12 <script>
13 var x = document.getElementsByTagName("p")[0];
14 if (document.defaultView.getComputedStyle(x,null).getPropertyValue("outline-style") == "solid")
15 document.write("<div>TEST PASSED.</div>");
16 else
17 document.write("<div>TEST FAILED.</div>");
18 </script>