| Index: Source/core/html/WindowNameCollection.cpp
|
| diff --git a/Source/core/html/WindowNameCollection.cpp b/Source/core/html/WindowNameCollection.cpp
|
| index a229b05f15907189cd1258f35aef8c1e01dcdae4..4adf390cc104fe36119854f2f477604dc2be23d3 100644
|
| --- a/Source/core/html/WindowNameCollection.cpp
|
| +++ b/Source/core/html/WindowNameCollection.cpp
|
| @@ -16,11 +16,10 @@ WindowNameCollection::WindowNameCollection(ContainerNode& document, const Atomic
|
|
|
| bool WindowNameCollection::elementMatches(const Element& element) const
|
| {
|
| - // Match only images, forms, applets, embeds and objects by name,
|
| + // Match only images, forms, embeds and objects by name,
|
| // but anything by id
|
| if (isHTMLImageElement(element)
|
| || isHTMLFormElement(element)
|
| - || isHTMLAppletElement(element)
|
| || isHTMLEmbedElement(element)
|
| || isHTMLObjectElement(element)) {
|
| if (element.getNameAttribute() == m_name)
|
|
|