Brave is based on Chromium and inherits basically all compability, that this brings.

Firefox with Gecko is a different engine entirely and that sometimes causes compatibility issues or different behaviour, that websites have to account for.