- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Feb 2024 17:52:11 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-borders] accept "px" for pixel values in `border-image-slice` ``, and agreed to the following: * `RESOLVED: Not going to use the pixel unit for the pixel value in border-image-slice` <details><summary>The full IRC log of that discussion</summary> <Frances> Sebastian: Suggested to allow pixel unit for border-image-slice. For authors it is easier to express in pixel values.<br> <emilio> q+<br> <TabAtkins> q+<br> <Frances> Sebastian: Pixel unit is meant for CSS pixels, from an authors perspective it looks weird to have a unitless number for slicing. Would like to possibly introduce a pixel unit.<br> <astearns> ack emilio<br> <Frances> Emilio: Is there a use case for a non pixel length?<br> <Frances> Sebastian: Would just be pixels.<br> <kizu> q+<br> <astearns> ack TabAtkins<br> <Frances> Emilio: Either come up with a different unit and use calc() with it, or treat pixels as arbitrary lengths.<br> <Frances> Emilio: Slightly against<br> <emilio> emilio: it'd be unfortunate if e.g. the zoom property affected this<br> <Frances> Tab: Also slightly against. Pixels to allowed but not others, can put px at the end of a number but nothing else, could end up being confusing.<br> <astearns> ack kizu<br> <SebastianZ> q+<br> <Frances> Roman: For non pixels in any length is if using css gradient and slice using the same thing for the stop of the gradient.<br> <astearns> ack SebastianZ<br> <Frances> Roman: Might not be worth introducing a change.<br> <Frances> Sebastian: Are there other use cases other than border-image-slice? If other use cases for a new pixel unit, could introduce in border-image-slice, until then, we can resolve not to add the px unit.<br> <Frances> Alan: Let's resolve<br> <lea> As Roman said, I do think `border-image` is rotten at the core and needs a complete re-architecting, but no cycles to work on that rn. I would weakly support this change, but it doesn't make much of a difference<br> <Frances> PROPOSAL: Not going to use the pixel unit for the pixel value in border-image-slice<br> <Frances> RESOLVED: Not going to use the pixel unit for the pixel value in border-image-slice<br> <Frances> Alan: If we find other use cases for it, we could consider adding it to border-image-slice. Work on a replacement for border-images.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6739#issuecomment-1969530684 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 February 2024 17:52:12 UTC