[css-values] Define that loading a document as a reference should restrict its internal references
Open
Nobody has claimed this yet.
css-values-5
topic: urls
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
Loading an SVG as an image (via <img>, 'background-image', etc) restricts it from talking to the network at all; it can only refer to its own internal elements.
- The restrictions should be more explicitly stated for CSS images.
- The same restrictions should be applied to SVGs loaded for element references (such as 'mask-image' referring to a
<mask>element in an external SVG).
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
No file, test, or entry point is named. Start by locating the CSS Values definitions for CSS images and SVG element references, then compare how network and internal-reference restrictions are stated; done when both CSS images and externally loaded SVG element references have explicit matching restrictions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100