1
0
Fork 0
firefox/testing/web-platform/tests/css/css-ui/reference/text-overflow-021-ref.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

23 lines
515 B
HTML

<!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>