layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x34
  RenderBlock {doc} at (0,0) size 800x34
    RenderInline {p} at (0,0) size 738x17
      RenderText {#text} at (0,0) size 738x17
        text run at (0,0) width 738: "The following text is in a caption element whose style is set to display:table-caption. The element is not inside a table."
    RenderText {#text} at (738,0) size 4x17
      text run at (738,0) width 4: " "
    RenderInline {captionelement} at (0,0) size 795x34
      RenderText {#text} at (742,0) size 795x34
        text run at (742,0) width 53: "This is a"
        text run at (0,17) width 103: "caption element."
    RenderText {#text} at (103,17) size 4x17
      text run at (103,17) width 4: " "
    RenderInline {p} at (0,0) size 549x17
      RenderText {#text} at (107,17) size 549x17
        text run at (107,17) width 549: "If there's no red text between this text and the previous text the caption is not displayed."
    RenderText {#text} at (0,0) size 0x0
