layout: Support any `display` property in generated content, and allow

tables to clear floats.

Improves the GitHub header.

r? @glennw
(Note that it's what Servo did before, as far as I can tell, so this isn't new)