servo/tests/wpt/css-tests/compositing-1_dev/html/reference/mix-blend-mode-parent-with-text-ref.htm

29 lines
No EOL
985 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mbudaes@adobe.com" rel="author" title="Mirela Budăeș">
<link href="mailto:mitica@adobe.com" rel="author" title="Mihai Tica">
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
<link href="mailto:olaru@adobe.com" rel="reviewer" title="Horia Olaru">
<style type="text/css">
.container {
background: #FF0;
width: 100px;
height: 100px;
}
.text {
color: #0F0;
}
body {
background: lightgray;
}
</style>
</head>
<body>
<p>Test passes if a yellow square with green text is drawn over a lightgray background.</p>
<div class="container">
<div class="text">Red text that becomes green after blending</div>
</div>
</body></html>