whatwg / whatwg/html

Define SVG's image element

Open
#901 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

document conformance normative change
Dominant language
HTML
Stars
9.4k
Forks
3.2k
Avg merge
3d 9h
Merged PRs (30d)
38

Description

Apparently the idea is that SVG's image element is supposed to be nearly identical to HTML's img element. It seems best that we simply define it inline then since it can then more easily share all infrastructure for the img element. We should probably also allow it to be used where img can be used today (but maybe not with picture as that would make things more complicated, not less).
#900 is a first step towards allowing SVG's image element to be used where HTML's img element is used.

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 reading issue #900, which this issue identifies as a first step. Then trace the HTML Standard definitions and usage rules for image, img, and picture; done means defining SVG's image inline with the shared img infrastructure and deciding where image is accepted without adding picture complexity.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.