mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee
This commit is contained in:
parent
fe1a057bd1
commit
24183668c4
1960 changed files with 29853 additions and 10555 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue