layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x40
  RenderBlock {doc} at (0,0) size 800x40
    RenderInline {p} at (0,0) size 757x19
      RenderText {#text} at (0,0) size 757x19
        text run at (0,0) width 757: "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 (756,0) size 5x19
      text run at (756,0) width 5: " "
    RenderInline {captionelement} at (0,0) size 789x39
      RenderText {#text} at (760,0) size 789x39
        text run at (760,0) width 29: "This"
        text run at (0,20) width 132: "is a caption element."
    RenderText {#text} at (131,20) size 5x19
      text run at (131,20) width 5: " "
    RenderInline {p} at (0,0) size 562x19
      RenderText {#text} at (135,20) size 562x19
        text run at (135,20) width 562: "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
