There is a bug in the todays commit to Windows Forms Webbrowser: + // from http://www.w3.org/TR/html401/index/elements.html + public bool CanHaveChildren { + get { + string tag = this.TagName; + switch (tag.ToLower ()) { + case "area": + case "base": + case "basefont": + case "br": + case "col": + case "frame": + case "hr": + case "img": + case "input": + case "isindex": + case "link": + case "meta": + case "param": + return false; + break; + default: + return true; + break; + } + } + }
It should be tag.ToLowerInvariant () because HTML-Tags are not dependent on the current system locale ;) Greetings Andreas _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
