title: CSS: What does "input[type="search"]::-webkit-search-decoration" do?
body: <p>I wonder what the the part <code>::-webkit-search-decoration</code> do in the CSS selector for <code>input[type="search"]::-webkit-search-decoration</code>?</p>
  
  <p>And why is this causing en DOM Exception error?</p>
  
  <pre><code>function is(selector, element) {
          var div = document.createElement("div"),
          matchesSelector = div.webkitMatchesSelector;
          return typeof selector == "string" ? matchesSelector.call(element, selector) : selector === element;
   }
   is('input[type="search"]::-webkit-search-decoration', document.body);
  </code></pre>