OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 | 3 |
4 <link rel="stylesheet" href="resources/styles-new-API.css"> | 4 <link rel="stylesheet" href="resources/styles-new-API.css"> |
5 | 5 |
6 <script src="../http/tests/inspector/inspector-test.js"></script> | 6 <script src="../http/tests/inspector/inspector-test.js"></script> |
7 <script src="elements-tests.js"></script> | 7 <script src="elements-tests.js"></script> |
8 <script> | 8 <script> |
9 | 9 |
10 function doit() | 10 function doit() |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 </script> | 274 </script> |
275 | 275 |
276 <style> | 276 <style> |
277 | 277 |
278 /* An inline stylesheet */ | 278 /* An inline stylesheet */ |
279 body.mainpage { | 279 body.mainpage { |
280 text-decoration: none; /* at least one valid property is necessary for WebCo
re to match a rule */ | 280 text-decoration: none; /* at least one valid property is necessary for WebCo
re to match a rule */ |
281 badproperty: 1badvalue1; | 281 badproperty: 1badvalue1; |
282 } | 282 } |
283 | 283 |
| 284 body.mainpage { |
| 285 prop1: val1; |
| 286 prop2: val2; |
| 287 } |
| 288 |
284 </style> | 289 </style> |
285 </head> | 290 </head> |
286 | 291 |
287 <body class="main1 main2 mainpage" onload="onload()" style="font-weight: normal;
width: 85%"> | 292 <body class="main1 main2 mainpage" onload="onload()" style="font-weight: normal;
width: 85%"> |
288 <p> | 293 <p> |
289 Tests that InspectorCSSAgent API methods work as expected. | 294 Tests that InspectorCSSAgent API methods work as expected. |
290 </p> | 295 </p> |
291 <table width=50% id="thetable"> | 296 <table width=50% id="thetable"> |
292 </table> | 297 </table> |
293 <h1 id="toggle">H1</h1> | 298 <h1 id="toggle">H1</h1> |
294 </body> | 299 </body> |
295 </html> | 300 </html> |
OLD | NEW |