<!DOCTYPE html> <html> <head></head> <body> <!-- Test that the white-space property is inherited by buttons. --> <div style="white-space: nowrap; width: 1px;"> <button type="button"> a few words </button> </div> </body> </html>