3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
44 *zoom: @1; /* IE hack. Ignored */
49 filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); /* IE hack. Ignored */
50 filter:alpha(opacity=95);
52 background-image:-webkit-linear-gradient(bottom,#2d2927,rgba(49,46,45,.75) 40%,rgba(51,50,49,0) 72%,rgba(54,54,53,0)); /* valid */
53 background-image:-webkit-linear-gradient(10); /* Should be reported. */
54 /* Others should be ignored as a vendor-specific extension. */
55 background:-moz-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
56 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,1)));
57 background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
58 background:-o-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
59 background:-ms-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
60 background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
66 invalidproperty: blue;
67 --invalidproperty: blue;
68 -unknownvendor-property: blue;
71 -webkit-invalidproperty: blue;
72 scrollbar-arrow-color: fail;
73 SCROLLBAR-ARROW-COLOR: fail;
77 background: invalid-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%) ;
78 background: linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%) ;
79 background: IE-hack ignored \9 ;
80 background: IE-hack ignored \0 ;
81 background: IE-hack ignored\0/ ;
82 background: IE-hack ignored !ie;
83 animation: 3s slidein;
84 font-size-adjust: none;
85 transform: translateZ(0);
87 -webkit-text-size-adjust: 100%;
88 unicode-bidi: isolate;
94 @supports (display: #) { /* No warning expected. */
102 @supports (display: none) # (display: block) {
134 @media screen, screen# {}
135 @media screen, screen#, screen {}
137 @-webkit-keyframes x {
143 div.search input:invalid-pseudo-one {}
144 div.search input::invalid-pseudo-two {}
146 div.search input::-webkit-input-placeholder {}
147 div.search input:-moz-placeholder {}
148 div.search input:-ms-input-placeholder {}
150 .valid-vendor-secific-prefixes {
159 -moz-x: ?; -moZ-x: ?;
163 -wap-x: ?; -wAp-x: ?;
168 .invalid-vendor-specific-prefix {
180 // Ensure script generated errors don't go to the console.
181 var style = document.createElement('style');
182 style.textContent = "x{y:*}";
183 document.head.appendChild(style);
185 var messages = WebInspector.console.messages;
186 for (var i = 0; i < messages.length; i++) {
187 if (messages[i].source === WebInspector.ConsoleMessage.MessageSource.CSS)
188 InspectorTest.addResult(messages[i].message + " (line: " + messages[i].line + ")");
191 InspectorTest.completeTest();
197 <body onload="runTest()">
198 <p id="p">Tests CSS warnings are properly exposed.</p>