summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/mix-blend-mode-952051.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/css-blending/mix-blend-mode-952051.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-blending/mix-blend-mode-952051.html')
-rw-r--r--layout/reftests/css-blending/mix-blend-mode-952051.html37
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 000000000..4895a6f72
--- /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>