Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf

This commit is contained in:
WPT Sync Bot 2018-04-25 21:10:30 -04:00 committed by Anthony Ramine
parent 6d42d2f1e8
commit 7d1071a6a4
408 changed files with 8968 additions and 2608 deletions

View file

@ -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>