layer at (0,0) size 800x600
  LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
  LayoutBlockFlow {HTML} at (0,0) size 800x600
    LayoutBlockFlow {BODY} at (8,8) size 784x584
      LayoutBlockFlow {P} at (0,0) size 784x36
        LayoutText {#text} at (0,0) size 747x35
          text run at (0,0) width 451: "This tests for a bug when replacing the contents of a floating element. "
          text run at (450,0) width 297: "Just its contents should be removed during the"
          text run at (0,18) width 51: "replace."
      LayoutBlockFlow {DIV} at (0,52) size 784x18
        LayoutText {#text} at (297,0) size 239x17
          text run at (297,0) width 239: "This shouldn't be in the bordered div."
        LayoutBlockFlow (floating) {DIV} at (0,0) size 297.34x20 [border: (1px solid #0000FF)]
          LayoutText {#text} at (1,1) size 296x17
            text run at (1,1) width 296: "This should be in a floating blue bordered div."
caret: position 47 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body