mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
backout bug 1134280 for fixing yandex search "Read more" link
This commit is contained in:
@@ -706,7 +706,7 @@ CountOptionsAndOptgroups(nsIFrame* aFrame)
|
||||
nsIFrame* child = e.get();
|
||||
nsIContent* content = child->GetContent();
|
||||
if (content) {
|
||||
if (content->IsHTMLElement(nsGkAtoms::option)) {
|
||||
if (content->IsHTML(nsGkAtoms::option)) {
|
||||
++count;
|
||||
} else {
|
||||
nsCOMPtr<nsIDOMHTMLOptGroupElement> optgroup = do_QueryInterface(content);
|
||||
|
||||
Reference in New Issue
Block a user