Streaming live at 10am (PST)

W3C Validation Service: Error in "font-smoothing" and "tap-highlight-color" (Property doesn't exist)

#1

The W3C Validation (https://validator.w3.org/) show errors in the components.css of webflow.

font-smoothing and tap-highlight-color does not exist. Here ist my test:

https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.zukunftsblick.ch%2Fdesign%2Fcss%2Fstyle.css#l1c8188


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

#2

Both of these properties are non-standard. Some browsers support these non-standard properties.

If a browser does not support the property, it will ignore it. The use of non-standard properties is not a bug, it is a choice within the webfow CSS core, which was based on vendor support at some point.

Since the site you referenced is self-hosted, and the CSS is local to it, you can remove those properties from your CSS, if validation is your goal.

More information about these properties is available at https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth and https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-tap-highlight-color

I am moving this topic to the Feedback category. Thanks for sharing.

2 Likes
closed #3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.