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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 PASS document.styleSheets.length is 2 1 PASS document.styleSheets.length is 2
2 PASS importLink.import.styleSheets.length is 1
2 PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)" 3 PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)"
3 PASS window.getComputedStyle(shouldBeYellow).color is "rgb(255, 255, 0)" 4 PASS window.getComputedStyle(shouldBeYellow).color is "rgb(255, 255, 0)"
4 PASS window.getComputedStyle(shouldBeWhite).color is "rgb(255, 255, 255)" 5 PASS window.getComputedStyle(shouldBeWhite).color is "rgb(255, 255, 255)"
5 PASS window.getComputedStyle(shouldBeTeal).color is "rgb(0, 128, 128)" 6 PASS window.getComputedStyle(shouldBeTeal).color is "rgb(0, 128, 128)"
6 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)" 7 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)"
7 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 128, 0)" 8 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 128, 0)"
9 PASS importLink.import.styleSheets.length is 2
8 PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 0)" 10 PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 0)"
9 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)" 11 PASS window.getComputedStyle(shouldBeGreen).color is "rgb(0, 0, 0)"
12 PASS importLink.import.styleSheets.length is 0
10 PASS window.getComputedStyle(shouldBeAqua).color is "rgb(0, 255, 255)" 13 PASS window.getComputedStyle(shouldBeAqua).color is "rgb(0, 255, 255)"
14 PASS importLinkDynamic.import.styleSheets.length is 1
11 PASS successfullyParsed is true 15 PASS successfullyParsed is true
12 16
13 TEST COMPLETE 17 TEST COMPLETE
14 These elements should be styled appropriately: 18 These elements should be styled appropriately:
15 19
16 Should be blue. 20 Should be blue.
17 Should be white. 21 Should be white.
18 Should be yellow. 22 Should be yellow.
19 Should be teal. 23 Should be teal.
20 Should become green. 24 Should become green.
21 Should become aqua. 25 Should become aqua.
OLDNEW
« 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