Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee

This commit is contained in:
WPT Sync Bot 2018-05-18 22:02:29 -04:00
parent fe1a057bd1
commit 24183668c4
1960 changed files with 29853 additions and 10555 deletions

View file

@ -1,22 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS Backgrounds and Borders Test: background-clip Reference</title>
<link rel="author" title="James Wang" href="mailto:wangjian@ucweb.com">
<style type="text/css">
* { padding: 0; margin: 0; }
#test-color-box {
position: absolute;
width: 180px;
height: 180px;
background-color: rgba(0, 255, 0, 1);
border: 10px solid blue;
}
</style>
</head>
<body>
<p>Test pass if the green box has a 10px width blue edge</p>
<!-- background -->
<div id="test-color-box"></div>
</body>
</html>
<title>CSS Backgrounds and Borders Test: background-clip Reference</title>
<link rel="author" title="James Wang" href="mailto:wangjian@ucweb.com">
<style>
#test-color-box {
position: absolute;
width: 180px;
height: 180px;
background-color: rgba(255, 165, 0, 1);
border: 10px solid blue;
}
</style>
<p>Test passes if the orange box has a 10px width blue edge.</p>
<!-- background -->
<div id="test-color-box"></div>

View file

@ -0,0 +1,17 @@
<!doctype html>
<meta charset="utf-8">
<title>Corner Clipped Background Color</title>
<style>
html {
background-color: green;
}
#a {
top: 20px;
left: 20px;
position: absolute;
width: 20px;
height: 20px;
background-color: black;
}
</style>
<div id="a"></div>