mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Masking: mask-size: mask layer size</title>
|
||||
<link href="mailto:aschen@mozilla.com" rel="author" title="Astley Chen">
|
||||
<link href="https://www.mozilla.org" rel="author" title="Mozilla">
|
||||
<link href="https://www.w3.org/TR/css-masking-1/#the-mask-size" rel="help">
|
||||
<link href="reference/mask-size-length-length-ref.htm" rel="match">
|
||||
<meta content="Test checks whether sizing mask layer works correctly or not." name="assert">
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 64px;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
#outer {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#inner {
|
||||
background-color: purple;
|
||||
mask-image: url(support/50x100-opaque-blue.svg);
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer">
|
||||
<div id="inner"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user