Skip to content

CSS Validator goes wrong #737

@MaximeCulea

Description

@MaximeCulea

Hi there 👋

Explanations

We wanted to use the following CSS attribute, but the CSS Validator API is not allowing it, resulting in not adding it to the CSS Stylesheet.
I am talking about the aspect-ratio property.
Also note that:

Steps to reproduce the behaviour:

  1. Add the aspect-ratio property on the customizer (additional CSS) or remote css.
  2. Even if the property is acceptable, it is wrapped out from the final CSS Stylesheet.

WordCamp

This is related to the WordCamp Genève 2022:

Screenshots

Some screenshots:

  • Distant CSS with the property:
    css-distant

  • Customizer CSS with the property:
    css-customizer

  • As a result, in frontend side, the property has been deleted:
    css-stylesheet

Many thanks for your help and input.

Metadata

Metadata

Assignees

Labels

[Component] JetpackCustomizations to Jetpack[Component] Themes & CustomizationCustom WC Themes, compatibility with core themes, and theme-adjacent customizations to sites[Type] Good First IssueStraightforward, self-contained, doesn't require deep knowledge of codebase

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions