[css-device-adapt] Clarification about device-height and device-width
Open
Nobody has claimed this yet.
css-device-adapt-1
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
The specification doesn't make it clear if width and height can be mixed up.
https://drafts.csswg.org/css-device-adapt/#width-and-height-properties
<meta name="viewport" content="width=device-height">
<meta name="viewport" content="height=device-width">
if they are invalid, they should be treated as step 4.
Other keywords and unknown values translate to 1px
but if they are valid, what do they mean?
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 with the linked CSS Device Adaptation section on width and height properties and review the two swapped viewport examples in the issue. Determine how the specification should clarify these cases, then update the relevant specification text once their validity and meaning are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100