This repository was archived by the owner on May 6, 2019. It is now read-only.

Description
How can we create css rules for webKit browser ?
I was doing it like this on default browser...
IHTMLDocument2 currentDocument = (IHTMLDocument2)webBrowser1.Document.DomDocument;
int length = currentDocument.styleSheets.length;
IHTMLStyleSheet styleSheet = currentDocument.createStyleSheet(@"", length + 1);
TextReader reader = new StreamReader(Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "cssFile.css"));
string style = reader.ReadToEnd();
styleSheet.cssText = style;