Re: [csswg-drafts] [css-conditional] testing support of properties and values with partial implementations (#3559)

> My thinking was: the CSS engine should-would eventually know anyway if any property is "valid" within a specific context as it has to render it at some point and decide if it knows what it's about.

Not really. Whether a property has an effect in a specific context depends on whether we wrote code in that module to handle it. There's judgement of all properties, it's just that at the point in the layout algorithm where you need to check a property, you check it. For example in flex layout, support for gaps looks like including the value of the gap property in various equations scattered throughout the flex layout code. As dbaron notes, this is not something that the engine has a database of and can query.

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


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

Received on Thursday, 15 January 2026 17:40:18 UTC