1948: PaintArgs and LayoutArgs

Add ContainingBlock property to PaintArgs and LayoutArgs
Reduce number of call to ContainingBlock property (reduce number of
search)