Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/js-test.js"></script> | |
|
tkent
2016/04/25 09:40:39
I recommend to use testharness.js for conformance
ramya.v
2016/04/25 14:47:29
Done.
| |
| 3 <style> | |
|
tkent
2016/04/25 09:40:40
This STYLE element is unnecessary.
ramya.v
2016/04/25 14:47:29
Done.
| |
| 4 :enabled { color: red;} | |
| 5 :disabled { color: red;} | |
| 6 </style> | |
| 7 <output id="output1">test</output> | |
| 8 <output id="output2" disabled>test</output> | |
| 9 <script> | |
| 10 description("This test performs a check for output elements not to match :enable d or :disabled CSS selector."); | |
| 11 var e = document.querySelectorAll(":enabled"); | |
| 12 var d = document.querySelectorAll(":disabled"); | |
| 13 shouldBe("e.length", "0"); | |
| 14 shouldBe("d.length", "0"); | |
| 15 </script> | |
| OLD | NEW |