Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/white-space/textarea-always-preserves-spaces-001.tentative.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Textarea always preserves spaces</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="match" href="textarea-always-preserves-spaces-001-ref.html">
<textarea style="white-space: nowrap;">a b</textarea>
<textarea style="white-space: nowrap;">a
b</textarea>
<textarea style="white-space: normal;">a b</textarea>
<textarea style="white-space: normal;">a
b</textarea>