Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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>↩