Merge pull request #2920 from NativeScript/tsenov/ui-tests

Set autocorrect to false in pages letter-spacing and transform-decora…
This commit is contained in:
SvetoslavTsenov
2016-10-18 14:52:32 +03:00
committed by GitHub
2 changed files with 17 additions and 17 deletions

View File

@ -36,13 +36,13 @@
</Button>
<!--</android>-->
<WrapLayout>
<TextField text="textField" style="letter-spacing: -0.1;" />
<TextField text="textField" style="letter-spacing: 0;" />
<TextField text="textField" style="letter-spacing: 0.1;" />
<TextField text="textField" autocorrect="false" style="letter-spacing: -0.1;" />
<TextField text="textField" autocorrect="false" style="letter-spacing: 0;" />
<TextField text="textField" autocorrect="false" style="letter-spacing: 0.1;" />
</WrapLayout>
<TextField text="textField" style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;" />
<!--<android>-->
<TextField style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;">
<TextField autocorrect="false" style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;">
<TextField.formattedText>
<FormattedString>
<FormattedString.spans>
@ -54,13 +54,13 @@
</TextField>
<!--</android>-->
<WrapLayout>
<TextView text="textView" style="letter-spacing: -0.1;" />
<TextView text="textView" style="letter-spacing: 0;" />
<TextView text="textView" style="letter-spacing: 0.1;" />
<TextView autocorrect="false" text="textView" style="letter-spacing: -0.1;" />
<TextView autocorrect="false" text="textView" style="letter-spacing: 0;" />
<TextView autocorrect="false" text="textView" style="letter-spacing: 0.1;" />
</WrapLayout>
<TextView text="textView" style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;" />
<TextView autocorrect="false" text="textView" style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;" />
<!--<android>-->
<TextView style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;">
<TextView autocorrect="false" style="text-transform: uppercase; text-decoration: underline line-through;letter-spacing: 0.1;">
<TextView.formattedText>
<FormattedString>
<FormattedString.spans>

View File

@ -2,22 +2,22 @@
<StackLayout>
<Label text="Label red" style="color: red;"/>
<Button text="Button red" style="color: red;"/>
<TextField text="TextField red" style="color: red;"/>
<TextView text="TextView red" style="color: red;"/>
<TextField autocorrect="false" text="TextField red" style="color: red;"/>
<TextView autocorrect="false" text="TextView red" style="color: red;"/>
<Label text="Label uppercase red" style="text-transform: uppercase; color: red;"/>
<Button text="Button uppercase red" style="text-transform: uppercase; color: red;"/>
<TextField text="TextField uppercase red" style="text-transform: uppercase; color: red;"/>
<TextView text="TextView uppercase red" style="text-transform: uppercase; color: red;"/>
<TextField autocorrect="false" text="TextField uppercase red" style="text-transform: uppercase; color: red;"/>
<TextView autocorrect="false" text="TextView uppercase red" style="text-transform: uppercase; color: red;"/>
<Label text="Label underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<Button text="Button underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<TextField text="TextField underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<TextView text="TextView underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<TextField autocorrect="false" text="TextField underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<TextView autocorrect="false" text="TextView underline line-through blue" style="text-decoration: underline line-through; color: blue;"/>
<Label text="Label uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
<Button text="Button uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
<TextField text="TextField uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
<TextView text="TextView uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
<TextField autocorrect="false" text="TextField uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
<TextView autocorrect="false" text="TextView uppercase underline line-through green" style="text-transform: uppercase; text-decoration: underline line-through; color: green;"/>
</StackLayout>
</Page>