TLDR;
Does Google care how code is formatted?
Background
I work in an agency. One developer is trying to convince the other to put line-breaks between rules in his css file:
.class {
width:100%;
height:auto;
}
as opposed to inline: .class { width:100%; height:auto; }
The argument is that it reduces the file-size, to which the counter-argument is "we're minifying the css" afterward.
The last argument is "Google cares about how code is formatted" and presented the following link https://google.github.io/styleguide/htmlcssguide.xml
We pointed out that one of the last points at the bottom of the page is that css rules must have line breaks in them:
Always put a blank line (two line breaks) between rules.
html {
background: #fff;
}
body {
margin: auto;
width: 50%;
}
Even with his own argument blown out of the water he is still adamant that Google cares about css, html etc being minified and inline.
Which leads to my question (looking for an authoritative answer - links to official Google website required) - Does Google care how code is formatted?
My personal answer is "No", otherwise Google wouldn't be telling us minifying our code to reduce load time on mobile devices etc.
Transfer-encoding: gzip
) version is not larger, especially if the structuring is consistent (sach as always two newlines between rules)