mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#ref-overlapped-red {
|
||||
background-color: red;
|
||||
height: 150px;
|
||||
width: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
#test-overlapping-square {
|
||||
background-image: url(support/100x100-blue-and-orange.png);
|
||||
@@ -23,9 +23,9 @@
|
||||
bottom: 150px;
|
||||
height: 150px;
|
||||
position: relative;
|
||||
width: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
/*
|
||||
/*
|
||||
Background positioning area is 250px wide by 150px tall.
|
||||
The width of the background image is 20% of 250px == 50px.
|
||||
The height is rescaled to 30% of 150px == 45px.
|
||||
@@ -33,7 +33,7 @@
|
||||
height is rescaled as following:
|
||||
Newest height = 150px / (round [150px / 45px]);
|
||||
Newest height = 150px / (round [3.33]);
|
||||
Newest height = 150px / (3);
|
||||
Newest height = 150px / (3);
|
||||
Newest height = 50px;
|
||||
*/
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user