private static void ParseCssListStyle(string styleValue, Hashtable localProperties) { int i = 0; while (i < styleValue.Length) { string text = HtmlCssParser.ParseCssListStyleType(styleValue, ref i); if (text != null) { localProperties["list-style-type"] = text; } else { string text2 = HtmlCssParser.ParseCssListStylePosition(styleValue, ref i); if (text2 != null) { localProperties["list-style-position"] = text2; } else { string text3 = HtmlCssParser.ParseCssListStyleImage(styleValue, ref i); if (text3 == null) { break; } localProperties["list-style-image"] = text3; } } } }