summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/clip-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/clip-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/clip-001-ref.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/clip-001-ref.html b/testing/web-platform/tests/css/css-overflow/clip-001-ref.html
new file mode 100644
index 0000000000..9ccdbf93c6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/clip-001-ref.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<style>
+ #target {
+ width: 100px;
+ height: 100px;
+ background: red;
+ /* For this simple case, hidden and clip are equivalent */
+ overflow: hidden;
+ }
+
+ #container {
+ overflow: auto;
+ height: 300px;
+ }
+
+ #fill {
+ background: blue;
+ height: 5000px;
+ }
+</style>
+<div id="container">
+ <div id="target">
+ <div id="fill"></div>
+ </div>
+</div>