Skip to content

Conversation

@SebastianZ
Copy link
Contributor

This changes the interpolation of stripes() values to look at each pair of thicknesses instead of disallowing mixing values completely.

This fixes #8163.

Sebastian


2. Neither image uses a combination of <<length>>, <<percentage>>, and <<flex>> stripes.
2. Each pair of interpolated thicknesses must be of the same type,
i.e. both must either be of type <<length>, <<percentage>>, or <<flex>>.
Copy link
Contributor

@Loirooriol Loirooriol Mar 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing > in <<length>.

And the grammar uses <length-percentage> | <flex>, so it should probably be

Suggested change
i.e. both must either be of type <<length>, <<percentage>>, or <<flex>>.
i.e. both must either be of type <<length-percentage>> or <<flex>>.

(which implies that lengths and percentages can be mixed).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed. And as noted, I'll open a new issue to discuss mixing all values.

@SebastianZ SebastianZ force-pushed the css-images-4-stripes-interpolation branch from bff8263 to c34dc21 Compare March 19, 2023 23:09
@SebastianZ SebastianZ requested a review from Loirooriol March 19, 2023 23:12
@SebastianZ SebastianZ merged commit ccdce56 into w3c:main Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants