mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -6,9 +6,9 @@
|
|||
<link href="https://www.mozilla.org" rel="author" title="Mozilla">
|
||||
<link href="http://www.w3.org/TR/css-masking-1/#the-mask-clip" rel="help">
|
||||
<link href="reference/mask-clip-1-ref.htm" rel="match">
|
||||
<meta content="border-box, padding-box, and content-box values of mask-clip should clip to the appropriate boxes." name="assert">
|
||||
<meta content="border-box, padding-box, content-box and no-clip values of mask-clip should clip to the appropriate boxes." name="assert">
|
||||
<style type="text/css">
|
||||
div {
|
||||
div.outer {
|
||||
/*
|
||||
* content box: 40 x 20
|
||||
* padding box: 52 x 38
|
||||
|
@ -46,12 +46,32 @@
|
|||
left: 210px;
|
||||
mask-clip: content-box;
|
||||
}
|
||||
|
||||
div.no-clip {
|
||||
background-color: yellow;
|
||||
left: 310px;
|
||||
mask-clip: no-clip;
|
||||
}
|
||||
|
||||
div.no-clip-inner {
|
||||
background-color: purple;
|
||||
position: absolute;
|
||||
/* allign with border area of the parent*/
|
||||
top: -8px;
|
||||
left: -6px;
|
||||
width: 100px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer mask border"></div>
|
||||
<div class="outer mask padding"></div>
|
||||
<div class="outer mask content"></div>
|
||||
<div class="outer mask no-clip">
|
||||
<div class="no-clip-inner"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue