<html>
<head>
<style>
* {
overflow: visible;
position: absolute;
}
.shadow {
filter: drop-shadow(10px 10px 10px red);
}
#rect1 {
x: 50px;
y: 50px;
width: 100px;
height: 100px;
color: black;
}
#rect2 {
x: 250px;
y: 50px;
width: 100px;
height: 100px;
color: black;
}
</style>
</head>
<body>
<svg><rect id="rect1" class="shadow"></rect></svg>
<svg class="shadow"><rect id="rect2"></rect></svg>
</body>
</html>
I'm using CEF build 4324, and my app is using offscreen rendering. I tested with cefclient from build 4472 and it looks fine, same as Chrome
Users browsing this forum: No registered users and 101 guests