I have most of my web-app set as unselectable. Using div as an example:
div {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
The amazing thing is that I can still select most of the page by starting the select along the left edge-- the DOM inspector tells me I'm selecting outside of any DOM element itself, and am selecting from inside the top level HTML element. I tried being silly and setting it as:
html {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
...which yielded no effect. I'm being a perfectionist here, but at this point I'm just curious-- how can you disable this entirely? The body is already 100% width. I don't understand why I can click outside it.
Also, this only happens in Firefox.