Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
    • /editing/crashtests/justifyfull-selection-containing-non-editable-div-and-everything-styled-white-space-break-space.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<style>
* {
white-space: break-spaces ! important;
}
</style>
<script>
window.addEventListener('load', () => {
document.documentElement.contentEditable = true
document.execCommand('selectAll', false, null)
document.execCommand('justifyFull', false, null)
})
</script>
</head>
<div contenteditable='false'></div>
</html>