whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.1k stars 2.66k forks source link

UA style user-select:none on button etc #1027

Open zcorpan opened 8 years ago

zcorpan commented 8 years ago

The following additions are made to the UA stylesheet for HTML:

button, meter, progress, select { user-select: none; }

the list above is incomplete, and needs to include at least the various button-like variants of input.

https://drafts.csswg.org/css-ui-4/#propdef-user-select

Should investigate what implementations do and maybe add something to HTML's rendering section.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4042 - none in Gecko, text in Chromium and WebKit.

cc @frivoal

xfq commented 6 years ago

See also #3191