1 Tests border-start and border-end
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS testWidth("ltr", "-webkit-border-start-width: 10px; -webkit-border-start-style: solid") is 110
7 PASS testWidth("ltr", "-webkit-border-end-width: 20px; -webkit-border-end-style: solid") is 120
8 PASS testWidth("rtl", "-webkit-border-start-width: 10px; -webkit-border-start-style: solid") is 110
9 PASS testWidth("rtl", "-webkit-border-end-width: 20px; -webkit-border-end-style: solid") is 120
10 PASS test("ltr", "-webkit-border-start-color: rgb(255, 0, 0)", "border-left-color") is "rgb(255, 0, 0)"
11 PASS test("ltr", "border-left-color: rgb(255, 0, 0)", "-webkit-border-start-color") is "rgb(255, 0, 0)"
12 PASS test("ltr", "-webkit-border-end-color: rgb(255, 0, 0)", "border-right-color") is "rgb(255, 0, 0)"
13 PASS test("ltr", "border-right-color: rgb(255, 0, 0)", "-webkit-border-end-color") is "rgb(255, 0, 0)"
14 PASS test("rtl", "-webkit-border-start-color: rgb(255, 0, 0)", "border-right-color") is "rgb(255, 0, 0)"
15 PASS test("rtl", "border-right-color: rgb(255, 0, 0)", "-webkit-border-start-color") is "rgb(255, 0, 0)"
16 PASS test("rtl", "-webkit-border-end-color: rgb(255, 0, 0)", "border-left-color") is "rgb(255, 0, 0)"
17 PASS test("rtl", "border-left-color: rgb(255, 0, 0)", "-webkit-border-end-color") is "rgb(255, 0, 0)"
18 PASS test("ltr", "-webkit-border-start-style: dotted", "border-left-style") is "dotted"
19 PASS test("ltr", "border-left-style: dotted", "-webkit-border-start-style") is "dotted"
20 PASS test("ltr", "-webkit-border-end-style: dotted", "border-right-style") is "dotted"
21 PASS test("ltr", "border-right-style: dotted", "-webkit-border-end-style") is "dotted"
22 PASS test("rtl", "-webkit-border-start-style: dotted", "border-right-style") is "dotted"
23 PASS test("rtl", "border-right-style: dotted", "-webkit-border-start-style") is "dotted"
24 PASS test("rtl", "-webkit-border-end-style: dotted", "border-left-style") is "dotted"
25 PASS test("rtl", "border-left-style: dotted", "-webkit-border-end-style") is "dotted"
26 PASS test("ltr", "-webkit-border-start-width: 10px; -webkit-border-start-style: solid", "border-left-width") is "10px"
27 PASS test("ltr", "-webkit-border-end-width: 10px; -webkit-border-end-style: solid", "border-right-width") is "10px"
28 PASS test("rtl", "-webkit-border-start-width: 10px; -webkit-border-start-style: solid", "border-right-width") is "10px"
29 PASS test("rtl", "-webkit-border-end-width: 10px; -webkit-border-end-style: solid", "border-left-width") is "10px"
30 PASS test("ltr", "border-left: 10px solid", "-webkit-border-start-width") is "10px"
31 PASS test("ltr", "border-right: 10px solid", "-webkit-border-end-width") is "10px"
32 PASS test("rtl", "border-left: 10px solid", "-webkit-border-end-width") is "10px"
33 PASS test("rtl", "border-right: 10px solid", "-webkit-border-start-width") is "10px"
34 PASS test("ltr", "-webkit-border-start: 10px solid red", "border-left-color") is "rgb(255, 0, 0)"
35 PASS test("ltr", "-webkit-border-start: 10px solid red", "border-left-style") is "solid"
36 PASS test("ltr", "-webkit-border-start: 10px solid red", "border-left-width") is "10px"
37 PASS test("rtl", "-webkit-border-start: 10px solid red", "border-right-color") is "rgb(255, 0, 0)"
38 PASS test("rtl", "-webkit-border-start: 10px solid red", "border-right-style") is "solid"
39 PASS test("rtl", "-webkit-border-start: 10px solid red", "border-right-width") is "10px"
40 PASS test("ltr", "-webkit-border-end: 10px solid red", "border-right-color") is "rgb(255, 0, 0)"
41 PASS test("ltr", "-webkit-border-end: 10px solid red", "border-right-style") is "solid"
42 PASS test("ltr", "-webkit-border-end: 10px solid red", "border-right-width") is "10px"
43 PASS test("rtl", "-webkit-border-end: 10px solid red", "border-left-color") is "rgb(255, 0, 0)"
44 PASS test("rtl", "-webkit-border-end: 10px solid red", "border-left-style") is "solid"
45 PASS test("rtl", "-webkit-border-end: 10px solid red", "border-left-width") is "10px"
46 PASS successfullyParsed is true