Bug 115597

Summary: Setting user-select: none disables pasting
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: 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
Reported 2013-05-04 14:17:35 PDT
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
Tim Nguyen (:ntim)
Comment 2 2025-05-30 16:11:27 PDT
This looks fixed to me
Darin Adler
Comment 3 2025-06-02 14:51:52 PDT
Can we add a regression tests to guarantee it stays fixed?
Darin Adler
Comment 4 2025-06-02 14:52:01 PDT
Or is there a test already covering it?
Note You need to log in before you can comment on or make changes to this bug.