mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
28 lines
No EOL
1.1 KiB
HTML
28 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test: SVG element is blended.</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 SVG element blends with the parent container." 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-svg-ref.htm" rel="match">
|
|
<style type="text/css">
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #FF0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you can see a green box.</p>
|
|
<div>
|
|
<svg width="100" style="mix-blend-mode: difference;" height="100">
|
|
<rect width="100" style="fill: #F00;" height="100">
|
|
</rect></svg>
|
|
</div>
|
|
|
|
|
|
</body></html> |