mdn / mdn/browser-compat-data

css.properties.user-select - all does not work on iOS Safari

Open
#22,157 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:safari_ios data:css
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The compatibility data on the https://developer.mozilla.org/en-US/docs/Web/CSS/user-select page says that user-select: all is supported on iOS Safari since 16.0, but it actually doesn't seem to be supported (tested on 17.3). The demo on the page won't even load on iOS Safari, because it says the browser is not supported.

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

Compatibility data stating that user-select: all is not supported on iOS Safari.

Did you test this? If so, how?

A simple <span style="user-select:all;">foo bar</span> reveals that only one of the words can be selected by pressing down on the span (on iOS Safari), when expected would be that both words would be selected if the feature was working as intended.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

MDN metadata
MDN page report details
  • Query: css.properties.user-select
  • Report started: 2024-02-04T06:39:27.100Z

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the user-select compatibility entry associated with the MDN URL and reproduce the reported behavior on iOS Safari 17.3 using the supplied span example. If confirmed, update the compatibility data and verify that the rendered support table reports iOS Safari correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, ios
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.