blob: dafd6f9a165cc5d13683b740b98cd89ccd973d9e [file] [log] [blame]
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS document.styleSheets.length is 2
PASS importLink.import.styleSheets.length is 1
PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)"
PASS window.getComputedStyle(shouldBeYellow).color is "rgb(255, 255, 0)"
PASS window.getComputedStyle(shouldBeWhite).color is "rgb(255, 255, 255)"
PASS window.getComputedStyle(shouldBeTeal).color is "rgb(0, 128, 128)"
PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)"
PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 128, 0)"
PASS importLink.import.styleSheets.length is 2
PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 0)"
PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)"
PASS importLink.import.styleSheets.length is 0
PASS window.getComputedStyle(shouldBeAqua).color is "rgb(0, 255, 255)"
PASS importLinkDynamic.import.styleSheets.length is 1
PASS successfullyParsed is true
TEST COMPLETE
These elements should be styled appropriately:
Should be blue.
Should be white.
Should be yellow.
Should be teal.
Should become green.
Should become aqua.