Skip to content

Conversation

@jyc
Copy link
Contributor

@jyc jyc commented Jul 19, 2017

Clarify that the syntax field is used during computed-value time,
write in the section about calculation of computed values that
declarations can be found invalid at computed-value time, and update the
example which previously indicated syntax-checking at parse time.

Per Seattle resolution, as expressed in the following comments:

The original issue (should a property fail at parse-time if a typed
custom property is used in a wrong way, per the property's grammar) is,
I think, a no. I believe this falls out of our decision at the Seattle
f2f (#354) that registering a custom property shouldn't require an
immediate global re-parse. You can do wrong things to/with a typed
custom property; it'll just cause a failure at computed-value time, like
an untyped custom property with an incompatible value does.

Further clarification: per Seattle resolution, when using a typed
property in a stylesheet, setting to an invalid value doesn't trigger
fallback ...

…ntax-checked at computed-value time, not parse time.

Clarify that the `syntax` field is used during computed-value time,
write in the section about calculation of computed values that
declarations can be found invalid at computed-value time, and update the
example which previously indicated syntax-checking at parse time.

Per Seattle resolution, as expressed in the following comments:

> The original issue (should a property fail at parse-time if a typed
> custom property is used in a wrong way, per the property's grammar) is,
> I think, a no. I believe this falls out of our decision at the Seattle
> f2f (w3c#354) that registering a custom property shouldn't require an
> immediate global re-parse. You can do wrong things to/with a typed
> custom property; it'll just cause a failure at computed-value time, like
> an untyped custom property with an incompatible value does.
>
> - w3c#321 (comment)

> Further clarification: per Seattle resolution, when using a typed
> property in a stylesheet, setting to an invalid value doesn't trigger
> fallback ...
>
> - w3c#354 (comment)
@dholbert
Copy link
Member

@tabatkins , perhaps you could review this pull request (or suggest another Properties & Values spec-editor to review it)?

@andruud
Copy link
Member

andruud commented Jul 4, 2018

@tabatkins @jyc I think this is resolved by 8dfc2d9 , close?

@tabatkins
Copy link
Member

Yup, thanks!

@tabatkins tabatkins closed this Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants