[PATCH 02/11] mshtml: Implement IHTMLElement::toString.

Jacek Caban jacek at codeweavers.com
Tue Sep 21 08:31:27 CDT 2021


On 9/21/21 2:32 PM, Gabriel Ivăncescu wrote:
> But where would we even get the name from? In HTMLElement_Create, 
> get_tag_desc is used for specific tags, which is similar, but the 
> "fallback" goes to HTMLGenericElement_Create, since not all tags are 
> included there.


Sure, but I think that's what you need, see this test for an example:

var s = document.createElement("winetest").toString();
ok(s === "[object HTMLUnknownElement]", "s = " + s);


> For example the "div" tag is not. 


It should probably be made a separated object.


Thanks,

Jacek




More information about the wine-devel mailing list