зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
290 B
HTML
17 строки
290 B
HTML
|
<!DOCTYPE html>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Make sure the ImageLayer is sized correctly when using object-fit</title>
|
||
|
|
||
|
<style type="text/css">
|
||
|
|
||
|
img {
|
||
|
object-fit: cover;
|
||
|
width: 256px;
|
||
|
height: 128px;
|
||
|
will-change: transform;
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
|
||
|
<img src="repeatable-diagonal-gradient.png">
|