Re: [csswg-drafts] [css-values] Use of 100vw is causing pointless horizontal scrollbars on some websites (#6026)

@yuito-git In my **demo 2**, if you just replace `--page-width: 100cqw;` with `--page-width: 100%;`, the value of `--page-width` will be `0px` because that custom property is registered as a `<length>`, so trying to assign a percentage results in the declaration being ignored by the browser. You can change the custom property’s type to `<length-percentage>`.

-- 
GitHub Notification of comment by simevidas
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6026#issuecomment-1754062412 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 9 October 2023 23:38:14 UTC