static void InvalidateCssBox(CssBox cssbox) { var rootGfx = (RootGraphic)cssbox.RootGfx; var rootCssBox = cssbox.GetTopRootCssBox() as RenderElementBridgeCssBox; if (rootCssBox != null) { //---------------------------------------- //TODO: fix here //we not need to update entire HtmlBox //we should update only invalidate area //---------------------------------------- rootCssBox.ContainerElement.InvalidateGraphics(); } }