2 #test1 { -webkit-background-composite: highlight; }
3 #test2 { -webkit-background-composite: invalid; }
5 Tests that highlight is treated the same as an invalid value for a composite operation:
<br>
6 <div id=
"result"></div>
7 <span id=
"test1"></span>
8 <span id=
"test2"></span>
10 value1
= window
.getComputedStyle(document
.getElementById('test1')).webkitBackgroundComposite
;
11 value2
= window
.getComputedStyle(document
.getElementById('test2')).webkitBackgroundComposite
;
12 result
.innerText
= value1
=== value2
? "PASS" : "FAIL";
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();