Move render ruby initialization logic from RenderElement::createFor() to *::createEle...
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Apr 2015 20:52:47 +0000 (20:52 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Apr 2015 20:52:47 +0000 (20:52 +0000)
commit4996affe5d2f5a2fad5d742ebd3a43dd32540685
tree6a3a6369a9f8ad972e83cfea01af8a7a80606f39
parent51db75b14f2fc83aafde4bbb72a69521267d086f
Move render ruby initialization logic from RenderElement::createFor() to *::createElementRenderer()
https://bugs.webkit.org/show_bug.cgi?id=144058

Reviewed by Darin Adler.

No change in functionality.

* CMakeLists.txt:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLTagNames.in:
* html/RubyElement.cpp: Added.
(WebCore::RubyElement::RubyElement):
(WebCore::RubyElement::create):
(WebCore::RubyElement::createElementRenderer):
* html/RubyElement.h: Added.
* html/RubyTextElement.cpp: Added.
(WebCore::RubyTextElement::RubyTextElement):
(WebCore::RubyTextElement::create):
(WebCore::RubyTextElement::createElementRenderer):
* html/RubyTextElement.h: Added.
* rendering/RenderElement.cpp:
(WebCore::RenderElement::createFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/html/HTMLTagNames.in
Source/WebCore/html/RubyElement.cpp [new file with mode: 0644]
Source/WebCore/html/RubyElement.h [new file with mode: 0644]
Source/WebCore/html/RubyTextElement.cpp [new file with mode: 0644]
Source/WebCore/html/RubyTextElement.h [new file with mode: 0644]
Source/WebCore/rendering/RenderElement.cpp