Word Select Tester (white-space: pre-line glitch)

Toggle layout.word_select.eat_space_to_next_word to true if you are not on Windows.

Double-click to select the last word in these elements that end with a new line:

[Good] I'm a <p> element with a new line after the last word

[Bad] Ditto plus I have style="white-space: pre-line" applied

[Good] Ditto but I have style="white-space: pre" applied

[Good] I'm an <h2> element with a new line after the last word

[Bad] Ditto plus I have style="white-space: pre-line" applied

[Good] Ditto but I have style="white-space: pre" applied

[Good] I'm a <td> element with a new line after the last word
[Bad] Ditto plus I have style="white-space: pre-line" applied
[Good] Ditto but I have style="white-space: pre" applied