1
0
Fork 0
firefox/testing/web-platform/tests/css/css-scrollbars/textarea-scrollbar-width-none.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

19 lines
722 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: scrollbar-width should apply on &lt;textarea&gt;</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-width">
<link rel="match" href="textarea-scrollbar-width-none-ref.html">
<meta name="fuzzy" content="maxDifference=0-150; totalPixels=0-10">
<style>
textarea {
scrollbar-width: none;
white-space: pre;
}
</style>
<textarea cols="10" rows="10"></textarea>
<script>
let textarea = document.querySelector("textarea");
textarea.value = ('X'.repeat(100) + '\n').repeat(100);
</script>