Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: LayoutTests/fast/html/imports/import-style-basic-expected.txt

Issue 143463011: [import] support document.stylesheets in imported documents. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/html/imports/import-style-basic-expected.txt
diff --git a/LayoutTests/fast/html/imports/import-style-basic-expected.txt b/LayoutTests/fast/html/imports/import-style-basic-expected.txt
index 0ce39380c482f498a067c9c070370c83347aec24..e0d6a429ce20ea239e47af3bc7b588a9c2447450 100644
--- a/LayoutTests/fast/html/imports/import-style-basic-expected.txt
+++ b/LayoutTests/fast/html/imports/import-style-basic-expected.txt
@@ -1,13 +1,17 @@
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
« no previous file with comments | « LayoutTests/fast/html/imports/import-style-basic.html ('k') | Source/core/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698