Re: [csswg-drafts] [css-images-4] Color stop fixup: do interpolation hints function as positioned color stops? (#3931)

> I'm not sure how you read it that way? Color hints and color stops are defined as separate syntax elements. They need to be, to prohibit starting or ending on a hint. In step 2 of the algorithm there is a fix-up for positions that specifically applies to both hints and stops. 

Browser run the fix-up step on the position of the stops without looking if they are hints or regular color stops.

> But step 3 currently only applies to stops.

I think that's because all hints should be normalized after step 2 so there's no need to call them out.

> I'm also curious about your comment (#3931 (comment)) about adjusting the hint to be within a reasonable range. There should probably be some informative text in the spec about that, even if we don't stipulate the exact bounds normatively.

Yes, the spec should call out that hints that are too close will be set back to 5%

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

Received on Friday, 24 May 2019 21:19:52 UTC