зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
422 B
HTML
23 строки
422 B
HTML
<!DOCTYPE>
|
|
<head>
|
|
<style>
|
|
body {
|
|
border: 0px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
img {
|
|
image-orientation: from-image;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<img src="image-orientation-viewbox-no-size.svg">
|
|
<script>
|
|
let fromImage = location.search == "from-image";
|
|
if (fromImage) {
|
|
document.querySelector("img").style.imageOrientation = "from-image";
|
|
}
|
|
</script>
|
|
</body>
|