aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html
diff options
context:
space:
mode:
authorAlex Touchet <alextouchet@outlook.com>2018-09-11 09:06:42 -0700
committerGitHub <noreply@github.com>2018-09-11 09:06:42 -0700
commit025b5550fc6f1fd74605b09973ffc606dae7432c (patch)
tree7dfb1026318b7a0135273b667d3f44e3ee8d737d /tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html
parent9a7e1d17f0e054cb9f7eaafeee943a2ec5bc5e26 (diff)
parent049eb6887e29d8409b1dfe55bc31803f1c3220da (diff)
downloadservo-025b5550fc6f1fd74605b09973ffc606dae7432c.tar.gz
servo-025b5550fc6f1fd74605b09973ffc606dae7432c.zip
Merge branch 'master' into tidy
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html b/tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html
new file mode 100644
index 00000000000..9f505dd7f1d
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-scrollbars/textarea-scrollbar-width-none-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Reference</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org">
+<style>
+ textarea {
+ overflow: hidden;
+ 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>