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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp

Issue 1719873002: Trigger options width update when option text changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/forms/select/option-relayout-modified-text-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
index fec711eb6ea20d6377546c6fd7cf5ed63f9bfbb1..4e2b2efaf6fab013b365737dfd86315b46fea64c 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
@@ -439,6 +439,7 @@ void HTMLSelectElement::childrenChanged(const ChildrenChange& change)
void HTMLSelectElement::optionElementChildrenChanged()
{
setNeedsValidityCheck();
+ setOptionsChangedOnLayoutObject();
tkent 2016/02/22 23:18:38 The |OptionsChanged| flag is referred only in Layo
rune 2016/02/23 00:41:42 HTMLFormControlElement::didRecalcStyle() which is
if (layoutObject()) {
if (AXObjectCache* cache = layoutObject()->document().existingAXObjectCache())
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/forms/select/option-relayout-modified-text-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698