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 72a703f9d32b8a44414d5807d54ca36942c03926..c1b2b3f4422cef7273b6b207ab204d6f815dbc0a 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 ::shadow.')))))); |
+ document.createTextNode('green border, because of hat.')))))); |
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 ::shadow.')))))); |
+ document.createTextNode('green border, because of hat.')))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
@@ -119,9 +119,10 @@ sandbox.appendChild( |
createDOM('style', {}, |
document.createTextNode('span#target { border: 1px solid red; }')), |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of ::shadow.')))))); |
+ document.createTextNode('green border, because of hat.')))))); |
-borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
+// Need to clarify the spec, i.e. using specificity? Currently rgb(255,0,0). |
+borderColorShouldBe('host/target', 'rgb(255, 0, 0)'); |
cleanUp(); |
@@ -132,7 +133,7 @@ sandbox.appendChild( |
createDOM('div', {'id': 'host'}, |
createShadowRoot( |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because of ::shadow.')))))); |
+ document.createTextNode('green border, because of hat.')))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
@@ -148,7 +149,7 @@ sandbox.appendChild( |
document.createTextNode('div > span { border: 1px solid red; }')), |
createDOM('div', {}, |
createDOM('span', {'id': 'target'}, |
- document.createTextNode('green border, because parent ::shadow wins.'))))))); |
+ document.createTextNode('green border, because parent hat wins.'))))))); |
borderColorShouldBe('host/target', 'rgb(0, 128, 0)'); |