Avoid doing Inherit recalc on ShadowRoots when they resetStyleInheritance

We don't need to recalc the descendants of ShadowRoot when an ancestor
has an inheritance change if the ShadowRoot has resetStyleInheritance set.

BUG=329720

Review URL: https://codereview.chromium.org/114803006

git-svn-id: svn://svn.chromium.org/blink/trunk@164137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cut out platform dependent KeyboardEvent filtering to EditingBehavior.

BUG=N/A

Review URL: https://codereview.chromium.org/108653016

git-svn-id: svn://svn.chromium.org/blink/trunk@164138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix some style in CSSParser

No functional change

R=timloh@chromium.org

Review URL: https://codereview.chromium.org/106903018

git-svn-id: svn://svn.chromium.org/blink/trunk@164139 bbb929c8-8fbe-4397-9dbb-9b2b20218538