summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html')
-rw-r--r--testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html b/testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html
new file mode 100644
index 0000000000..db917daa9a
--- /dev/null
+++ b/testing/web-platform/tests/css/filter-effects/css-filters-animation-combined-001.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Filters Animation: Combined filters 001</title>
+ <link rel="author" title="Gunther Brunner" href="mailto:takeshimiya@gmail.com">
+ <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
+ <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
+ <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#FilterProperty">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-blur">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-brightness">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-sepia">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-grayscale">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-saturate">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-hue-rotate">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-invert">
+ <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-opacity">
+ <link rel="help" href="http://www.w3.org/TR/css3-animations/#animations">
+ <link rel="match" href="css-filters-animation-combined-001-ref.html">
+ <meta name="assert" content="The black square should be a gray square 10px blurred">
+ <meta name="fuzzy" content="0-1;0-10000">
+ <style type="text/css">
+ @keyframes animate {
+ 0% {
+ filter:
+ blur(20px)
+ brightness(0%)
+ sepia(100%)
+ grayscale(100%)
+ saturate(0%)
+ hue-rotate(90deg)
+ invert(100%)
+ opacity(0%)
+ }
+ 100% {
+ filter: none;
+ }
+ }
+
+ .square {
+ width: 100px;
+ height: 100px;
+ background: black;
+ animation-name: animate;
+ animation-play-state: paused;
+ animation-delay: -2s;
+ animation-duration: 4s;
+ animation-timing-function: linear;
+ }
+ </style>
+</head>
+<body>
+<p>You should see a gray blurred rectangle.</p>
+
+<div class="square"></div>
+</body>
+</html>