DomAgent.hasContent/sumWidth/sumHeight added