/**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE The complete set of authors may be found at
http://polymer.github.io/AUTHORS The complete set of contributors may be found
at http://polymer.github.io/CONTRIBUTORS Code distributed by Google as part of
the polymer project is also subject to an additional IP rights grant found at
http://polymer.github.io/PATENTS
*/
window.sameCSS=function(e,t){var n,r=document.createElement("div");r.style.cssText=t,document.body.appendChild(r);for(var d=window.getComputedStyle(e),o=t.split(/\s/),s=window.getComputedStyle(r),i=0;i<o.length;i++)if(":"==o[i].substr(-1,1)&&d[n=o[i].substr(0,o[i].length-1)]&&d[n]!==s[n])throw new Error("`"+n+"` is different: `"+d[n]+"` != `"+s[n]+"`");return!0};