[css-device-adapt] 1px vs auto for unknown values for width and height
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 says for
https://drafts.csswg.org/css-device-adapt/#width-and-height-properties
<meta name="viewport" content="width=unknwon_keyword">
that it should treat the value as 1px.
But it seems that both Blink and WebKit seems to treat it as device size (aka auto).
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 CSS Device Adaptation specification's width-and-height properties section and compare its unknown-value rule with Blink's html_meta_element.cc and WebKit's ViewportArguments.cpp, as linked in the issue. Determine whether the specification or the implementations need correction, then document the resolved treatment for an unknown width or height value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100