RESOLVED FIXED 98714
[Chromium] Add WebElement::hasHTMLTagName, and deprecate hasTagName
https://bugs.webkit.org/show_bug.cgi?id=98714
Summary [Chromium] Add WebElement::hasHTMLTagName, and deprecate hasTagName
Kent Tamura
Reported 2012-10-08 20:44:22 PDT
[Chromium] Add WebElement::hasHTMLTagName, and deprecate hasTagName
Attachments
Patch (2.95 KB, patch)
2012-10-08 20:50 PDT, Kent Tamura
inferno: review+
Kent Tamura
Comment 1 2012-10-08 20:50:51 PDT
WebKit Review Bot
Comment 2 2012-10-08 20:54:43 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Kent Tamura
Comment 3 2012-10-09 21:49:48 PDT
(In reply to comment #2) > Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org Could anyone approve this please?
Adam Barth
Comment 4 2012-10-09 21:58:30 PDT
Comment on attachment 167679 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167679&action=review API change LGTM > Source/WebKit/chromium/src/WebElement.cpp:70 > + return HTMLNames::xhtmlNamespaceURI == element->namespaceURI() && equalIgnoringCase(element->tagName(), tagName.operator String()); tagName.operator String() -> String(tagName) might be a prettier way to write this.
Adam Barth
Comment 5 2012-10-09 21:59:38 PDT
> Could anyone approve this please? tkent: Given that you're one of our API reviewers, I think it's fine for you to change the API with just a normal review. After all, fishd used to change the API all the time when he was the only API reviewer. :)
Kent Tamura
Comment 6 2012-10-09 22:07:09 PDT
Note You need to log in before you can comment on or make changes to this bug.