You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rework our class structure and naming to match the official specs #613
Actually, I think there are some misnomers. E.g. the current Rule\Rule class should be a Declaration or CssDeclaration in some namespace (ref). And the Rule and Property namespaces seem to be transposed from their current official definitions: a 'rule' is an enclosing block; a 'property' is a single value.
Activity
JakeQZ commentedon Jun 23, 2024
I'm not so sure.
The referenced documents are not an object model, but a syntax.
Current class hierarchy seems to fit. At least for me. But, yes, please review.
JakeQZ commentedon Jun 26, 2024
Actually, I think there are some misnomers. E.g. the current
Rule\Ruleclass should be aDeclarationorCssDeclarationin some namespace (ref). And theRuleandPropertynamespaces seem to be transposed from their current official definitions: a 'rule' is an enclosing block; a 'property' is a single value.