<content> should create HTMLContentElement object
https://bugs.webkit.org/show_bug.cgi?id=76439
Reviewed by Dimitri Glazkov.
Source/WebCore:
- Added HTMLContentElement.idl which has @select attribute.
- Added "content" element.
Both are behind ENABLE_SHADOW_DOM.
Tests: fast/dom/shadow/content-element-api.html
fast/dom/shadow/content-element-outside-shadow.html
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLTagNames.in:
* html/shadow/HTMLContentElement.cpp:
(WebCore::contentTagName):
(WebCore):
(WebCore::HTMLContentElement::create):
* html/shadow/HTMLContentElement.h:
(HTMLContentElement):
* html/shadow/HTMLContentElement.idl: Added.
LayoutTests:
Ensure that contnet elements are renderered not only inside the shadow tree
but also the outside that.
* fast/dom/shadow/content-element-api-expected.txt: Added.
* fast/dom/shadow/content-element-api.html: Added.
* fast/dom/shadow/content-element-outside-shadow-expected.txt: Added.
* fast/dom/shadow/content-element-outside-shadow.html: Added.
* platform/efl/test_expectations.txt:
* platform/gtk/test_expectations.txt:
* platform/mac/test_expectations.txt:
* platform/qt/test_expectations.txt:
* platform/win/Skipped:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105917
268f45cc-cd09-0410-ab3c-
d52691b4dbfc