Google Page Speed told us, that we have rendering blocking CSS.
Now we try to solve this with CSS Critical Path activated.
We have created a Critical.css file
We have integated the same in our Theme.
All works fine, we try which styles are important and which CSS can load later.
BUT now the source code coming from CSS Critical Path in general adds a weird dot, (like a ".") to the code between media="all" and onload...:
link rel="preload" as="style" media="all" . onload="this.onload=null;this.rel='stylesheet'"href="http:
See here as well.
When running validator.w3.org it says
Error: Attribute . not allowed on element link at this point.
Warning: Attribute . is not serializable as XML 1.0.
So this funny dot (.) is there.
Does anyone of you experts have a clue why this is there and how we could get rid of it?
Any help is so appreciated.