UA style user-select:none on button etc
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 3.2k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 38
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with HTML's rendering section and the CSS UI 4 user-select definition. Use the linked live DOM viewer to compare Gecko, Chromium, and WebKit behavior for button-like input variants. Done means the missing variants are investigated and the HTML rendering guidance is updated if the evidence supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100