Code snippets and examples for layout patterns from the 2009 and 2012 spec.