Re: [w3ctag/design-reviews] CSS Properties and Values API Level 1 (#318)

@slightlyoff, sorry for the delay, I had to think about this a little.

> if and only if you and the WG are committed to a script-driven extensibility framework for new syntaxes

OK, let's explore this then. It would be some worklet operating at the css-syntax level, I suppose, with some "token API" allowing you to either produce some (TypedOM?) value from a sequence of tokens, or not. Also, the worklet must define interpolation behavior between values.

I'm still not sure if this is "going one level to deep", or not. (What's next? Tokenization API? Input Stream API? An API to extend the [Standard Model](https://en.wikipedia.org/wiki/Standard_Model)? We have to stop somewhere).

In any case, I'll draft a proposal and see what happens. :-)

> If that isn't going to be possible (e.g., invoking script at style resolution time is somehow never going to work), would love to know that now.

It's possible.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/318#issuecomment-486948932

Received on Friday, 26 April 2019 06:59:31 UTC