Simple line layout: support text-transform: lowercase|uppercase|capitalize
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Nov 2014 10:12:42 +0000 (10:12 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Nov 2014 10:12:42 +0000 (10:12 +0000)
commitc803b078439842db415acc1d6a77370668a11489
tree43f185273c00b9627940e00569664920048568b3
parent6ec2df2e4fc0bcd636b84e2da65c5f843a0eb773
Simple line layout: support text-transform: lowercase|uppercase|capitalize
<https://webkit.org/b/138406>

Reviewed by Antti Koivisto.

Source/WebCore:

Expand the simple line layout coverage to include all text-transform values.
Since the property works on the text string level, it's really only a matter
of removing the short-circuit.

Test: fast/text/simple-lines-text-transform.html

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor):

LayoutTests:

Add ref test for simple line layout with all text-transform values.

* fast/text/simple-lines-text-transform-expected.html: Added.
* fast/text/simple-lines-text-transform.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/simple-lines-text-transform-expected.html [new file with mode: 0644]
LayoutTests/fast/text/simple-lines-text-transform.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/SimpleLineLayout.cpp