mirror of
https://github.com/Basilisk-Development-Team/UXP-mirror.git
synced 2026-11-26 02:29:52 -05: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>
|