8 @media (color:5), (color:8) {
10 background-color: green;
14 <div id=test>This box should be green.</div>
16 if (window.layoutTestController)
17 layoutTestController.dumpAsText();
18 var backgroundColor = getComputedStyle(document.getElementById("test"), null).backgroundColor;
19 const expectedBackgroundColor = "rgb(0, 128, 0)";
20 if (backgroundColor === expectedBackgroundColor)
21 document.write("PASS");
23 document.write("FAIL: Background color is " + backgroundColor + " but should be " + expectedBackgroundColor);