Index: third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
index 3a1b25d02d201599303ee361398ce1562107aaaa..f159f0982e25052845d653447788655faabf1452 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
@@ -216,6 +216,7 @@ void HTMLOptionElement::parseAttribute(const QualifiedName& name, const AtomicSt |
} else if (name == selectedAttr) { |
if (oldValue.isNull() != value.isNull() && !m_isDirty) |
setSelected(!value.isNull()); |
+ pseudoStateChanged(CSSSelector::PseudoDefault); |
} else if (name == labelAttr) { |
updateLabel(); |
} else { |