blob: 51cd38c29830d34a0438a3a4cbba987ccef538f9 [file] [log] [blame]
<p>
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9694">https://bugs.webkit.org/show_bug.cgi?id=9694</a>
resize value not compared</i>.
</p>
<p>
This box should have a working resize corner:
</p>
<div id="target" style="width: 50px; height: 50px; overflow: hidden; border: solid;"></div>
<pre id="console"></pre>
<script>
function log(message)
{
document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
}
if (window.testRunner)
testRunner.dumpAsText();
var target = document.getElementById("target");
target.style.resize = "both";
var computedStyle = getComputedStyle(target);
log(computedStyle.resize === "both" ? "PASS" : "FAIL");
</script>