blob: 5f1f4b0e22783d62880dd8129618bd5c8a2d8643 [file] [log] [blame]
Test the basic features of ":read-only", ":read-write" on the <input> element. The definion is that ":read-write" is matches for "input elements to which the readonly attribute applies, and that are mutable (i.e. that do not have the readonly attribute specified and that are not disabled)"
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing hidden
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing text
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing search
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing tel
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing url
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing email
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing password
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing datetime
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing date
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing month
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing week
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing time
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing datetime-local
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing number
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing range
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing color
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing checkbox
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing radio
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing file
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing submit
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing image
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing reset
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing button
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
Testing
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing webkit
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
Testing foobar
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 0
PASS document.querySelector("input:read-write") is null
PASS document.querySelectorAll("input:read-only").length is 1
PASS document.querySelector("input:read-only") is document.getElementById("testcase")
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)"
PASS document.querySelectorAll("input:read-write").length is 1
PASS document.querySelector("input:read-write") is document.getElementById("testcase")
PASS document.querySelectorAll("input:read-only").length is 0
PASS document.querySelector("input:read-only") is null
PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(4, 5, 6)"
PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(255, 255, 255)"
PASS successfullyParsed is true
TEST COMPLETE