3 Test that nav closes p. This paragraph should be surrounded by a thin green border, instead of a thick red one. Also tests that nav lays out as a block. There should be only a single border box with width of the content area (minus margins).
5 Test that p does not close nav. This paragraph should have a double green border.
7 Test that nav can nest inside itself. This paragraph should have a double green border.
9 Test of residual style. This text should be bold.
10 This should be bold too.
12 Test of FormatBlock behavior. This text should have a green border.
14 DOM for the above (so this test can dump as text)
17 <p></p><nav>Test that <code>nav</code> closes <code>p</code>. This paragraph should be surrounded by a thin green border, instead of a thick red one. Also tests that nav lays out as a block. There should be only a single border box with width of the content area (minus margins).</nav>
19 <nav><p>Test that <code>p</code> does not close <code>nav</code>. This paragraph should have a double green border.</p></nav>
21 <nav><nav>Test that <code>nav</code> can nest inside itself. This paragraph should have a double green border.</nav></nav>
23 <b><nav>Test of residual style. This text should be bold.</nav>This should be bold too.</b>
27 <div contenteditable="true" id="editable"><nav>
28 Test of FormatBlock behavior. This text should have a green border.