Index: LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml |
diff --git a/LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml b/LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml |
index ca2f68398162c5dde2013e0ec2c4244c89691432..a80e96a74df9ab7bc2ea21cf39f678dfa003407e 100644 |
--- a/LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml |
+++ b/LayoutTests/fast/css/lang-mapped-to-webkit-locale-dynamic.xhtml |
@@ -31,21 +31,6 @@ function runTest() { |
x3.removeAttribute("lang"); |
shouldBeEqualToString("localeOfNode('x3')", "ja"); |
- // The "lang" attribute in the XML namespace should affect locale (since this is an XHTML document). |
- var attr1 = document.createAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:lang"); |
- attr1.value = "zh"; |
- x2.setAttributeNode(attr1); |
- shouldBeEqualToString("localeOfNode('x2')", "zh"); |
- |
- x2.removeAttributeNode(attr1); |
- shouldBeEqualToString("localeOfNode('x2')", "ja"); |
- |
- // An attribute with local name "lang" not in the XML namespace should not affect locale. |
- var attr2 = document.createAttributeNS("foobar", "fb:lang"); |
- attr2.value = "ph"; |
- x2.setAttributeNode(attr2); |
- shouldBeEqualToString("localeOfNode('x2')", "ja"); |
- |
// If we include js-test-post.js directly, the "TEST COMPLETE" output comes out of order. |
wasPostTestScriptParsed = true; |
finishJSTest(); |