<!doctype html> <style> textarea { color: transparent; background: unset; border: none; resize: none; padding: 0; position: absolute; } </style> <textarea> FAIL </textarea> <pre> PASS </pre>