When these pseudo classes are changed, we should invalidate distribution.
Created attachment 174582 [details] Patch
Comment on attachment 174582 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174582&action=review > Source/WebCore/html/HTMLFormControlElement.cpp:154 > + invalidateParentDistributionIfNecessary(this, SelectRuleFeatureSet::RuleFeatureDisabled | SelectRuleFeatureSet::RuleFeatureEnabled); Wait... how can it be both enabled and disabled?
(In reply to comment #2) > (From update of attachment 174582 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=174582&action=review > > > Source/WebCore/html/HTMLFormControlElement.cpp:154 > > + invalidateParentDistributionIfNecessary(this, SelectRuleFeatureSet::RuleFeatureDisabled | SelectRuleFeatureSet::RuleFeatureEnabled); > > Wait... how can it be both enabled and disabled? This is just a mask. When either :disabled or :enabled is collected, we invalidate distribution.
Comment on attachment 174582 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174582&action=review >>> Source/WebCore/html/HTMLFormControlElement.cpp:154 >>> + invalidateParentDistributionIfNecessary(this, SelectRuleFeatureSet::RuleFeatureDisabled | SelectRuleFeatureSet::RuleFeatureEnabled); >> >> Wait... how can it be both enabled and disabled? > > This is just a mask. When either :disabled or :enabled is collected, we invalidate distribution. So it cannot be both 'enabled' and 'disabled'.
Comment on attachment 174582 [details] Patch Clearing flags on attachment: 174582 Committed r134883: <http://trac.webkit.org/changeset/134883>
All reviewed patches have been landed. Closing bug.