Use the new customGetter support for HTMLImageElement#{width,height}.