1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:27:35 +00:00

LibWeb: Add textarea placeholder

This commit is contained in:
Bastiaan van der Plaat 2023-12-21 18:13:16 +01:00 committed by Andreas Kling
parent 091faf1aae
commit 52397d01bd
6 changed files with 85 additions and 33 deletions

View file

@ -1,9 +1,11 @@
<!doctype html>
<body>
<!DOCTYPE html><html><head><style>
* {
font: 20px 'SerenitySans';
}
</style></head><body>
<textarea>Bonjour mon amis!</textarea>
<script>
const textarea = document.createElement("textarea");
textarea.innerText = "Well hello friends!";
document.body.appendChild(textarea);
</script>
</body>