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 [1,1] [0+1+0 798 0+1+0] [0+1+0 120 0+1+0] [BFC] children: not-inline
    BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 102 0+1+8] children: not-inline
      Box <div.grid-container> at [11,11] [0+1+0 778 0+1+0] [0+1+0 100 0+1+0] [GFC] children: not-inline
        BlockContainer <div#max-height-item.grid-item> at [12,11] [0+1+0 776 0+1+0] [-1+1+0 100 0+1+-1] [BFC] children: inline
          frag 0 from TextNode start: 0, length: 20, rect: [12,11 166.84375x18] baseline: 13.796875
              "Item with Max-Height"
          TextNode <#text> (not painted)

ViewportPaintable (Viewport<#document>) [0,0 800x600]
  PaintableWithLines (BlockContainer<HTML>) [0,0 800x122]
    PaintableWithLines (BlockContainer<BODY>) [9,9 782x104]
      PaintableBox (Box<DIV>.grid-container) [10,10 780x102] overflow: [11,11 778x101]
        PaintableWithLines (BlockContainer<DIV>#max-height-item.grid-item) [11,10 778x102]
          TextPaintable (TextNode<#text>)

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