Fix UI test decoration_05_lineThroughUnderlineNone

This commit is contained in:
Rossen Hristov
2016-08-22 18:00:13 +03:00
parent 996858825c
commit e802f10bbc
4 changed files with 32 additions and 13 deletions

View File

@ -25,7 +25,7 @@ export function pageLoaded(args: EventData) {
examples.set("clipPath", "css/clip-path"); examples.set("clipPath", "css/clip-path");
examples.set("padding", "css/padding"); examples.set("padding", "css/padding");
examples.set("label-background-image", "css/label-background-image"); examples.set("label-background-image", "css/label-background-image");
examples.set("text-transform-and-color", "css/text-transform-and-color"); examples.set("transform-decoration-color", "css/transform-decoration-color");
let viewModel = new SubMianPageViewModel(wrapLayout, examples); let viewModel = new SubMianPageViewModel(wrapLayout, examples);
page.bindingContext = viewModel; page.bindingContext = viewModel;

View File

@ -1,12 +0,0 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<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;"/>
<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;"/>
</StackLayout>
</Page>

View File

@ -0,0 +1,8 @@
Label, Button, TextField, TextView {
font-size: 12;
text-align: left;
}
TextView {
margin-bottom: 10;
}

View File

@ -0,0 +1,23 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<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;"/>
<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;"/>
<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;"/>
<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;"/>
</StackLayout>
</Page>