All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.css.rules.css.S4654.html Maven / Gradle / Ivy

There is a newer version: 10.17.0.28100
Show newest version

The W3C specifications define the valid CSS properties. Only the official and browser-specific properties should be used to get the expected impact in the final rendering.

This rule ignores:

  • $sass, @less, and var(--custom-property) variable syntaxes.
  • vendor-prefixed properties (e.g., -moz-align-self, -webkit-align-self).

Noncompliant Code Example

a {
  colour: blue; /* Noncompliant; colour is not part of the specifications */
}

Compliant Solution

a {
  color: blue;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy