Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / outline-hidden-illegal-value.html
1 <!doctype html>
2 <title>outline-style: illegal hidden value</title>
3 <script>
4     if (window.testRunner)
5         testRunner.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>