It’s possible to screenshot any html element from the Safari inspector. They’re completely isolated and transparencies are preserved in the png.