text-transform and text-decoration with formattedText fixed

This commit is contained in:
Vladimir Enchev
2016-01-07 15:52:14 +02:00
parent e4b670a5c2
commit d7b13299b8
10 changed files with 157 additions and 113 deletions

View File

@@ -591,7 +591,7 @@ export var test_setting_button_textTransform_sets_native = function () {
testView.text = initial;
testView.style.textTransform = enums.TextTransform.capitalize;
executeTransformTest(testView, androidText, function (v) { return (<UIButton>v.ios).attributedTitleForState(UIControlState.UIControlStateNormal).string; });
executeTransformTest(testView, androidText, function (v) { return (<UIButton>v.ios).titleForState(UIControlState.UIControlStateNormal); });
}
export var test_setting_label_textTransform_and_textDecoration_sets_native = function () {