summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html')
-rw-r--r--testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html b/testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html
new file mode 100644
index 0000000000..4fbc7590c7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<link rel="help" href="https://crbug.com/1330509">
+<link rel="match" href="fractional-scale-gradient-bg-obscure-red-bg-ref.html">
+<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-350">
+<style>
+ body {
+ background: red;
+ margin: 0;
+ }
+ .container {
+ width: 100vw;
+ height: 100vh;
+ background: white;
+ }
+ .transform {
+ transform-origin: 0 0;
+ will-change: transform;
+ background: linear-gradient(white, white);
+ width: 47px;
+ height: 47px;
+ position: absolute;
+ }
+</style>
+<div class="container">
+ Should be fully white, without any red.
+ <div class="transform" style="transform: scale(3.777)"></div>
+ <div class="transform" style="transform: scale(2.777)"></div>
+ <div class="transform" style="transform: scale(1.777)"></div>
+ <div class="transform" style="transform: scale(1.129)"></div>
+ <div class="transform" style="transform: scale(0.971)"></div>
+ <div class="transform" style="transform: scale(0.457)"></div>
+</div>