Change class_as_selector-expected.html to be a ref-test
https://bugs.webkit.org/show_bug.cgi?id=113970

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Geoffrey Garen.

The test checks style can be applied to text with a CSS class.
The reference is done by applying a style attribute directly
on each element.

* css1/basic/class_as_selector-expected.html: Added.
* platform/efl/css1/basic/class_as_selector-expected.png: Removed.
* platform/efl/css1/basic/class_as_selector-expected.txt: Removed.
* platform/gtk/css1/basic/class_as_selector-expected.txt: Removed.
* platform/mac/css1/basic/class_as_selector-expected.png: Removed.
* platform/mac/css1/basic/class_as_selector-expected.txt: Removed.
* platform/qt/css1/basic/class_as_selector-expected.png: Removed.
* platform/qt/css1/basic/class_as_selector-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add support for getting page contents as string
https://bugs.webkit.org/show_bug.cgi?id=106752

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-04-04
Reviewed by Andreas Kling.

Modified ewk_view_page_contents_get() API to get page contents as string.
EWK_PAGE_CONTENTS_TYPE_STRING is added to Ewk_Page_Contents_Type.
Now, we can use both EWK_PAGE_CONTENTS_TYPE_MHTML and EWK_PAGE_CONTENTS_TYPE_STRING
for getting page contents.

* UIProcess/API/efl/ewk_view.cpp:
(Ewk_Page_Contents_Context):
(ewkViewPageContentsAsMHTMLCallback):
(ewkViewPageContentsAsStringCallback):
(ewk_view_page_contents_get):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(PageContentsAsMHTMLCallback):
(PageContentsAsStringCallback):
(TEST_F):

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