OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../http/tests/inspector/console-test.js"></script> |
5 | 5 |
6 <style> | 6 <style> |
7 x {} | 7 x {} |
8 | 8 |
9 x { | 9 x { |
10 # | 10 # |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 -vendor-specific-property: blue; | 71 -vendor-specific-property: blue; |
72 scrollbar-arrow-color: fail; | 72 scrollbar-arrow-color: fail; |
73 SCROLLBAR-ARROW-COLOR: fail; | 73 SCROLLBAR-ARROW-COLOR: fail; |
74 } | 74 } |
75 | 75 |
76 x { | 76 x { |
77 background: invalid-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1
) 100%) ; | 77 background: invalid-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1
) 100%) ; |
78 background: IE-hack ignored \9 ; | 78 background: IE-hack ignored \9 ; |
79 } | 79 } |
80 | 80 |
| 81 x, { |
| 82 } |
| 83 |
81 x { | 84 x { |
82 color: @; /* Test simple error to ensure parsing recovered. */ | 85 color: @; /* Test simple error to ensure parsing recovered. */ |
83 } | 86 } |
84 | 87 |
85 </style> | 88 </style> |
86 | 89 |
87 <script> | 90 <script> |
88 | 91 |
89 function test() | 92 function test() |
90 { | 93 { |
91 // Ensure script generated errors don't go to the console. | 94 // Ensure script generated errors don't go to the console. |
92 var style = document.createElement('style'); | 95 var style = document.createElement('style'); |
93 style.textContent = "x{y:*}"; | 96 style.textContent = "x{y:*}"; |
94 document.head.appendChild(style); | 97 document.head.appendChild(style); |
95 | 98 |
96 InspectorTest.expandConsoleMessages(); | 99 InspectorTest.expandConsoleMessages(); |
97 InspectorTest.dumpConsoleMessages(); | 100 InspectorTest.dumpConsoleMessages(); |
98 InspectorTest.completeTest(); | 101 InspectorTest.completeTest(); |
99 } | 102 } |
100 | 103 |
101 </script> | 104 </script> |
102 </head> | 105 </head> |
103 | 106 |
104 <body onload="runTest()"> | 107 <body onload="runTest()"> |
105 <p id="p">Tests CSS warnings are properly exposed.</p> | 108 <p id="p">Tests CSS warnings are properly exposed.</p> |
106 </body> | 109 </body> |
107 </html> | 110 </html> |
OLD | NEW |