code: function CssResource(domSheet) {
    this.name = domSheet.href;
    if (!this.name) {
      this.name = domSheet.ownerNode.id ?
              'css#' + domSheet.ownerNode.id :
              'inline-css';
    }
  
    this.inline = (domSheet.href == null);
    this.type = Resource.TYPE_CSS;
    this.element = domSheet;
  }
docs: A CssResource provides an implementation of Resource that works for both
  [style] elements and [link type='text/css'] elements in the [head].