[Webkit-unassigned] [Bug 256536] XPath: Apply ignore-case matching to attribute names

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 11 17:52:41 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256536

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
(In reply to Ahmad Saleem from comment #4)
> Created attachment 466326 [details]
> Compiling version
> 
> ^ This attached compiles. @Chris - thanks for your help.
> 
> Although, there is no progression on WPT. Which is weird. :-(

Can you try this for the top part of the change?
```
                auto& attr = downcast<Attr>(node);
                if (attr.document().isHTMLDocument() && attr.ownerElement() &&
                    attr.ownerElement()->isHTMLElement() && namespaceURI.isNull() &&
                    attr.namespaceURI().isNull()) {
                    return equalIgnoringASCIICase(attr.localName(), name);
                }
```

I think you may have converted the other part wrong from Blink also.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230512/8c93fc12/attachment-0001.htm>


More information about the webkit-unassigned mailing list