mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
27 lines
No EOL
1.1 KiB
HTML
27 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test: Blended element with masking.</title>
|
|
<link href="mailto:mitica@adobe.com" rel="author" title="Mihai Tica">
|
|
<link href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode" rel="help">
|
|
<meta content="Test checks that an element having mask and mix-blend-mode blends with its parent element." name="assert">
|
|
<meta content="svg" name="flags">
|
|
<link href="mailto:cabanier@adobe.com" rel="reviewer" title="Rik Cabanier">
|
|
<link href="mailto:mbudaes@adobe.com" rel="reviewer" title="Mirela Budaes">
|
|
<link href="reference/mix-blend-mode-mask-ref.htm" rel="match">
|
|
<style type="text/css">
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you can see a green circle. <br>
|
|
The test fails if the circle is drawn with red. </p>
|
|
|
|
<div style="background: #FF0">
|
|
<div style="background: #F00; mix-blend-mode: difference; mask-image: url('support/red_circle.svg');"></div>
|
|
</div>
|
|
|
|
|
|
</body></html> |