| Index: Source/core/html/HTMLLIElement.cpp
|
| diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp
|
| index aba200729818498b5ab31e4312e58bd9d4f219e0..9d8404a458779b054eb73695cf797e4e30dc4027 100644
|
| --- a/Source/core/html/HTMLLIElement.cpp
|
| +++ b/Source/core/html/HTMLLIElement.cpp
|
| @@ -92,7 +92,7 @@ void HTMLLIElement::attach(const AttachContext& context)
|
| current = current->parentElement();
|
| if (!current)
|
| break;
|
| - if (current->hasTagName(ulTag) || current->hasTagName(olTag))
|
| + if (isHTMLUListElement(*current) || isHTMLOListElement(*current))
|
| listNode = current;
|
| }
|
|
|
|
|