Use is<>() / downcast<>() for CSSRule subclasses
https://bugs.webkit.org/show_bug.cgi?id=137364

Reviewed by Benjamin Poulain.

Use is<>() / downcast<>() functions for CSSRule subclasses.

No new tests, no behavior change.

* css/CSSFontFaceRule.h:
* css/CSSImportRule.h:
* css/CSSMediaRule.h:
* css/CSSRule.h:
* css/CSSStyleRule.h:
* css/CSSSupportsRule.h:
* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):
* css/WebKitCSSKeyframesRule.h:
* css/WebKitCSSRegionRule.h:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::asCSSStyleRule):
(WebCore::InspectorCSSAgent::collectStyleSheets):
(WebCore::InspectorCSSAgent::buildArrayForRuleList):
* inspector/InspectorStyleSheet.cpp:
(WebCore::asCSSRuleList):
(WebCore::fillMediaListChain):
(WebCore::InspectorStyleSheet::addRule):
(WebCore::InspectorStyleSheet::collectFlatRules):
* page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeCSSStyleSheet):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Cannot add a new CSS Rule to elements with 3 or more class names
https://bugs.webkit.org/show_bug.cgi?id=137375

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-10-02
Reviewed by Timothy Hatcher.

Correctly merge all class names with dots instead of just the first two.

* UserInterface/Models/DOMNode.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add back debugging/testing code that I accidentally removed.

* wtf/text/StringConcatenate.h:
(WTF::StringTypeAdapter<String>::writeTo):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174255 268f45cc-cd09-0410-ab3c-d52691b4dbfc