Move ElementShadow creation to ElementRareData
https://bugs.webkit.org/show_bug.cgi?id=108195

Reviewed by Dimitri Glazkov.

Move the creation of ElementShadow to ElementRareData
for better encapsulation, and get rid of ElementRareData::setShadow.

No new tests, just refactoring.

* dom/Element.cpp:
(WebCore::Element::~Element): Use clearShadow() instead of setShadow which is removed.
(WebCore::Element::shadow):
(WebCore::Element::ensureShadow): Use ElementRareData::ensureShadow().
* dom/ElementRareData.h:
(WebCore::ElementRareData::clearShadow): Added.
(WebCore::ElementRareData::ensureShadow): Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add back test expectations that got erroneously removed in r140981.

* platform/mac/TestExpectations:



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