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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2461293002: Merge "Revert of Content in disabled input field should not be selectable. (patchset #4 id:80001 of… (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 493ffeeeb02f085a24b1ed1f3397c3664a73edb7..9047ea695c62fed8bd1903e49392d63febe25cb2 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -936,9 +936,6 @@ int Node::maxCharacterOffset() const {
// FIXME: Shouldn't these functions be in the editing code? Code that asks
// questions about HTML in the core DOM class is obviously misplaced.
bool Node::canStartSelection() const {
- if (isDisabledFormControl(this))
- return false;
-
if (hasEditableStyle(*this))
return true;

Powered by Google App Engine
This is Rietveld 408576698