mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
Revert "backout bug 1134280 for fixing yandex search "Read more" link"
This reverts commit 980f33daef.
This commit is contained in:
@@ -126,13 +126,12 @@ HTMLSelectListAccessible::CacheChildren()
|
||||
// a flat tree under the Select List.
|
||||
for (nsIContent* childContent = mContent->GetFirstChild(); childContent;
|
||||
childContent = childContent->GetNextSibling()) {
|
||||
if (!childContent->IsHTML()) {
|
||||
if (!childContent->IsHTMLElement()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
nsIAtom* tag = childContent->Tag();
|
||||
if (tag == nsGkAtoms::option ||
|
||||
tag == nsGkAtoms::optgroup) {
|
||||
if (childContent->IsAnyOfHTMLElements(nsGkAtoms::option,
|
||||
nsGkAtoms::optgroup)) {
|
||||
|
||||
// Get an accessible for option or optgroup and cache it.
|
||||
nsRefPtr<Accessible> accessible =
|
||||
|
||||
Reference in New Issue
Block a user