Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / backgrounds / composite-highlight-is-invalid.html
blob7c07bf0b22bdc45e9acc4d944ce6e87e6caeff8f
1 <style>
2 #test1 { -webkit-background-composite: highlight; }
3 #test2 { -webkit-background-composite: invalid; }
4 </style>
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>
9 <script>
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();
15 </script>