Bug 115597
| Summary: | Setting user-select: none disables pasting | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | darin, enrica, eoconnor, ntim |
| 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
Tim Nguyen (:ntim)
This looks fixed to me
Darin Adler
Can we add a regression tests to guarantee it stays fixed?
Darin Adler
Or is there a test already covering it?