backout bug 1134280 for fixing yandex search "Read more" link

This commit is contained in:
2019-04-18 11:55:49 +08:00
parent 81d2deb5ab
commit 980f33daef
249 changed files with 1877 additions and 1848 deletions
+1 -1
View File
@@ -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);