I don't know if this is the only rule not rendering in firefox.
Here is the pen:
https://codepen.io/Supersudo/pen/MWYYeba
I tried this both on Nightly build, stable, developer edition and chromium. I added an inline style in foreignObject tag. All of the build that was mentioned doesn't display the blue border around the div while chromium does.