Index: Source/core/html/shadow/DateTimeFieldElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp |
index b2c28512b3fdaec674ec0a8e5175954340b1765e..0ec487fa1effb7a028f40b52208153c9eb15aa0d 100644 |
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp |
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp |
@@ -202,7 +202,7 @@ void DateTimeFieldElement::setDisabled() |
{ |
// Set HTML attribute disabled to change apperance. |
setBooleanAttribute(disabledAttr, true); |
- setNeedsStyleRecalc(SubtreeStyleChange); |
+ setNeedsStyleRecalc(StyleRecalcDueToDisabledPseudoClass, SubtreeStyleChange); |
} |
bool DateTimeFieldElement::supportsFocus() const |