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

Unified Diff: Source/core/layout/LayoutTextControl.cpp

Issue 1280423002: CSS4: Implement :placeholder-shown pseudo class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 4 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/layout/LayoutTextControl.cpp
diff --git a/Source/core/layout/LayoutTextControl.cpp b/Source/core/layout/LayoutTextControl.cpp
index 9987168de4b2926c359574e69014eb2cc0f04d05..bc92310929e8c573faf4f9750d9493c99fb387bf 100644
--- a/Source/core/layout/LayoutTextControl.cpp
+++ b/Source/core/layout/LayoutTextControl.cpp
@@ -77,7 +77,7 @@ void LayoutTextControl::styleDidChange(StyleDifference diff, const ComputedStyle
innerEditorLayoutObject->setStyle(createInnerEditorStyle(styleRef()));
innerEditor->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Control));
}
- textFormControlElement()->updatePlaceholderVisibility(false);
+ textFormControlElement()->updatePlaceholderVisibility();
}
static inline void updateUserModifyProperty(HTMLTextFormControlElement& node, ComputedStyle& style)

Powered by Google App Engine
This is Rietveld 408576698