MacBook Pro can “display” HDR content on SDR displays.
macOS puts a slightly higher brightness than it required and artificially (in software) changes absolute white (0xFFFFFF) to greyish color (0xEEEEEE). So when a HDR content is required it will remove mask around that content. Safari ideally, probably that’s on Firefox why tone mapping doesn’t work well