void SetHtml(LayoutFarm.HtmlBoxes.MyHtmlContainer htmlContainer, string html, CssActiveSheet cssData)
{
//-----------------------------------------------------------------
var htmldoc = this.currentDoc =
LayoutFarm.Composers.WebDocumentParser.ParseDocument(
new WebDom.Parser.TextSource(html.ToCharArray()));
//build rootbox from htmldoc
var rootBox = this.htmlhost.GetRenderTreeBuilder().BuildCssRenderTree(htmldoc,
cssData,
null);
htmlContainer.WebDocument = htmldoc;
htmlContainer.RootCssBox = rootBox;
}