Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform copy-pasting</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<meta name="assert" content="word-space-transform does not affect copy and paste">
<style>
div, textarea {
font-size: 2em;
margin: 1em;
font-family: monospace;
resize: none;
overflow: hidden;
height: 2em;
width: 20ch;
padding: 0px;
}
#test {
border: solid blue;
word-space-transform: space;
}
#ref {
border: solid orange;
}
textarea {
border: solid pink;
}
</style>
<p>Copy the text from the blue box, and paste it into the pink one.
The test passes if the pink and orange boxes are identical.
<div id=test>no<wbr>space&#x200B;here</div>
<textarea spellcheck="false"></textarea>
<div id=ref>nospacehere</div>