layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x227 LayoutBlockFlow {HTML} at (0,0) size 800x227 LayoutBlockFlow {BODY} at (8,16) size 784x203 LayoutBlockFlow {P} at (0,0) size 784x20 LayoutText {#text} at (0,0) size 349x19 text run at (0,0) width 349: "Gray box should be clipped by black border in each case." LayoutBlockFlow (anonymous) at (0,36) size 784x167 LayoutText {#text} at (162,147) size 4x19 text run at (162,147) width 4: " " LayoutText {#text} at (328,147) size 4x19 text run at (328,147) width 4: " " LayoutText {#text} at (0,0) size 0x0 layer at (28,72) size 122x122 clip at (29,73) size 120x120 scrollHeight 320 LayoutBlockFlow {DIV} at (20,20) size 122x122 [border: (1px solid #000000)] layer at (39,83) size 100x300 backgroundClip at (29,73) size 120x120 clip at (29,73) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080] layer at (194,72) size 122x122 clip at (195,73) size 120x120 scrollHeight 320 LayoutBlockFlow (relative positioned) {DIV} at (186,20) size 122x122 [border: (1px solid #000000)] layer at (205,83) size 100x300 backgroundClip at (195,73) size 120x120 clip at (195,73) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080] layer at (360,72) size 122x122 clip at (361,73) size 120x120 scrollHeight 320 LayoutBlockFlow (relative positioned) {DIV} at (352,20) size 122x122 [border: (1px solid #000000)] layer at (371,83) size 100x300 backgroundClip at (361,73) size 120x120 clip at (361,73) size 120x120 LayoutBlockFlow {DIV} at (11,11) size 100x300 [bgcolor=#808080]