1 layer at (0,0) size 800x600
2 LayoutView at (0,0) size 800x600
3 layer at (0,0) size 800x600
4 LayoutBlockFlow {HTML} at (0,0) size 800x600
5 LayoutBlockFlow {BODY} at (8,8) size 784x584
6 LayoutBlockFlow {P} at (0,0) size 784x40
7 LayoutText {#text} at (0,0) size 765x39
8 text run at (0,0) width 742: "This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that was present"
9 text run at (0,20) width 175: "before the alignment change. "
10 text run at (175,20) width 590: "The image should be centered and the selection should be the same before and after the operation."
11 LayoutBlockFlow {DIV} at (0,56) size 784x143
12 LayoutBlockFlow (anonymous) at (0,0) size 784x20
13 LayoutText {#text} at (0,0) size 20x19
14 text run at (0,0) width 20: "foo"
15 LayoutBR {BR} at (20,15) size 0x0
16 LayoutBlockFlow {DIV} at (0,20) size 784x103
17 LayoutImage {IMG} at (354,0) size 76x103
18 LayoutBlockFlow (anonymous) at (0,123) size 784x20
19 LayoutText {#text} at (0,0) size 21x19
20 text run at (0,0) width 21: "baz"
21 selection start: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of body
22 selection end: position 1 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of body