title: Chrome mistakenly applies locale to values inside CSSStyleSheet
body: <p>Is it a bug in Chrome <code>Version 65.0.3325.146</code> on macOS High Sierra that CSSStyleSheet applies locale to its values? The following html reproduces the error. It prints incorrect output for Russian system locale, where "," is used as decimal separator.</p>
  
  <pre><code>&lt;script&gt;
  var el = document.createElement('style');
  el.innerHTML = '.someclass {font-size: 3.5rem; line-height: 1.5rem;}';
  document.head.appendChild(el);
  console.log(el.sheet.cssRules[0].style.cssText);    
  &lt;/script&gt;
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>font-size: 3,5rem; line-height: 1,5rem;
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>font-size: 3.5rem; line-height: 1.5rem;
  </code></pre>
  
  <p>Screenshot with problem (checked in browser console):</p>
  
  <p><a href="https://i.stack.imgur.com/zvkPM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zvkPM.jpg" alt="Screenshot with problem"></a></p>