Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
  BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 270 0+0+0] [BFC] children: not-inline
    BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 254 0+0+8] children: not-inline
      BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 254 0+0+0] children: not-inline
        BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 18 0+0+0] 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> (not painted)
        BlockContainer <div.square> at [692,26] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
        BlockContainer <(anonymous)> at [8,126] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
          TextNode <#text> (not painted)
        BlockContainer <div> at [8,126] [0+0+0 784 0+0+0] [0+0+0 136 0+0+0] children: not-inline
          BlockContainer <(anonymous)> at [8,126] [0+0+0 784 0+0+0] [0+0+0 36 0+0+0] children: inline
            frag 0 from TextNode start: 9, 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: 97, length: 14, rect: [8,144 94.296875x18] baseline: 13.796875
                "align="right":"
            TextNode <#text> (not painted)
          BlockContainer <div.square> at [8,162] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: inline
            TextNode <#text> (not painted)
          BlockContainer <(anonymous)> at [8,262] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
            TextNode <#text> (not painted)
        BlockContainer <(anonymous)> at [8,262] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
          TextNode <#text> (not painted)

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]

SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
 SC for BlockContainer<HTML> [0,0 800x270] [children: 0] (z-index: auto)
