summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html b/testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html
new file mode 100644
index 0000000000..466755df6f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<meta charset="utf-8">
+<title>CSS Basic User Interface Test: test reference</title>
+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
+<style>
+div {
+ font-family: monospace;
+ width: 16ch;
+ white-space: pre;
+ overflow: scroll;
+ border: solid blue;
+}
+</style>
+
+<p>This test passes if the text is in the blue box below is “PASS”.
+<div id=test> PASS</div>
+<script>
+var test = document.getElementById("test");
+test.scrollBy(500,0);
+</script>
+
+