diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 10:07:15 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 10:07:15 +0000 |
commit | 6e23a29ef1d29294f00acdebc7a2263b373d3c5f (patch) | |
tree | 318e2cd421ea38c9d979cb52a8505d6985d82fde /test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail | |
parent | 9f247941596edd74aef550d15483cbd2db51f3e2 (diff) | |
download | libdom-6e23a29ef1d29294f00acdebc7a2263b373d3c5f.tar.gz libdom-6e23a29ef1d29294f00acdebc7a2263b373d3c5f.tar.bz2 |
Re-disable all known fails
svn path=/trunk/libdom/; revision=13584
Diffstat (limited to 'test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail')
-rw-r--r-- | test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail b/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail new file mode 100644 index 0000000..b6e096e --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml.kfail @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (c) 2001-2004 World Wide Web Consortium, +(Massachusetts Institute of Technology, Institut National de +Recherche en Informatique et en Automatique, Keio University). All +Rights Reserved. This program is distributed under the W3C's Software +Intellectual Property License. This program is distributed in the +hope that it will be useful, but WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. +See W3C License http://www.w3.org/Consortium/Legal/ for more details. +--><!DOCTYPE test SYSTEM "dom1.dtd"> + +<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributerestoredefaultvalue"> +<metadata> +<title>elementRemoveAttributeRestoreDefaultValue</title> +<creator>NIST</creator> +<description> + The "removeAttributeNode(oldAttr)" method removes the + specified attribute node and restores any default values. + + Retrieve the last child of the third employeed and + remove its "street" Attr node. Since this node has a + default value defined in the DTD file, that default + should immediately be the new value. +</description> +<contributor>Mary Brady</contributor> +<date qualifier="created">2001-08-17</date> +<!--removeAttributeNode--> +<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/> +<!-- DOM WG opinion on default attributes --> +<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/> +</metadata> +<implementationAttribute name="validating" value="true"/> +<var name="doc" type="Document"/> +<var name="elementList" type="NodeList"/> +<var name="testEmployee" type="Element"/> +<var name="streetAttr" type="Attr"/> +<var name="attribute" type="DOMString"/> +<var name="removedAttr" type="Attr"/> +<load var="doc" href="staff" willBeModified="true"/> +<getElementsByTagName interface="Document" obj="doc" tagname=""address"" var="elementList"/> +<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/> +<getAttributeNode obj="testEmployee" var="streetAttr" name=""street""/> +<removeAttributeNode var="removedAttr" obj="testEmployee" oldAttr="streetAttr"/> +<getAttribute obj="testEmployee" var="attribute" name=""street""/> +<assertEquals actual="attribute" expected=""Yes"" id="streetYes" ignoreCase="false"/> +</test> |