1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/delete-from-ruby-at-start-of-button.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
461 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
*:last-child {
white-space: pre-wrap;
}
</style>
<script>
addEventListener("DOMContentLoaded", () => {
getSelection().collapse(document.querySelector("ruby"));
document.designMode = "on";
document.execCommand("delete");
});
</script>
</head>
<body>
<label contenteditable="true"></label>
<bdi style="white-space: nowrap">
<button>
<kbd>
<ruby>
</ruby>
</kbd>
</button>
</bdi>
</body>
</html>