Skip to content

[css-borders-4] Move <image-1D> to border-image-source #9735

Open
@SebastianZ

Description

@SebastianZ

At the moment, <image-1D> and with it the stripes() function are part of border-color. Though that always felt a bit weird to me because author's are familiar with -color properties defining colors, not images.
So I mentioned at some point that we should rather add this functionality to border-image-source instead.

This probably requires being able to turn off the image slicing, see #9734.

If we define that slicing doesn't have any effect on <image-1D> values, one could simply define stripes like that:

border-image: stripes(red, yellow, green, blue);

Sebastian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions