summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip/reference
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-masking/clip/reference')
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html11
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html11
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html11
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html11
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html5
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html11
11 files changed, 125 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html
new file mode 100644
index 0000000000..2a9a49fd3a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a green square and no red.</p>
+ <div style="width: 100px; height: 100px; border: 50px solid white; background-color: green;"></div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html
new file mode 100644
index 0000000000..f556d5f12a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a green square and no red.</p>
+ <div style="width: 200px; height: 200px; background-color: green;"></div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html
new file mode 100644
index 0000000000..fccb18318d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is only a horizontal blue stripe.</p>
+ <div style="width: 200px; height: 50px; background-color: blue;"></div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html
new file mode 100644
index 0000000000..724f8c5194
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a green square with a blue border.</p>
+ <div style="width: 100px; height: 100px; border: solid blue 50px; background-color: green;"></div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html
new file mode 100644
index 0000000000..e6a6e125e8
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a blue square and a smaller green square in the bottom right corner of the blue square.</p>
+ <div style="overflow: hidden; width: 100px; height: 100px;">
+ <div style="width: 100px; height: 100px; border: solid blue 50px; background-color: green;"></div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html
new file mode 100644
index 0000000000..9642435bf1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a horizontal blue stripe under a horizontal green stripe.</p>
+ <div style="background-color: blue; width: 100px; height: 100px; border-left: 50px solid white; border-top: 100px solid white">
+ <div style="width: 100px; height: 50px; background-color: green;"></div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html
new file mode 100644
index 0000000000..b6dd6e0a48
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a vertical green stripe on the right side of a vertical blue stripe.</p>
+ <div style="background-color: green; width: 100px; height: 100px; border-top: 50px solid white;">
+ <div style="width: 50px; height: 100px; background-color: blue;"></div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html
new file mode 100644
index 0000000000..09b90e7614
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a vertical blue stripe on the right side of a vertical green stripe.</p>
+ <div style="background-color: blue; width: 100px; height: 100px; border-left: 100px solid white; border-top: 50px solid white;">
+ <div style="width: 50px; height: 100px; background-color: green;"></div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html
new file mode 100644
index 0000000000..a647e8a0c2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<p>The test passes if there is a green square containing text (which can be scrolled
+with mouse wheel or touch). No scrollbars should be seen.</p>
+<div style="position: relative; top: 10px; left: 10px; width: 90px; height: 90px; background: green">
+</div>
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html
new file mode 100644
index 0000000000..5ec30181f2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is a horizontal green stripe under a horizontal blue stripe.</p>
+ <div style="background-color: green; width: 100px; height: 100px; margin-left: 50px;">
+ <div style="width: 100px; height: 50px; background-color: blue;"></div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html
new file mode 100644
index 0000000000..96ccc2c19c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+</head>
+<body>
+ <p>The test passes if there is only a vertical blue stripe.</p>
+ <div style="width: 50px; height: 200px; background-color: blue;"></div>
+</body>
+</html> \ No newline at end of file