[PATCH] mshtml: Implement HTMLStyleSheetRulesCollection::item.

Dmitry Timoshkov dmitry at baikal.ru
Tue May 7 06:43:16 CDT 2019


Jacek Caban <jacek at codeweavers.com> wrote:

> > +    nsres = nsIDOMCSSRuleList_Item(This->nslist, index, &nsstylesheetrule);
> > +    if (NS_FAILED(nsres) || !nsstylesheetrule)
> > +    {
> > +        WARN("Item failed: %08x\n", nsres);
> > +        /* The function returns S_OK even if the element is not found */
> > +        *ppHTMLStyleSheetRule = NULL;
> 
> This test does not confirm that:
> 
> https://testbot.winehq.org/JobDetails.pl?Key=51932

Thanks for the review and a test case, looks like MSDN is wrong with its
description. I find the test very useful, feel free to send it.

-- 
Dmitry.



More information about the wine-devel mailing list