title: javascript style.textDecoration contains an unexpected rgb value?
body: <p>Why does style.textDecoration contain an rgb value?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>style = window.getComputedStyle(document.getElementById('gettextDecorationfrom'));
  weight = style.textDecoration;
  document.getElementById("results").innerText = style.textDecoration;</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.myclass {
  text-decoration:initial; 
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="gettextDecorationfrom" class="myclass"&gt;
  Test
  &lt;/div&gt;
  &lt;hr&gt;
  Result: &lt;div id="results"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I was expecting &quot;initial&quot; to be the result from this but was not expecting an rgb value to show up.</p>
  <p>If underline is set the rgb value is also still there but just with 'underline' added, I don't understand why rgb is there in the first place?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>style = window.getComputedStyle(document.getElementById('gettextDecorationfrom'));
  weight = style.textDecoration;
  document.getElementById("results").innerText = style.textDecoration;</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.myclass {
  text-decoration:underline; 
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="gettextDecorationfrom" class="myclass"&gt;
  Test
  &lt;/div&gt;
  &lt;hr&gt;
  Result: &lt;div id="results"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  
  I was expecting &quot;underline&quot; to be the result from this but was not expecting an rgb value as well to show up.</p>
  <p>Can I remove the rgb value from text-decoration no matter what the value is?</p>