Since rules in scoped styles could be treated as scoped selector rules, we don't need to full style recalc.

So updated in the following way:
- register with scoping node before invoking DocumentStyleSheets::updateActiveStyleSheets.
- move needsStyleRecalc logic for scoped styles from HTMLStyleElement to StyleInvalidationAnalysis.
- make StyleInvalidationAnalysis support scoped styles.

BUG=236063

Review URL: https://chromiumcodereview.appspot.com/14623002

git-svn-id: svn://svn.chromium.org/blink/trunk@149950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
7 files changed