Enforce clearing renderers' paint invalidation state

The ASSERT checks that no flags cleared by clearPaintInvalidationState()
is still set up after calling repaint-after-compositing-update.

The ASSERT is skipped for SVG subtree as we have an optimization that
skips them. We could reproduce the exact condition but it seems not
very useful to do so.

The change caught several bugs (yay!):
- one in shouldCheckForPaintInvalidationAfterLayout()
that made the ASSERT trip on fast/repaint/table-row.html.
- one where setShouldDoFullPaintInvalidationAfterLayout didn't
mark the containing block chain for invalidation.

BUG=385169

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move NodeListsNodeData class out of NodeRareData.h

Move NodeListsNodeData class out of NodeRareData.h and into its own file as
it contains quite a bit of code. It may also help in cases where we need
NodeListsNodeData API but cannot include NodeRareData.h (because of circular
dependency).

R=esprehn@chromium.org, adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Always report access control failure if accessing unsupported URL.

For attempted cross-origin requests to unsupported CORS URLs, extend the
error reporting to also apply to non-simple requests that would require
a preflight. It is also bound to fail.

R=abarth@chromium.org,tyoshino@chromium.org
BUG=389751

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixes for re-enabling more MSVC level 4 warnings: Source/core/inspector/ edition

This contains fixes for the following sorts of issues:
* Possibly-uninitialized local variable
* Assignment inside conditional

BUG=81439
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Color values should be case insensitive while suggestions should be case aware

This CL makes following changes:

* Color swatch is not shown for capitalized CSS property names. 
  As the CSS property names in caps are allowed and applied by the browser,
  added support for showing color swatch for the color values ignoring the case.

* Prompt Suggestions should be case-aware to the user input
  Added support for showing the suggestions in CSS value/name prompts honoring the user entered case.
  
BUG=392052

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Timeline] do not show EventDispatch records with no children

The original instrumentation filters these events in InspectorTimelineAgent.cpp
In the offline discussion we decided that tracing based implementation should
report all the events and filter such empty records on frontend.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Drop findAttribute*ByName() API from Element

Drop findAttribute*ByName() API from Element and use the AttributeCollection
API instead. This makes it more likely for callers to reuse to
AttributeCollection and thus avoid unnecessary and implicit
ElementData::isUnique() checks. This also avoid API duplication between Element
and AttributeCollection.

R=esprehn@chromium.org, adamk@chromium.org

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

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