Re: [csswg-drafts] [css-borders][css-images] Properly address border image use cases, and kill `border-image` with fire (#9714)

Correct me if I'm wrong, but it sounds like your concept involves clipping the images in all cases to the shaped border area. I think that is the single biggest difference in concept between what your proposal does and what border-image does. 

I think another use case, which might need a separate syntax, would be distributing and rotating one or more small images around the border. I see this as a sort of alternative to dotted or dashed borders, but using images. So maybe `border-style: image-border(<image-source>, <image-size>, <space-length>)`. Maybe include something to say whether or not the images rotate, to be perpendicular or parallel (or not) to the center of the stroke. Maybe instead of <image-size>, it is just a length for the dimension not handled by border-width. Maybe there could even be some values to allow jitter in the placement of the image. 

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


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

Received on Saturday, 16 December 2023 04:54:02 UTC