Closed
Bug 1139738
Opened 10 years ago
Closed 9 years ago
Text with "-moz-user-select: text" is selected by a single tap
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
INVALID
People
(Reporter: TYLin, Unassigned)
Details
(Keywords: testcase)
Steps to reproduce:
1. Open http://jsfiddle.net/sg18v6d5/ which has CSS "* {-moz-user-select: none;}"
2. Single tap on the blank area of the "Result" box in JSFiddle.
Actual results:
"123" (-moz-user-select: text) is selected.
Expected result:
No text is selected.
Comment 1•10 years ago
|
||
It's weird the bug occurs with "html {-moz-user-select: none;}",
but not with "body {-moz-user-select: none;}"
Comment 2•9 years ago
|
||
This actually seems to be working as expected, but jsfiddle may make it difficult to tell. That's because the "output" area is actually an iframe, and the html/body tags inside of it don't take up 100% of its height by default. As such, you can easily end up clicking on the iframe tag while thinking you're actually clicking on the html/body instead. You can still set the html tag to height:100% and -moz-user-select:none in order to cover up the iframe entirely and disable the click-selection.
As such, I'm resolving this as INVALID, as it's not really a bug as far as I can tell.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•