Re: [csswg-drafts] [css-page] Spec seems confused about descriptors and properties (#5969)

> Those are all descriptors, even if they match the name and syntax of existing box properties.

Did I understand correctly if I'm rewording this with *any declaration in an at-rule is a descriptor*?

This is the definition of a descriptor in Syntax:

> Descriptors are similar to properties (and are declared with the same syntax) but are associated with a particular type of at-rule rather than with elements and boxes in the tree.

Am I still right if I say that a descriptor can be used in a rule's prelude? (eg. a media feature)

As indicated in the issue referenced above, it would have been usefull to be able to extract a list of descriptors that are allowed *in a rule's block* from the specs.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 3 February 2022 17:14:10 UTC