blob: 0789455d05bad64f2ffe62203d7a2aad800186e3 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ AttachmentElementEnabled=true ] -->
<html>
<body>
<attachment id="attachment" title=" " type="public.jpeg"></attachment>
<pre id="log"></pre>
<script>
testRunner.dumpAsText();
window.onload = function () {
var attachment = document.getElementById("attachment");
function logSize(s) { log.innerText += s + ": " + attachment.offsetWidth + " x " + attachment.offsetHeight + "\n"; }
logSize("Default");
internals.setContentSizeCategory("L");
logSize("Large");
internals.setContentSizeCategory("XXXL");
logSize("XXXLarge");
}
</script>
</body>
</html>