layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x224 LayoutBlockFlow {HTML} at (0,0) size 800x224 LayoutBlockFlow {BODY} at (8,16) size 784x200 LayoutBlockFlow {P} at (0,0) size 784x18 LayoutText {#text} at (0,0) size 367x17 text run at (0,0) width 367: "Gray box should be clipped by black border in each case." LayoutBlockFlow (anonymous) at (0,34) size 784x166 LayoutText {#text} at (162,148) size 4x17 text run at (162,148) width 4: " " LayoutText {#text} at (328,148) size 4x17 text run at (328,148) width 4: " " LayoutText {#text} at (0,0) size 0x0 layer at (28,70) size 122x122 clip at (29,71) size 120x120 scrollHeight 320 LayoutBlockFlow {DIV} at (20,20) size 122x122 [border: (1px solid #000000)] layer at (39,81) size 100x300 backgroundClip at (29,71) size 120x120 clip at (29,71) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080] layer at (194,70) size 122x122 clip at (195,71) size 120x120 scrollHeight 320 LayoutBlockFlow (relative positioned) {DIV} at (186,20) size 122x122 [border: (1px solid #000000)] layer at (205,81) size 100x300 backgroundClip at (195,71) size 120x120 clip at (195,71) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080] layer at (360,70) size 122x122 clip at (361,71) size 120x120 scrollHeight 320 LayoutBlockFlow (relative positioned) {DIV} at (352,20) size 122x122 [border: (1px solid #000000)] layer at (371,81) size 100x300 backgroundClip at (361,71) size 120x120 clip at (361,71) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080]