Skip to content

Truly independent web browser

470 B
Raw Blame
<!DOCTYPE html>
<link rel="match" href="../expected/selection-focus-between-text-controls-ref.html">
<style>
input { outline: none; }
input::selection { background: lime; color: black; }
</style>
<input id="first" value="first">
<input id="second" value="second">
<script>
    first.focus();
    first.select();
    first.getBoundingClientRect();
    second.select();
    second.getBoundingClientRect();
    second.focus();
    second.getBoundingClientRect();
</script>