1 [bug 99295] removeAttribute('style') not working in certain circumstances. If this test passes, all backgroundColors are rgba(0, 0, 0, 0), i.e. all styles are removed.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS elementWithoutStyleAttribute.style.backgroundColor = 'red'; elementWithoutStyleAttribute.removeAttribute('style'); getComputedStyle(elementWithoutStyleAttribute).backgroundColor is "rgba(0, 0, 0, 0)"
7 PASS getComputedStyle(elementWithEmptyStyleAttribute).backgroundColor is "rgba(0, 0, 0, 0)"
8 PASS getComputedStyle(elementWithStyleAttribute).backgroundColor is "rgba(0, 0, 0, 0)"
9 PASS elementWithoutStyleAttribute2.getAttribute('style') is null
10 PASS elementWithoutStyleAttribute2.style.backgroundColor = 'red'; elementWithoutStyleAttribute2.removeAttribute('style'); getComputedStyle(elementWithoutStyleAttribute2).backgroundColor is "rgba(0, 0, 0, 0)"
11 PASS elementWithoutStyleAttribute3.getAttribute('style') is "background-color: red;"
12 PASS getComputedStyle(elementWithoutStyleAttribute3).backgroundColor is "rgba(0, 0, 0, 0)"
13 PASS elementWithoutStyleAttribute4.style.backgroundColor = 'red'; elementWithoutStyleAttribute4.setAttribute('style', ''); elementWithoutStyleAttribute4.removeAttribute('style'); getComputedStyle(elementWithoutStyleAttribute4).backgroundColor is "rgba(0, 0, 0, 0)"
14 PASS successfullyParsed is true