We currently have a bunch of repeated code in StyleImportRule and HTMLLinkElement.
Created attachment 138432 [details] patch
Comment on attachment 138432 [details] patch Great. r=me
http://trac.webkit.org/changeset/115016