Daves test page

TC1a INTRO (class on p). This is the intro paragraph used to check the gap below it. Before the fix this should be 5rem, and after it should be 3rem.

TC1a NEXT. Measure the gap between the intro above and this paragraph.

TC1b INTRO (span inside p). This is the same check using the other likely markup.

TC1b NEXT. Measure the gap between the intro above and this paragraph.

TC2 Paragraph then p > img then paragraph

TC2 ABOVE. Measure from the bottom of this paragraph to the top of the image.

TC2 image

TC2 BELOW. Measure from the bottom of the image to the top of this paragraph.

TC3 Heading directly before an image

TC3 image

TC4 Heading directly after an image

TC4 text so the heading has something under it.

TC5 div > img

TC5 ABOVE. Measure from here to the top of the image.

TC5 image

TC5 BELOW. Measure from the bottom of the image to here.

TC6 Two images back to back

TC6 image A

TC6 image B

TC6 BELOW. Measure the gap between the two images, and below image B.

TC7 Inline image inside text (edge case)

TC7 ABOVE. This is a normal paragraph before the inline image paragraph.

TC7 This sentence has a small inline image TC7 icon in it, so it should keep normal paragraph spacing.

TC7 BELOW. If the spacing here jumps to image spacing, the inline image is being treated as a block image.

TC8 Divider then image

 

TC8 image

TC8 BELOW.

TC9 Image then quote (margin stacking)

TC9 image

TC9 QUOTE. Measure from the bottom of the image to the top of the quote mark.

TC10 Full-width media block

TC10 ABOVE. INSERT THE FULL-WIDTH MEDIA BLOCK DIRECTLY BELOW THIS PARAGRAPH.

TC10 BELOW. Measure from the bottom of the media block to here.

TC11 Anchor link (regression for new scroll-margin rule)

TC11 Jump to the anchor. After the jump, the target line should sit just below the sticky header, not hidden under it.

TC11 filler paragraph. Add a few more paragraphs here if the page is too short to scroll.

TC11 TARGET LINE. This text should be visible below the header after the jump.

TC12 Image as last element

TC12 ABOVE.

TC12 image, last element