Index: LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml |
diff --git a/LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml b/LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml |
index 8dca872a0d4eb20a3b5238c7b8f2121f02b435f8..09b9eae3ae3a8041542c461ebe27fdaae59dace6 100644 |
--- a/LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml |
+++ b/LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml |
@@ -245,14 +245,14 @@ |
var cache = {}; |
var cssElem = document.getElementById("test"); |
- var css = (cssElem.innerHTML || cssElem.textContent || cssElem.innerText).split("\n"); |
+ var css = cssElem.textContent.split("\n"); |
for ( var i = 0; i < css.length; i++ ) { |
css[i] = css[i].replace(/\/\*.*?\*\//g, "") |
.replace(/^\s*|\s*$/g, "").split(/\s*{/); |
} |
var ecssElem = document.getElementById("error"); |
- var ecss = (ecssElem.innerHTML || ecssElem.textContent || ecssElem.innerText).split("\n"); |
+ var ecss = ecssElem.textContent.split("\n"); |
for ( var i = 0; i < ecss.length; i++ ) { |
ecss[i] = ecss[i].replace(/\/\*.*?\*\//g, "") |
.replace(/^\s*|\s*$/g, "").split(/\s*{/); |