immersive-web / immersive-web/model-element

Default width/height

Open
#51 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
86
Forks
12
Avg merge
7h 12m
Merged PRs (30d)
1

Description

When the model is missing width/height, and the resource itself doesn't provide them, it would be nice to have it fall back to something sensible. Seems to be controlled by https://html.spec.whatwg.org/#embedded-content-rendering-rules

Related to #27

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 the issue, related #27, and the linked WHATWG embedded-content rendering rules. Inspect how the element handles missing model and resource dimensions; done means it uses a sensible fallback consistent with the referenced specification when neither source provides width or height.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.