blob: 357b81ed3b63247547792667b95278cb56d723ec [file] [log] [blame]
<!DOCTYPE html>
<style>
#test {
width: 200px;
border: 2px solid black;
height: 40px;
resize: none;
overflow: hidden;
}
</style>
<textarea id="test">Some text</textarea>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
window.onload = function() {
if (window.testRunner) {
document.getElementById("test").focus();
testRunner.setBackingScaleFactor(0.9,
function() { runAfterLayoutAndPaint(
function() { testRunner.dumpAsTextWithPixelResults();
}, true)
}
);
}
}
</script>