Re: [csswg-drafts] [css-borders] accept "px" for pixel values in `border-image-slice` (#6739)

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>
&lt;Frances> Sebastian: Suggested to allow pixel unit for border-image-slice. For authors it is easier to express in pixel values.<br>
&lt;emilio> q+<br>
&lt;TabAtkins> q+<br>
&lt;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>
&lt;astearns> ack emilio<br>
&lt;Frances> Emilio: Is there a use case for a non pixel length?<br>
&lt;Frances> Sebastian: Would just be pixels.<br>
&lt;kizu> q+<br>
&lt;astearns> ack TabAtkins<br>
&lt;Frances> Emilio: Either come up with a different unit and use calc() with it, or treat pixels as arbitrary lengths.<br>
&lt;Frances> Emilio: Slightly against<br>
&lt;emilio> emilio: it'd be unfortunate if e.g. the zoom property affected this<br>
&lt;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>
&lt;astearns> ack kizu<br>
&lt;SebastianZ> q+<br>
&lt;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>
&lt;astearns> ack SebastianZ<br>
&lt;Frances> Roman: Might not be worth introducing a change.<br>
&lt;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>
&lt;Frances> Alan: Let's resolve<br>
&lt;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>
&lt;Frances> PROPOSAL: Not going to use the pixel unit for the pixel value in border-image-slice<br>
&lt;Frances> RESOLVED: Not going to use the pixel unit for the pixel value in border-image-slice<br>
&lt;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