jquery / jquery/api.jquery.com
:contains()'s page should have the "… is a jQuery extension" note
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 325
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
… like :has() has:
Because
:has()is a jQuery extension and not part of the CSS specification, queries using:has()cannot take advantage of the performance boost provided by the native DOMquerySelectorAll()method. For better performance in modern browsers, use$( "your-pure-css-selector" ).has( selector/DOMElement )instead.
https://api.jquery.com/contains-selector/
I attempted a pull request here:
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 at the :contains selector documentation page linked in the issue and compare its introductory note with the :has() page. Add the corresponding “jQuery extension” note, then verify that the published :contains() page displays the expected wording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jquery
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100