Without shadow root:

 3 circles 

 3 squares 

 Rectangle left to right 

 Diamonds 

With shadow root:

 3 circles 

 3 squares 

 Rectangle left to right 

 Diamonds 

Please note that a click on a shadow root button doesn't fire the form submit event.