| <script src="../../resources/js-test-pre.js"></script> |
| description('Tests read-write pseudo-class properties are not applied to disabled input and textarea elements'); |
| shouldNotBeEqualToString("window.getComputedStyle(document.getElementById('inputdisabled'),null).getPropertyValue('background-color')","rgb(255, 0, 0)"); |
| shouldNotBeEqualToString("window.getComputedStyle(document.getElementById('textareadisabled'),null).getPropertyValue('background-color')","rgb(255, 0, 0)"); |
| <body onload="runTest()"> |
| <input type="text" readonly /> |
| <input type="text" disabled id="inputdisabled"/> |
| <textarea readonly></textarea> |
| <textarea disabled id="textareadisabled"></textarea> |