mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
13 lines
242 B
HTML
13 lines
242 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<script>
|
|
function test() {
|
|
focus();
|
|
getSelection().selectAllChildren(document.querySelector("span"));
|
|
}
|
|
</script>
|
|
<body onload="test()">
|
|
<div>foo<span>bar</span>baz</div>
|
|
</body>
|
|
</html>
|