This tests that foreground and background colors properly change for autofilled inputs or select options. It can only be run using the test harness.
-
+
PASS successfullyParsed is true
TEST COMPLETE
PASS backgroundOf(select1) is not originalBackground
PASS foregroundOf(select2) is not originalForeground
PASS backgroundOf(select2) is not originalBackground
+PASS foregroundOf(select3) is not originalForeground
+PASS backgroundOf(select3) is not originalBackground
PASS select2.options.length is 3
PASS select2.options.length is 2
PASS foregroundOf(select2) is autofilledSelectForeground
PASS backgroundOf(select1) is originalBackground
PASS foregroundOf(select2) is originalForeground
PASS backgroundOf(select2) is originalBackground
+PASS foregroundOf(select3) is originalForeground
+PASS backgroundOf(select3) is originalBackground