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:
@@ -18,18 +18,18 @@
|
||||
background-size: 52px auto;
|
||||
height: 180px;
|
||||
width: 180px;
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
Background positioning area is 180px wide by 180px tall.
|
||||
The width of the background image is 52px.
|
||||
But, because background-repeat is set to round repeat, the
|
||||
width is rescaled as following:
|
||||
Newest width = 180px / (round [180px / 52px]);
|
||||
Newest width = 180px / (round [3.46]);
|
||||
Newest width = 180px / (3);
|
||||
Newest width = 60px;
|
||||
Newest width = 180px / (3);
|
||||
Newest width = 60px;
|
||||
|
||||
Then the height is rescaled to from 100px to 60px to keep
|
||||
Then the height is rescaled to from 100px to 60px to keep
|
||||
the original aspect ratio.
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user