mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<!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: 125px;
|
||||
height: 125px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.inner {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: purple;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#pos-left-auto { left: 0px; top: 22px; }
|
||||
#pos-left-bottom { left: 0px; top: 44px; }
|
||||
#pos-right-top { left: 36px; top: 0px; }
|
||||
#pos-right-bottom { left: 36px; top: 44px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer"><div id="pos-left-auto" class="inner"></div></div>
|
||||
<div class="outer"><div id="pos-left-bottom" class="inner"></div></div>
|
||||
<div class="outer"><div id="pos-right-top" class="inner"></div></div>
|
||||
<div class="outer"><div id="pos-right-bottom" class="inner"></div></div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user