<!doctype html> | |
<script src="../../resources/run-after-layout-and-paint.js"></script> | |
<style> | |
body { | |
font-size: 48px; | |
} | |
</style> | |
<div style="display:inline-block">x</div>y | |
<script> | |
runAfterLayoutAndPaint(function() { | |
document.execCommand("SelectAll", false); | |
}, true); | |
</script> |