blob: a9a17b6d10553cff509acb0528d712962da1454c [file] [log] [blame]
Make sure special case style sharing for readonly and type attributes works.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(document.querySelector("[black]")).color is "rgb(0, 0, 0)"
PASS getComputedStyle(document.querySelector("[readonly]")).color is "rgb(255, 0, 0)"
PASS getComputedStyle(document.querySelector("[type]")).color is "rgb(0, 0, 255)"
PASS successfullyParsed is true
TEST COMPLETE
Black
Red
Blue