summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/justifyfull-selection-containing-non-editable-div-and-everything-styled-white-space-break-space.html
blob: cf199fa087eadd205bcd4bebb93d56cbe139286c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>