[css] add optional method to notify a view when it has been added to a DOM (e.g. for registering subviews automatically)