CanvasRenderingContext2D.drawImage() should ignore the image's EXIF orientation if its style image-orientation is set to "none".
Normal
Flipped horizontally
Rotated 180°
Flipped vertically
Rotated 90° CCW and flipped vertically
Rotated 90° CCW
Rotated 90° CW and flipped vertically
Rotated 90° CW
Undefined (invalid value)