Bug 115597
Summary: | Setting user-select: none disables pasting | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | enrica, eoconnor |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
We shouldn't propagate user-select value into the shadow DOM; or else we'll disallow editing operations inside an input/textarea element with user-select: none.
<div class="filter">
<input type="text" placeholder="foobar" />
</div>
<style>
.filter *{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
</style>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
https://code.google.com/p/chromium/issues/detail?id=105876