Index: LayoutTests/fast/dom/shadow/text-node-in-shadow.html |
diff --git a/LayoutTests/fast/dom/shadow/text-node-in-shadow.html b/LayoutTests/fast/dom/shadow/text-node-in-shadow.html |
index 8728cadea4ae4de82dc26f50d5d4085240215be1..34a6c16bc09820092aba7203725ba666b4ee0ef4 100644 |
--- a/LayoutTests/fast/dom/shadow/text-node-in-shadow.html |
+++ b/LayoutTests/fast/dom/shadow/text-node-in-shadow.html |
@@ -18,18 +18,6 @@ function testChildTextOfShadowRoot() { |
host.style.fontSize = '5em'; |
} |
-function testChildTextOfShadowRootWithResetStyleInheritance() { |
- var host = document.getElementById("hostResetStyleInheritance"); |
- var shadowRoot = host.createShadowRoot(); |
- var span = document.createElement('span') |
- span.textContent = "foo"; |
- shadowRoot.appendChild(span); |
- shadowRoot.appendChild(document.createTextNode("bar")); |
- shadowRoot.resetStyleInheritance = true; |
- document.body.offsetLeft; |
- host.style.fontSize = '6em'; |
-} |
- |
function testDistributedText() { |
var host = document.getElementById("hostWithDistribution"); |
var shadowRoot = host.createShadowRoot(); |
@@ -38,20 +26,9 @@ function testDistributedText() { |
shadowRoot.getElementById("span1").style.fontSize = '5em'; |
} |
-function testDistributedTextWithResetStyleInheritance() { |
- var host = document.getElementById("hostResetStyleInheritanceWithDistribution"); |
- var shadowRoot = host.createShadowRoot(); |
- shadowRoot.innerHTML = "<span id='span2'><content id='content'></content></span>" |
- shadowRoot.getElementById("content").resetStyleInheritance = true; |
- document.body.offsetLeft; |
- shadowRoot.getElementById("span2").style.fontSize = '6em'; |
-} |
- |
function runTests() { |
testChildTextOfShadowRoot(); |
- testChildTextOfShadowRootWithResetStyleInheritance(); |
testDistributedText(); |
- testDistributedTextWithResetStyleInheritance(); |
} |
</script> |
</head> |
@@ -59,8 +36,6 @@ function runTests() { |
<!-- [bug 101116] Text nodes in shadow roots don't inherit style properly --> |
<!-- https://bugs.webkit.org/show_bug.cgi?id=101116 --> |
<div id="host"></div> |
- <div id="hostResetStyleInheritance"></div> |
<div id="hostWithDistribution">Foo<span>Bar</span></div> |
- <div id="hostResetStyleInheritanceWithDistribution">Foo<span>Bar</span></div> |
</body> |
</html> |