Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Unified Diff: Source/core/html/HTMLSelectElement.h

Issue 189543012: Update <select> when any of its <option> children has "display: none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLSelectElement.h
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h
index 7c38c0dc1efa60883fdfd1f931b05d941cb8a4be..2c13076111756fd0623a3089829928eec5fbf94c 100644
--- a/Source/core/html/HTMLSelectElement.h
+++ b/Source/core/html/HTMLSelectElement.h
@@ -116,6 +116,7 @@ public:
void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, ExceptionState&);
+ void updateListOnRenderer();
protected:
HTMLSelectElement(Document&, HTMLFormElement*);
@@ -156,6 +157,7 @@ private:
virtual bool isOptionalFormControl() const OVERRIDE { return !isRequiredFormControl(); }
virtual bool isRequiredFormControl() const OVERRIDE;
+ virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE;
bool hasPlaceholderLabelOption() const;

Powered by Google App Engine
This is Rietveld 408576698