It is logically part of style resolve
Created attachment 218452 [details] patch
Comment on attachment 218452 [details] patch Attachment 218452 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/42368109
http://trac.webkit.org/changeset/160138