element-shared should be replaced with element-scoped
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css
- Domain
- documentation
Research direction
The page source is files/en-us/web/css/reference/values/random/index.md, and the examples use element-shared where the reporter believes the keyword is element-scoped. Check the current CSS Values spec for the random() keyword, then search the file for element-shared and correct each occurrence. Done when the examples and prose match the spec and the page's own text describes element-scoped consistently.
Written by the indexing model from the issue text.
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/random
What specific section or headline is this issue about?
element-scoped instead keeps width and height linked within each element, but gives each element its own value, so .a, .b, and .c become squares of different sizes:
What information was incorrect, unhelpful, or incomplete?
I could not find element-shared in the spec, I think element-scoped is the correct syntax
.a,
.b,
.c {
width: random(--custom-name element-shared, 10px, 200px);
height: random(--custom-name element-shared, 10px, 200px);
}
What did you expect to see?
.a,
.b,
.c {
width: random(--custom-name element-scoped, 10px, 200px);
height: random(--custom-name element-scoped, 10px, 200px);
}
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/css/reference/values/random - MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/random
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/reference/values/random/index.md
- Last commit: https://github.com/mdn/content/commit/5cea7df435db1905b06d693b0192ef1e2166d6a7
- Document last modified: 2026-11-12T18:55:53.000Z
- Dominant language
- Markdown
- Stars
- 11.1k
- Forks
- 23.3k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 165
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from mdn/content
-
Intl spec updatesOpenContent:JS goal: up-to-date needs BCD update
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
CSS Custom Highlight API: mention StaticRange for highlights that outlive DOM changesPossibly taken @abdul-karim-mia claimed this 1 day ago. OpenContent:WebAPI help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
ARIA page template doesn't document attribute page sectionsPossibly taken A pull request linked to this issue is open or already merged. OpenContent:Meta needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
WebGL texImage2D srcData: Clarify null is allowedPossibly taken @abdul-karim-mia claimed this 2 days ago. Openarea: WebGL Content:WebAPI
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Add new `runtime.MessageSender` `windowId propertyPossibly taken @xeenon claimed this 3 days ago. OpenContent:WebExt needs triage
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
BehiSecc/awesome-claude-skills#1354 ·
Maintainers usually reply within 7 days
-
customer report feature-request-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Codeinwp/optimole-wp#1239 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
agents nolte-linux security skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nolte/claude-shared#732 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 62/100
modelscope/ms-cookbook#35 ·
Maintainers usually reply within 1 day