mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad
This commit is contained in:
parent
ff58cb0a3f
commit
44c252aede
56 changed files with 1921 additions and 67 deletions
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade Green Right Square Reference File</title>
|
||||
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk">
|
||||
<style>
|
||||
#success {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div>
|
||||
<div id="success"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade: Important</title>
|
||||
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-cascade/#importance">
|
||||
<link rel="match" href="important-prop-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<style>
|
||||
@keyframes override{
|
||||
from, to{background-color: #f00;}
|
||||
}
|
||||
|
||||
.square {
|
||||
color:#00f;
|
||||
animation: override 1s infinite;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.green {
|
||||
background-color:green !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div class="square green"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue