Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / parsing-not-after-supports.html
blobe50067e37e0b0aebfe3957e0ef639a3aa7f28b2c
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <style>
6 span:not(.whatever) {
7 background-color: red;
9 @supports (color: red) {
10 span {
11 color: red;
14 span:not(.whatever) {
15 background-color: green;
17 </style>
18 </head>
19 <body>
20 <span id='target'></span>
21 <pre id='console'></pre>
22 <script>
23 description('Test for issue 257695: CSS @supports bug: breaks following :not()');
24 var target = document.getElementById('target');
25 shouldBe('getComputedStyle(target).backgroundColor', '"rgb(0, 128, 0)"');
26 </script>
27 </body>
28 </html>