mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf
This commit is contained in:
parent
6d42d2f1e8
commit
7d1071a6a4
408 changed files with 8968 additions and 2608 deletions
|
@ -0,0 +1,37 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test: paint containment use the padding edge</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
padding: 50px;
|
||||
border-radius: 100px;
|
||||
border: white 50px solid;
|
||||
overflow: hidden
|
||||
}
|
||||
div::before {
|
||||
content:"";
|
||||
display: block;
|
||||
background: green;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
div::after {
|
||||
content:"";
|
||||
display: block;
|
||||
background: red;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
float: left;
|
||||
margin-top: 36px;
|
||||
margin-left: -86px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a green square in a rounded blue box, and no red.
|
||||
<div></div>
|
Loading…
Add table
Add a link
Reference in a new issue