Skip to content

Conversation

@kannanwisen
Copy link

Description

This pull request adds a new key, "allElementsNoEffectIfDisplayNoneOrContents", to the properties.schema.json to more accurately describe the applicability of certain CSS properties.

The existing key "allElementsNoEffectIfDisplayNone" is insufficient for properties like float, which also have no effect on elements with display: contents.

This change allows for more precise documentation by providing a key that covers both none and contents.

Motivation

Additional details

This is achieved in three steps:

  1. Updating the schema to allow a new key.
  2. Adding the new key and its corresponding text definition.
  3. Updating the float property in properties.json to use this new, more accurate key.

Related issues and pull requests

@kannanwisen kannanwisen requested a review from a team as a code owner July 28, 2025 18:20
@kannanwisen kannanwisen requested review from pepelsbey and removed request for a team July 28, 2025 18:20
@pepelsbey
Copy link
Member

Thank you for the suggestion. Do you have any references to that change and examples of how it might be used or what use cases it improves?

@skyclouds2001 could you please have a look? Thank you.

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Sep 19, 2025
@pepelsbey pepelsbey added the needs info Needs more information to review or act on. label Sep 22, 2025
@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Sep 26, 2025
"allElementsExceptTableRowColumnGroupsTableRowsColumns",
"allElementsExceptTableRowGroupsRowsColumnGroupsAndColumns",
"allElementsNoEffectIfDisplayNone",
"allElementsNoEffectIfDisplayNoneOrContents",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find any reference about this key, so why add it?

@pepelsbey pepelsbey added needs info Needs more information to review or act on. and removed needs info Needs more information to review or act on. labels Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs info Needs more information to review or act on.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants