public void Run()
        {
            if (isProcessed)
            {
                return;
            }
            if (Parent != null)
            {
                Styles = new List <Style>(Parent.Styles);
            }

            var currentStyle = Document.GetStyle(this);

            if (currentStyle != null)
            {
                Styles.Add(currentStyle);
            }

            tagProcessor.Run(Document);
            foreach (var tag in Childs)
            {
                tag.Run();
            }

            isProcessed = true;
        }