mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +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-origin: mask positioning area</title>
|
||||
<link href="mailto:aschen@mozilla.com" rel="author" title="Astley Chen">
|
||||
<link href="https://www.mozilla.org" rel="author" title="Mozilla">
|
||||
<style type="text/css">
|
||||
div.outer {
|
||||
border: 1px solid black;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.inner {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: purple;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#border { left: 4px; top: 1px; }
|
||||
#padding { left: 10px; top: 9px; }
|
||||
#content { left: 13px; top: 15px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer"><div id="border" class="inner"></div></div>
|
||||
<div class="outer"><div id="border" class="inner"></div></div>
|
||||
<div class="outer"><div id="padding" class="inner"></div></div>
|
||||
<div class="outer"><div id="content" class="inner"></div></div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user