| Index: Source/core/html/HTMLCollection.cpp
|
| diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp
|
| index 6df9dec6fd7630b57267711a32b59abab408276c..486803db02728402d34962815d7ad3f280efa84a 100644
|
| --- a/Source/core/html/HTMLCollection.cpp
|
| +++ b/Source/core/html/HTMLCollection.cpp
|
| @@ -228,7 +228,7 @@ static inline bool isMatchingHTMLElement(const HTMLCollection& htmlCollection, c
|
| case MapAreas:
|
| return element.hasTagName(areaTag);
|
| case DocApplets:
|
| - return element.hasTagName(appletTag) || (isHTMLObjectElement(element) && toHTMLObjectElement(element).containsJavaApplet());
|
| + return isHTMLObjectElement(element) && toHTMLObjectElement(element).containsJavaApplet();
|
| case DocEmbeds:
|
| return element.hasTagName(embedTag);
|
| case DocLinks:
|
| @@ -311,7 +311,6 @@ static inline bool nameShouldBeVisibleInDocumentAll(const HTMLElement& element)
|
| // The document.all collection returns only certain types of elements by name,
|
| // although it returns any type of element by id.
|
| return element.hasTagName(aTag)
|
| - || element.hasTagName(appletTag)
|
| || element.hasTagName(areaTag)
|
| || element.hasTagName(embedTag)
|
| || element.hasTagName(formTag)
|
|
|