Google: GoogleBot Can't Crawl CSS Custom Properties

Mar 1, 2018 • 8:24 am | comments (0) by twitter Google+ | Filed Under Google Search Engine Optimization
 

Google Cloaking

Eric Bidelman from Google posted a PSA, public service announcement, that since GoogleBot is based on Chrome 41, Google is unable to crawl CSS Custom Properties. Using CSS custom properties (variables) CSS variables are entities defined by CSS authors that contain specific values to be reused throughout a document. They are set using custom property notation (e.g. --main-color: black; ) and are accessed using the var() function (e.g., color: var(--main-color);

Eric said he ran into the issue himself when he was deploying a layout or design that relies on vars. He said make sure you are compiling CSS so your page renders properly.

Here is the tweet:

Here are the images showing the issues:

click for full size

click for full size

Forum discussion at Twitter.

Previous story: Google SEO Snippets: How Often Google Reindexes A Web Site
 
blog comments powered by Disqus