mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add background test file
This commit is contained in:
parent
7eabcbb8fe
commit
49952241ad
2 changed files with 20 additions and 0 deletions
20
src/test/html/background.html
Normal file
20
src/test/html/background.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<style>
|
||||
.test { background: url(rust-0.png) gray; }
|
||||
</style>
|
||||
<body>
|
||||
<div class="test" style="width:200px; height:200px; color:red;">
|
||||
background: url(rust-0.png) gray; width:200px; height:200px;
|
||||
</div>
|
||||
<div class="test" style="background-image: url(rust-45.png); width:200px; height:200px; color:red;">
|
||||
background-image: url(rust-45.png); width:200px; height:200px;
|
||||
</div>
|
||||
<div style="background: url(rust-90.png) yellow; width:200px; height:200px; border: 5px solid #000; color:blue;">
|
||||
background: url(rust-90.png) yellow; width:200px; height:200px; border: 5px solid #000;
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
src/test/ref/rust-0.png
Normal file
BIN
src/test/ref/rust-0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue