#6201 deps management for htmlpage as content