Currently CSSStyleSelector::applyProperties looks into parent rules to see if a rule is part of region style. The plan is to eliminate the rule parent pointer so this needs to be refactored.
Created attachment 129450 [details] patch
Comment on attachment 129450 [details] patch r=me.
http://trac.webkit.org/changeset/109227