-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved 5 border-image-* tests and created references
- Loading branch information
Showing
7 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
css/css-backgrounds/reference/border-image-slice-006-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
|
||
<meta charset="UTF-8"> | ||
|
||
<title>CSS Reftest reference</title> | ||
|
||
<style> | ||
div | ||
{ | ||
background-color: green; | ||
height: 30px; | ||
margin: 50px; | ||
position: relative; | ||
width: 30px; | ||
} | ||
|
||
div#top-right | ||
{ | ||
left: 130px; | ||
bottom: 80px; | ||
} | ||
|
||
div#bottom-left | ||
{ | ||
bottom: 30px; | ||
} | ||
|
||
div#bottom-right | ||
{ | ||
left: 130px; | ||
bottom: 110px; | ||
} | ||
</style> | ||
|
||
<p>Test passes if there are four identical green squares and <strong>no red</strong>. | ||
|
||
<div id="top-left"></div><div id="top-right"></div><div id="bottom-left"></div><div id="bottom-right"></div> |
61 changes: 61 additions & 0 deletions
61
css/css-backgrounds/reference/border-image-width-001-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
|
||
<meta charset="UTF-8"> | ||
|
||
<title>CSS Reftest reference</title> | ||
|
||
<style> | ||
div.subtest | ||
{ | ||
background-color: green; | ||
height: 120px; | ||
margin: 8px auto 8px 0px; | ||
width: 120px; | ||
} | ||
|
||
div > div | ||
{ | ||
background-color: lime; | ||
position: relative; | ||
} | ||
|
||
div#subtest1 > div | ||
{ | ||
height: 75px; | ||
left: 15px; | ||
top: 30px; | ||
width: 80px; | ||
} | ||
|
||
div#subtest2 > div | ||
{ | ||
height: 60px; | ||
left: 10px; | ||
top: 30px; | ||
width: 100px; | ||
} | ||
|
||
div#subtest3 > div | ||
{ | ||
height: 75px; | ||
left: 15px; | ||
top: 30px; | ||
width: 80px; | ||
} | ||
|
||
div#subtest4 > div | ||
{ | ||
height: 90px; | ||
left: 25px; | ||
top: 15px; | ||
width: 70px; | ||
} | ||
</style> | ||
|
||
<div class="subtest" id="subtest1"><div></div></div> | ||
|
||
<div class="subtest" id="subtest2"><div></div></div> | ||
|
||
<div class="subtest" id="subtest3" style="height: 135px; width: 110px;"><div></div></div> | ||
|
||
<div class="subtest" id="subtest4"><div></div></div> |