imba / imba/imba

unitless size doesn't work size:3

Open
#762 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6.5k
Forks
183
Avg merge
4h 10m
Merged PRs (30d)
3

Description

### Description

`<[s:1]>` should be equivalent to `<[s:0.25rem]>`. But it compiles to `width: 1;height:1` which doesn't work for now

### Reproduction

https://scrimba.com/scrim/cG8V82Ty

### System Environment

```text
*
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked Scrimba reproduction and trace how `` is compiled, comparing its generated `width: 1;height:1` with the expected `0.25rem` behavior. Done when unitless size values compile equivalently to the rem-based form and the reproduction shows the correct sizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.