Index: third_party/WebKit/LayoutTests/fast/css/nested-at-rules.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/nested-at-rules.html b/third_party/WebKit/LayoutTests/fast/css/nested-at-rules.html |
index 91c7b4d55973dad11a84ebdb83b4da1aeb901075..e3e4495f582c0f6d3dbf1838c1e613d1b864f4dc 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/nested-at-rules.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/nested-at-rules.html |
@@ -3,7 +3,7 @@ |
<script src="../../resources/js-test.js"></script> |
<style> |
.test { |
- background-color: blue; |
+ content: "UNTOUCHED"; |
} |
@media all { |
@@ -15,7 +15,7 @@ |
@page :left { top: 0 } |
- #t0 { background-color: green; } |
+ #t0 { content: "APPLIED" } |
@import url("../../cssom/resources/import.css"); |
@charset "UTF-8"; |
@@ -23,7 +23,7 @@ |
} |
@media all { |
@media none { |
- #t1 { background-color: green; } |
+ #t1 { content: "APPLIED" } |
} |
} |
} |
@@ -57,6 +57,6 @@ shouldEvaluateTo("rules[1].cssRules[1].cssRules.length", 2); |
shouldBe("rules[1].cssRules[1].cssRules[1].type", "CSSRule.MEDIA_RULE"); |
shouldBe("rules[1].cssRules[1].cssRules[1].cssRules[0].type", "CSSRule.PAGE_RULE"); |
-shouldBeEqualToString("getComputedStyle(document.getElementById('t0')).backgroundColor", 'rgb(0, 128, 0)'); |
-shouldBeEqualToString("getComputedStyle(document.getElementById('t1')).backgroundColor", 'rgb(0, 0, 255)'); |
+shouldBeEqualToString("getComputedStyle(document.getElementById('t0')).content", '"APPLIED"'); |
+shouldBeEqualToString("getComputedStyle(document.getElementById('t1')).content", '"UNTOUCHED"'); |
</script> |