layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x36
  RenderBlock {doc} at (0,0) size 800x36
    RenderInline {p} at (0,0) size 738x18
      RenderText {#text} at (0,0) size 738x18
        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 4x18
      text run at (738,0) width 4: " "
    RenderInline {captionelement} at (0,0) size 795x36
      RenderText {#text} at (742,0) size 795x36
        text run at (742,0) width 53: "This is a"
        text run at (0,18) width 103: "caption element."
    RenderText {#text} at (103,18) size 4x18
      text run at (103,18) width 4: " "
    RenderInline {p} at (0,0) size 549x18
      RenderText {#text} at (107,18) size 549x18
        text run at (107,18) 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
