In fact, using the mask css attribute will simply cut off the visible shape, and neither outline nor border will be displayed. (depends of the mask's shape of course)
The best way to do this would be to make this curved shape in a svg (and with the border/outline you're looking for), and put it as a background image (much more flexible way).