| Index: Source/web/WebElement.cpp
|
| diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
|
| index 4d097a71e529c35937d32739e1d6ebf481985480..488605c1ce99538112f8827577308aa4b44b4b3d 100644
|
| --- a/Source/web/WebElement.cpp
|
| +++ b/Source/web/WebElement.cpp
|
| @@ -60,6 +60,12 @@
|
| WebString WebElement::tagName() const
|
| {
|
| return constUnwrap<Element>()->tagName();
|
| +}
|
| +
|
| +bool WebElement::hasTagName(const WebString& tagName) const
|
| +{
|
| + return equalIgnoringCase(constUnwrap<Element>()->tagName(),
|
| + tagName.operator String());
|
| }
|
|
|
| bool WebElement::hasHTMLTagName(const WebString& tagName) const
|
|
|