Opened 18 years ago
Closed 13 years ago
#21 closed Bug (worksforme)
Opera doesn't recognize user-select:none
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | Alfonso Martínez de Lizarrondo |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | General | Version: | |
Keywords: | HasPatch Opera | Cc: | Hallvord R. M. Steen (Opera Software) |
Description
The text in the toolbar can be selected (and it might lead to those little errors when the focus gets lots and user is frustrated). I've tested and it doesn't recognize any CSS attribute with regards to user-select, but acts as IE with the property unselectable:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> </head> <body> <div style="user-select:none"> This text shouldn't be selectable. user-select:none </div> <div style="-moz-user-select:none"> This text shouldn't be selectable. -moz-user-select:none </div> <div style="-o-user-select:none"> This text shouldn't be selectable. -o-user-select:none </div> <div unselectable = 'on'> This text shouldn't be selectable. unselectable = 'on' </div> </body> </html>
So I've tested and copying the IE code seems to work. I'm attaching a patch.
I think that it should be reported to Opera so we can have a cleaner code, but for the moment we can use this workaround.
Attachments (1)
Change History (7)
Changed 18 years ago by
Attachment: | unselectable.patch added |
---|
comment:1 Changed 17 years ago by
Keywords: | HasPatch added |
---|
comment:2 Changed 17 years ago by
Owner: | set to Alfonso Martínez de Lizarrondo |
---|---|
Reporter: | changed from Alfonso to Alfonso Martínez de Lizarrondo |
Status: | new → assigned |
comment:3 Changed 16 years ago by
Cc: | Hallvord R. M. Steen (Opera Software) added |
---|
comment:4 Changed 16 years ago by
I'm implementing the unselectable solution to V3.
I've also request Opera to reconsider supporting it by CSS: https://bugs.opera.com/show_bug.cgi?id=248975
comment:5 Changed 15 years ago by
Keywords: | Opera added |
---|
comment:6 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
This is now ok (Opera 11).
proposed patch for fcktools_gecko