Consider merging https://chromium.googlesource.com/chromium/blink/+/97e38566bd7bda374dcdb31face0cf77437badf7 This will avoid the annoying image resize when you pinch zoom, etc...
I tried to merge this but it's too hard for me.
Tests don't work because onresize is never fired, and the fix doesn't seem to work in Safari/WebKit. There is something weird going on here.