зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
591 B
HTML
18 строки
591 B
HTML
<!DOCTYPE HTML>
|
|
<style>
|
|
body {
|
|
background-color:black;
|
|
}
|
|
div {
|
|
transform: scale(0.3);
|
|
transform-origin: 0 0;
|
|
}
|
|
</style>
|
|
<div>
|
|
<!-- Test that drawing of (scaled) single pixel images is snapped -->
|
|
<img style="width:256px; height:256px"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdj+P//PwAF/gL+3MxZ5wAAAABJRU5ErkJggg=="
|
|
><img style="width:256px; height:256px"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdj+P//PwAF/gL+3MxZ5wAAAABJRU5ErkJggg==">
|
|
</div>
|