Re: [csswg-drafts] [css-images-4] Computed value of stripes() (#8140)

Percentages in `width` compute as-is, not to a length. In this [testcase](https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22width%3A%20400px%3B%20border%3A%20solid%20cyan%22%3E%0A%20%20%3Cdiv%20style%3D%22width%3A%2050%25%3B%20border%3A%20solid%20orange%22%3E%0A%20%20%20%20%3Cdiv%20style%3D%22width%3A%20inherit%3B%20border%3A%20solid%20magenta%22%3E%0A%20%20%20%20%20%20Lorem%20ipsum), `width: inherit` sees `50%` instead of the resolved width.

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


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

Received on Monday, 5 December 2022 22:40:34 UTC