| Index: sky/engine/core/dom/Node.cpp
|
| diff --git a/sky/engine/core/dom/Node.cpp b/sky/engine/core/dom/Node.cpp
|
| index 8f1a273f46f1d88f81ef0ffa61e0f808219ec52e..1eb16a6f5c45d5c5e3b001b93f61ea4cd1bf81e7 100644
|
| --- a/sky/engine/core/dom/Node.cpp
|
| +++ b/sky/engine/core/dom/Node.cpp
|
| @@ -819,13 +819,6 @@ bool Node::canStartSelection() const
|
| if (hasEditableStyle())
|
| return true;
|
|
|
| - if (renderer()) {
|
| - RenderStyle* style = renderer()->style();
|
| - // We allow selections to begin within an element that has -webkit-user-select: none set,
|
| - // but if the element is draggable then dragging should take priority over selection.
|
| - if (style->userDrag() == DRAG_ELEMENT && style->userSelect() == SELECT_NONE)
|
| - return false;
|
| - }
|
| return parentOrShadowHostNode() ? parentOrShadowHostNode()->canStartSelection() : true;
|
| }
|
|
|
|
|