title: Table's border-radius does not function as expected
body: <p>I want to add a border radius around the entire table. But the following code is not working in both the latest versions of Firefox and Google Chrome.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>table {
    border-spacing: 0;
    width: 600px;
    margin: 30px;
    border: 1px solid #CCCCCC;
    border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    -webkit-border-radius: 6px 6px 6px 6px;
    box-shadow: 0 1px 1px #CCCCCC;
  }
  
  table th:first-child {
    border-radius: 6px 0 0 0;
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
  }
  
  table th:last-child {
    border-radius: 0 6px 0 0;
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
  }
  
  table td:first-child,
  .bordered th:first-child {
    border-left: medium none;
  }
  
  table th {
    background-color: #DCE9F9;
    background-image: -moz-linear-gradient(center top, #F8F8F8, #ECECEC);
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#F8F8F8), to(#ECECEC), color-stop(.4, #F8F8F8));
    border-top: medium none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  
  table td,
  table th {
    border-left: 1px solid #CCCCCC;
    border-top: 1px solid #CCCCCC;
    padding: 10px;
    text-align: left;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table class="bordered"&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;&lt;label&gt;Labels&lt;/label&gt;&lt;/th&gt;
        &lt;th&gt;&lt;label&gt;Labels&lt;/label&gt;&lt;/th&gt;
        &lt;th&gt;&lt;label&gt;Labels&lt;/label&gt;&lt;/th&gt;
        &lt;th&gt;&lt;label&gt;Labels&lt;/label&gt;&lt;/th&gt;
        &lt;th&gt;&lt;label&gt;Labels&lt;/label&gt;&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;label&gt;Value&lt;/label&gt;&lt;/td&gt;
        &lt;td&gt;&lt;label&gt;Value&lt;/label&gt;&lt;/td&gt;
        &lt;td&gt;&lt;label&gt;Value&lt;/label&gt;&lt;/td&gt;
        &lt;td&gt;&lt;label&gt;Value&lt;/label&gt;&lt;/td&gt;
        &lt;td&gt;&lt;label&gt;Value&lt;/label&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  <p><a href="http://jsfiddle.net/XvdX9/521/" rel="noreferrer">JSFiddle</a></p>