layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
      RenderBlock {P} at (0,0) size 784x19
        RenderText {#text} at (0,0) size 619x19
          text run at (0,0) width 619: "This tests for a bug where style would not be applied to a selection that ended just after an image."
      RenderBlock {DIV} at (0,33) size 784x129
        RenderBlock (anonymous) at (0,0) size 784x20
          RenderInline {B} at (0,0) size 0x20
            RenderBR {BR} at (0,0) size 0x20
        RenderBlock {DIV} at (0,20) size 784x109
          RenderInline {B} at (0,0) size 172x20
            RenderText {#text} at (0,89) size 172x20
              text run at (0,89) width 172: "This text should be bold."
          RenderInline {B} at (0,0) size 76x20
            RenderImage {IMG} at (172,0) size 76x103
selection start: position 0 of child 0 {BR} of child 0 {B} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
selection end:   position 1 of child 0 {IMG} of child 1 {B} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
