[Feature request] support vw&vh units
Open
Nobody has claimed this yet.
Algorithm
Feature Request
- Dominant language
- C++
- Stars
- 18.9k
- Forks
- 1.6k
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Now yoga only support auto percent and point units,
Can add support for vw and vh units ?
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 by tracing Yoga's existing handling of auto, percent, and point units and identify how viewport dimensions would be supplied for vw and vh. Define the required API behavior and tests for resolving both units, then verify that existing unit handling remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100