Currently we do multiple passes.
Created attachment 279245 [details] patch
Comment on attachment 279245 [details] patch r=me, fine.
https://trac.webkit.org/r201075