Fix resolution MQ not reacting to page zoom changes

Resolution media queries weren't considered as viewport dependant, and therefore weren't reacting to pagezoom changes.
Since resolution/DPR are dependant on page zoom, these MQs should react to page zoom changes.
This fix adds these MQs to the list of viewport dependant MQs, and adds a test to prevent future regressions.

BUG=325230

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't allow calling Element::styleForRenderer() outside recalcStyle

I noticed this being called in a recent web animations patch inside
a loop and outside recalcStyle which would cause us to rule match
repeatedly since we can no longer style share outside recalcStyle. Worse
there's no bloom filter outside recalcStyle so this was going to the super
slow path.

Nothing should ever call this that's not part of the recalcStyle process,
so add ASSERTs to ensure that.

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

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