Index: LayoutTests/fast/dom/shadow/style-with-shadow-pseudo-element.html |
diff --git a/LayoutTests/fast/dom/shadow/style-with-shadow-pseudo-element.html b/LayoutTests/fast/dom/shadow/style-with-shadow-pseudo-element.html |
index c1b2b3f4422cef7273b6b207ab204d6f815dbc0a..72a703f9d32b8a44414d5807d54ca36942c03926 100644 |
--- a/LayoutTests/fast/dom/shadow/style-with-shadow-pseudo-element.html |
+++ b/LayoutTests/fast/dom/shadow/style-with-shadow-pseudo-element.html |
@@ -88,7 +88,7 @@ sandbox.appendChild( |
createDOM('div', {'id': 'host'}, |
createShadowRoot( |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of hat.')))))); |
+ document.createTextNode('green border, because of ::shadow.')))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
@@ -104,7 +104,7 @@ sandbox.appendChild( |
createDOM('style', {}, |
document.createTextNode('span { border: 1px solid red; }')), |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of hat.')))))); |
+ document.createTextNode('green border, because of ::shadow.')))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
@@ -119,10 +119,9 @@ sandbox.appendChild( |
createDOM('style', {}, |
document.createTextNode('span#target { border: 1px solid red; }')), |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of hat.')))))); |
+ document.createTextNode('green border, because of ::shadow.')))))); |
-// Need to clarify the spec, i.e. using specificity? Currently rgb(255,0,0). |
-borderColorShouldBe('host/target', 'rgb(255, 0, 0)'); |
+borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
cleanUp(); |
@@ -133,7 +132,7 @@ sandbox.appendChild( |
createDOM('div', {'id': 'host'}, |
createShadowRoot( |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of hat.')))))); |
+ document.createTextNode('green border, because of ::shadow.')))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
@@ -149,7 +148,7 @@ sandbox.appendChild( |
document.createTextNode('div > span { border: 1px solid red; }')), |
createDOM('div', {}, |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because parent hat wins.'))))))); |
+ document.createTextNode('green border, because parent ::shadow wins.'))))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |