Add test to avoid crash/assert when ASSERT(layoutState->m_renderer == this) will be activated again in RenderBlock::offsetFromLogicalTopOfFirstPage()

The assert was being hit in the WebKit code for a test created with the fuzzer.
More details are available at https://bugs.webkit.org/show_bug.cgi?id=118587

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154411 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Minor cleanups to includes and fwd decls in core/css/resolver

Remove some unneeded includes/fwd decls in core/css/resolver, and add
some needed ones that were transitively included. IWYU suggests
adding a heap more includes, but since we probably won't have any
automated IWYU checks any time soon these will probably just end up
as unused includes again.

BUG=242216

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

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