[CTTE] RenderText is always anonymous or associated with Text node
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 10:37:49 +0000 (10:37 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Sep 2013 10:37:49 +0000 (10:37 +0000)
commit2f0e69eea7b71afe14a20b6b17a808c4e03c4799
tree073dec844791e6aec297c2436edc421dc4015a04
parent4596305f63d903d25cfc1d8229a2f84792cb6d6d
[CTTE] RenderText is always anonymous or associated with Text node
https://bugs.webkit.org/show_bug.cgi?id=121596

Source/WebCore:

Reviewed by Andreas Kling.

Tighten the node type of RenderText and its subclasses to Text.
Switch to createAnonymous pattern.
Switch a bunch of unnecessary StringImpl* use to Strings.

LayoutTests:

Reviewed by Andreas Kling.

Update some MathML render tree dumps. RenderTexts for these are now anonymous.

* platform/mac/mathml/presentation/mo-expected.txt:
* platform/mac/mathml/presentation/row-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
22 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/mathml/presentation/mo-expected.txt
LayoutTests/platform/mac/mathml/presentation/row-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlock.h
Source/WebCore/rendering/RenderButton.cpp
Source/WebCore/rendering/RenderCombineText.cpp
Source/WebCore/rendering/RenderCombineText.h
Source/WebCore/rendering/RenderCounter.cpp
Source/WebCore/rendering/RenderCounter.h
Source/WebCore/rendering/RenderMenuList.cpp
Source/WebCore/rendering/RenderQuote.cpp
Source/WebCore/rendering/RenderQuote.h
Source/WebCore/rendering/RenderText.cpp
Source/WebCore/rendering/RenderText.h
Source/WebCore/rendering/RenderTextFragment.cpp
Source/WebCore/rendering/RenderTextFragment.h
Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp
Source/WebCore/rendering/style/ContentData.cpp
Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
Source/WebCore/rendering/svg/RenderSVGInlineText.h