<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <head> <meta charset="utf-8"> <style type="text/css"> embed, img, object, video { object-fit: fill; object-position: 0 0; background: red; width: 50px; height: 30px; } </style> </head> <body> <embed src="500.svg"> <img src="500.svg"> <object data="500.svg"></object> <video poster="500.svg"></video> </body> </html>