mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
26 lines
No EOL
1.2 KiB
HTML
26 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<meta charset="utf-8" />
|
|
<title>CSS Masking: mask-image: data url mask</title>
|
|
<link href="mailto:cku@mozilla.com" rel="author" title="CJ Ku" />
|
|
<link href="https://www.mozilla.org" rel="author" title="Mozilla" />
|
|
<link href="https://www.w3.org/TR/css-masking-1/#the-mask-image" rel="help" />
|
|
<link href="reference/mask-image-5-ref.xht" rel="match" />
|
|
<meta content="Test checks handling data url mask correctly." name="assert" />
|
|
<style type="text/css">
|
|
div {
|
|
background-color: purple;
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
div.mask-by-data-url {
|
|
/* a 50x50 opaque blue rect */
|
|
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxzdmcgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxyZWN0IHg9IjAiIHk9IjAiICB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9ImJsdWUiIGZpbGwtb3BhY2l0eT0iMSIvPgo8L3N2Zz4K");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="mask-by-data-url">
|
|
|
|
|
|
</div></body></html> |