Viewport <#document> at (0,0) content-size 800x600 children: not-inline
  BlockContainer <html> at (0,0) content-size 800x270 [BFC] children: not-inline
    BlockContainer <body> at (8,8) content-size 784x254 children: not-inline
      BlockContainer <div> at (8,8) content-size 784x254 children: not-inline
        BlockContainer <(anonymous)> at (8,8) content-size 784x18 children: inline
          frag 0 from TextNode start: 0, length: 54, rect: [344.515625,8 447.484375x18] baseline: 13.796875
              "This text and the green square are both right aligned:"
          TextNode <#text>
        BlockContainer <div.square> at (692,26) content-size 100x100 children: not-inline
        BlockContainer <(anonymous)> at (8,126) content-size 784x0 children: inline
          TextNode <#text>
        BlockContainer <div> at (8,126) content-size 784x136 children: not-inline
          BlockContainer <(anonymous)> at (8,126) content-size 784x36 children: inline
            frag 0 from TextNode start: 1, length: 87, rect: [8,126 711.4375x18] baseline: 13.796875
                "This text and the green square are both left aligned despite being nested in a div with"
            frag 1 from TextNode start: 89, length: 14, rect: [8,144 94.296875x18] baseline: 13.796875
                "align="right":"
            TextNode <#text>
          BlockContainer <div.square> at (8,162) content-size 100x100 children: inline
            TextNode <#text>
          BlockContainer <(anonymous)> at (8,262) content-size 784x0 children: inline
            TextNode <#text>
        BlockContainer <(anonymous)> at (8,262) content-size 784x0 children: inline
          TextNode <#text>

ViewportPaintable (Viewport<#document>) [0,0 800x600]
  PaintableWithLines (BlockContainer<HTML>) [0,0 800x270]
    PaintableWithLines (BlockContainer<BODY>) [8,8 784x254]
      PaintableWithLines (BlockContainer<DIV>) [8,8 784x254]
        PaintableWithLines (BlockContainer(anonymous)) [8,8 784x18]
          TextPaintable (TextNode<#text>)
        PaintableWithLines (BlockContainer<DIV>.square) [692,26 100x100]
        PaintableWithLines (BlockContainer(anonymous)) [8,126 784x0]
        PaintableWithLines (BlockContainer<DIV>) [8,126 784x136]
          PaintableWithLines (BlockContainer(anonymous)) [8,126 784x36]
            TextPaintable (TextNode<#text>)
          PaintableWithLines (BlockContainer<DIV>.square) [8,162 100x100]
          PaintableWithLines (BlockContainer(anonymous)) [8,262 784x0]
        PaintableWithLines (BlockContainer(anonymous)) [8,262 784x0]
