summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/selenium/html-xpath
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/selenium/html-xpath')
-rw-r--r--tests/FunctionalTests/selenium/html-xpath/html-xpath-patched.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FunctionalTests/selenium/html-xpath/html-xpath-patched.js b/tests/FunctionalTests/selenium/html-xpath/html-xpath-patched.js
index 4b9e05f6..d135e879 100644
--- a/tests/FunctionalTests/selenium/html-xpath/html-xpath-patched.js
+++ b/tests/FunctionalTests/selenium/html-xpath/html-xpath-patched.js
@@ -602,7 +602,7 @@ if (isIe)
{
var attribute = node.attributes[i];
var attributeValue = attribute.nodeValue;
- if (attributeValue && attribute.specified)
+ if (attributeValue && (attribute.specified || attribute.nodeName == 'value'))
{
var domAttribute = dom.createAttribute(attribute.nodeName);
domAttribute.value = attributeValue;