Change WindowNameCollectin to include both SVG and HTML elements

This is a merge of http://http://trac.webkit.org/changeset/154441
by Rob Buis <rwlbuis@webkit.org>.

The assert is hit in Debug mode because the DocumentOrderedMap in
HTMLDocument::m_windowNamedItem includes matched SVG elements, but
the WindowNameCollection used to collect the elements does not. This
means the HTMLCollection stripped of SVG elements could end up
hitting the empty or single item assertion, which the testcase verifies.

To fix this, this patch changes WindowNameCollection to include both
SVG and HTML elements so it matches DocumentOrderedMap.

BUG=280406

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
remove unused include to NotificationCenter.h

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Layout Test inspector/styles/multiple-imports-edit-crash.html is flaky

BUG=280698
TBR=rjkroege@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix for CSS reference effects when the filter renderer is lazy attached (e.g., assigned via innerHTML).

BUG=272585
R=esprehn,krit

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Flaky LayoutTest: virtual/threaded/animations/animation-iteration-event-destroy-renderer.html

BUG=248938
TBR=shawnsingh@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a public Blink function to canonicalize CSS selectors and restrict their type.

This adds the ability for Blink embedders to check that a selector is
appropriate in the <content select> attribute or the planned
WebDocument::watchSelectors() API, which is currently impossible in
Javascript.

This also adds a C++ equivalent of writing a rule into a stylesheet
and then retrieving its selector from CSSStyleRule.selectorText, which
is also useful for the WebDocument::watchSelectors() API, which
reports results using the selectorText string.

BUG=172011

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

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