mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
18 lines
591 B
HTML
18 lines
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>
|