mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="utf-8" />
|
||||
<title>
|
||||
CSS Border and Background: border-image #7 border-image-width
|
||||
</title>
|
||||
<meta content="Basic support for the border-image-width property" name="assert" />
|
||||
|
||||
<link href="mailto:jeremie@patonnier.net" rel="author" title="Jérémie Patonnier" />
|
||||
|
||||
<link href="http://www.w3.org/TR/css3-background/#the-border-image-width" rel="help" />
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
#test {
|
||||
border : 10px solid red;
|
||||
width : 20px;
|
||||
height : 20px;
|
||||
|
||||
border-image-source: url(support/img-ref-1.png);
|
||||
border-image-slice : 10;
|
||||
border-image-width : 1px;
|
||||
}
|
||||
|
||||
#ref {
|
||||
border : 1px solid #009900;
|
||||
padding: 9px;
|
||||
width : 20px;
|
||||
height : 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
Pass if both squares are identical.
|
||||
</p>
|
||||
|
||||
<p id="test"></p>
|
||||
<p id="ref"></p>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue