mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 9fc797e6e5fb7d244dfb5b5125886c01f8cedf2b
This commit is contained in:
parent
b7e9bab267
commit
6dda93c6e2
55 changed files with 646 additions and 128 deletions
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<title>'border-image-repeat' with 'space' and 'round'</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-image-repeat">
|
||||
<link rel="match" href="reference/border-image-repeat-005-ref.html">
|
||||
<style>
|
||||
#target {
|
||||
width: 255px;
|
||||
height: 80px;
|
||||
border: 10px solid red;
|
||||
border-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect width='100' height='100' fill='green'/></svg>") 0 fill / 0px space round;
|
||||
}
|
||||
</style>
|
||||
<p>There should be two green rectangles below:</p>
|
||||
<div id="target"></div>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference: 'border-image-repeat' with 'space' and 'round'</title>
|
||||
<style>
|
||||
.green {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
<p>There should be two green rectangles below:</p>
|
||||
<div style="position: relative">
|
||||
<div class="green" style="left: 25px"></div>
|
||||
<div class="green" style="left: 150px"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue