summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/image-set-setting-expected.txt
blob: af84c0e376d40c043ae88af99f9206032dd1cb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Test the setting of the -webkit-image-set function.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".



Single value for background-image : url("http://www.webkit.org/a") 1x
PASS testComputedStyle(`background-image`, `-webkit-image-set(url("http://www.webkit.org/a") 1x)`) is "-webkit-image-set(url(\"http://www.webkit.org/a\") 1x)"

Multiple values for background-image : url("http://www.webkit.org/a") 1x, url("http://www.webkit.org/b") 2x
PASS testComputedStyle(`background-image`, `-webkit-image-set(url("http://www.webkit.org/a") 1x, url("http://www.webkit.org/b") 2x)`) is "-webkit-image-set(url(\"http://www.webkit.org/a\") 1x, url(\"http://www.webkit.org/b\") 2x)"

Multiple values for background-image, out of order : url("http://www.webkit.org/c") 3x, url("http://www.webkit.org/b") 2x, url("http://www.webkit.org/a") 1x
PASS testComputedStyle(`background-image`, `-webkit-image-set(url("http://www.webkit.org/c") 3x, url("http://www.webkit.org/b") 2x, url("http://www.webkit.org/a") 1x)`) is "-webkit-image-set(url(\"http://www.webkit.org/c\") 3x, url(\"http://www.webkit.org/b\") 2x, url(\"http://www.webkit.org/a\") 1x)"

Duplicate values for background-image : url("http://www.webkit.org/c") 1x, url("http://www.webkit.org/b") 2x, url("http://www.webkit.org/a") 1x
PASS testComputedStyle(`background-image`, `-webkit-image-set(url("http://www.webkit.org/c") 1x, url("http://www.webkit.org/b") 2x, url("http://www.webkit.org/a") 1x)`) is "-webkit-image-set(url(\"http://www.webkit.org/c\") 1x, url(\"http://www.webkit.org/b\") 2x, url(\"http://www.webkit.org/a\") 1x)"

Fractional values for background-image : url("http://www.webkit.org/c") 0.2x, url("http://www.webkit.org/b") 2.3x, url("http://www.webkit.org/a") 12.3456x
PASS testComputedStyle(`background-image`, `-webkit-image-set(url("http://www.webkit.org/c") 0.2x, url("http://www.webkit.org/b") 2.3x, url("http://www.webkit.org/a") 12.3456x)`) is "-webkit-image-set(url(\"http://www.webkit.org/c\") 0.2x, url(\"http://www.webkit.org/b\") 2.3x, url(\"http://www.webkit.org/a\") 12.3456x)"
PASS successfullyParsed is true

TEST COMPLETE