diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/css-blending/mix-blend-mode-952051.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-blending/mix-blend-mode-952051.html')
-rw-r--r-- | layout/reftests/css-blending/mix-blend-mode-952051.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/css-blending/mix-blend-mode-952051.html b/layout/reftests/css-blending/mix-blend-mode-952051.html new file mode 100644 index 0000000000..4895a6f721 --- /dev/null +++ b/layout/reftests/css-blending/mix-blend-mode-952051.html @@ -0,0 +1,37 @@ +<!DOCTYPE HTML> +<head> + <style> + .parent { + width: 200px; + height: 200px; + overflow: hidden; + border-radius: 0px 0px 20px 0px; + position: absolute; + z-index: 0; + background-color: #00ff00; + } + + .child { + width: 300px; + height: 300px; + margin-left: 100px; + background-color: #ff0000; + mix-blend-mode: difference; + } + + body { + margin: 0; + } + + </style> + <!-- Rounded rect clipping seems to not yield the same results when clipping + the parent and child elements individually. The reference rendering will show + some of the parent green color around the child's clipped corner. + The reftests, on the other hand, shows some gray pixels around the same area. + This may somehow be related to antialiasing. --> +</head> +<body> + <div class="parent"> + <div class="child"></div> + </div> +</body> |