blob: 8c6ca8fc0cdae946a5f749373d1f9a5fb679af06 [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.layoutTestController)
layoutTestController.dumpAsText();
target.style.resize = "both";
var target = document.getElementById("target");
var computedStyle = getComputedStyle(target);
log(computedStyle.resize === "both" ? "PASS" : "FAIL");
</script>