in a contenteditable div, node which include draggable attribute can't be selected
Reported by
gongke...@gmail.com,
Oct 16 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Steps to reproduce the problem:
1, Create a contenteditable element like:
<div contenteditable=true>
<p>Don't include the draggable attribute <span contenteditable="false">@usr1</span> of dinosaurs.
</p>
<p>Include draggable attribute<span contenteditable="false" draggable="true">@user1</span> can't selected
</p>
</div>
2,select text
What is the expected behavior?
in a contenteditable div, node which include draggable attribute can be selected
What went wrong?
in a contenteditable div, node which include draggable attribute can't be selected
Did this work before? N/A
Does this work in other browsers? No
Chrome version: 61.0.3163.100 Channel: stable
OS Version: OS X 10.11.6
Flash Version:
,
Oct 17 2017
Mark WontFix since Blink add user-select:none for draggrable attribute. Sample page: http://jsbin.com/bajiluqato/edit?html,css,js,output HTMLElement::CollectStyleForPresentationAttribute(...) { ... } else if (name == draggableAttr) { UseCounter::Count(GetDocument(), WebFeature::kDraggableAttribute); if (DeprecatedEqualIgnoringCase(value, "true")) { AddPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUserDrag, CSSValueElement); AddPropertyToPresentationAttributeStyle(style, CSSPropertyUserSelect, CSSValueNone); ... |
||
►
Sign in to add a comment |
||
Comment 1 by ligim...@chromium.org
, Oct 16 2017