зеркало из https://github.com/mozilla/gecko-dev.git
26 строки
451 B
HTML
26 строки
451 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>background-size: 32px auto; for image with no intrinsic height</title>
|
|
<style type="text/css">
|
|
#outer
|
|
{
|
|
border: 1px solid black;
|
|
width: 64px;
|
|
height: 128px;
|
|
}
|
|
#inner
|
|
{
|
|
width: 64px;
|
|
height: 128px;
|
|
background-image: url(no-intrinsic-size.svg);
|
|
background-repeat: no-repeat;
|
|
-moz-background-size: 32px auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="outer"><div id="inner"></div></div>
|
|
</body>
|
|
</html>
|