summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/blob-fallback-clip.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/blob-fallback-clip.html')
-rw-r--r--layout/reftests/bugs/blob-fallback-clip.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/bugs/blob-fallback-clip.html b/layout/reftests/bugs/blob-fallback-clip.html
new file mode 100644
index 0000000000..823f70ed8e
--- /dev/null
+++ b/layout/reftests/bugs/blob-fallback-clip.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<meta charset="UTF-8">
+<style>
+q {
+ text-transform: uppercase;
+ font-size: 2em;
+ font-family: Ahem;
+ display: block;
+ width: 400px;
+ background: red;
+ background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+@font-face {
+ font-family: Ahem;
+ src: url(../fonts/Ahem.ttf);
+}
+</style>
+<script>
+ document.addEventListener("MozReftestInvalidate", () => {
+ requestAnimationFrame(function () {
+ scrollTo(0, 300);
+ requestAnimationFrame(function () {
+ requestAnimationFrame(function () {
+ scrollTo(0, 3450);
+ document.documentElement.classList.remove("reftest-wait");
+ });
+ });
+ });
+ });
+</script>
+<body>
+ <q>But these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytellingBut these are real problems worth exploring in storytelling</q>
+</body>
+</html>