[Webkit-unassigned] [Bug 60219] Unable to Paste After Deleting Text from Input due to -webkit-user-select
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 4 16:06:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=60219
--- Comment #5 from Darin Adler <darin at apple.com> 2011-05-04 16:06:21 PST ---
(From update of attachment 92333)
View in context: https://bugs.webkit.org/attachment.cgi?id=92333&action=review
> Source/WebCore/ChangeLog:13
> + When deleting all the text inside the input a placeholder <br>
> + element was inserted for the selection point. However, when
> + pasting, the test run computes the -webkit-user-select for the
> + <br> element, instead of what would be the text inside the
> + <input> and incorrectly disallows selection and prevented
> + the paste.
The real problem here seems to me either that the style rule should not apply to the <br> inside the input element, or we should not use a <br> inside the input element. We don’t want a style rule to have any effect on the elements inside the shadow tree.
Adding a special case to the replace command doesn’t necessarily seem like the right fix to me. It might be OK as a workaround, but it seems a little random.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list