From 3129c7484a84589794e437e071aa09888e7cbd4a Mon Sep 17 00:00:00 2001 From: Rupinder Singh Khokhar Date: Mon, 9 Jun 2014 09:33:23 +0530 Subject: HTMLCollection --- .../tests/level1/html/HTMLCollection04.xml | 59 ++++++++++++++++++++++ .../tests/level1/html/HTMLCollection04.xml.kfail | 59 ---------------------- .../tests/level1/html/HTMLCollection04.xml.notimpl | 59 ---------------------- .../tests/level1/html/HTMLCollection05.xml | 46 +++++++++++++++++ .../tests/level1/html/HTMLCollection05.xml.kfail | 46 ----------------- .../tests/level1/html/HTMLCollection05.xml.notimpl | 46 ----------------- .../tests/level1/html/HTMLCollection06.xml | 50 ++++++++++++++++++ .../tests/level1/html/HTMLCollection06.xml.notimpl | 50 ------------------ .../tests/level1/html/HTMLCollection07.xml | 49 ++++++++++++++++++ .../tests/level1/html/HTMLCollection07.xml.notimpl | 49 ------------------ .../tests/level1/html/HTMLCollection08.xml | 49 ++++++++++++++++++ .../tests/level1/html/HTMLCollection08.xml.notimpl | 49 ------------------ .../tests/level1/html/HTMLCollection09.xml | 47 +++++++++++++++++ .../tests/level1/html/HTMLCollection09.xml.kfail | 47 ----------------- .../tests/level1/html/HTMLCollection09.xml.notimpl | 47 ----------------- .../tests/level1/html/HTMLCollection10.xml | 51 +++++++++++++++++++ .../tests/level1/html/HTMLCollection10.xml.kfail | 51 ------------------- .../tests/level1/html/HTMLCollection11.xml | 51 +++++++++++++++++++ .../tests/level1/html/HTMLCollection11.xml.kfail | 51 ------------------- .../tests/level1/html/HTMLCollection12.xml.kfail | 50 ------------------ 20 files changed, 402 insertions(+), 604 deletions(-) create mode 100644 test/testcases/tests/level1/html/HTMLCollection04.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection04.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLCollection04.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection05.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection05.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLCollection05.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection06.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection06.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection07.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection07.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection08.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection08.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection09.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection09.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLCollection09.xml.notimpl create mode 100644 test/testcases/tests/level1/html/HTMLCollection10.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection10.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLCollection11.xml delete mode 100644 test/testcases/tests/level1/html/HTMLCollection11.xml.kfail delete mode 100644 test/testcases/tests/level1/html/HTMLCollection12.xml.kfail (limited to 'test/testcases/tests/level1') diff --git a/test/testcases/tests/level1/html/HTMLCollection04.xml b/test/testcases/tests/level1/html/HTMLCollection04.xml new file mode 100644 index 0000000..5d78405 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection04.xml @@ -0,0 +1,59 @@ + + + + + + + +HTMLCollection04 +NIST + + HTMLCollections are live, they are automatically updated when the + underlying document is changed. + + Create a HTMLCollection object by invoking the rows attribute of the + first TABLE element and examine its length, then add a new row and + re-examine the length. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + +4 +5 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection04.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection04.xml.kfail deleted file mode 100644 index 5d78405..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection04.xml.kfail +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -HTMLCollection04 -NIST - - HTMLCollections are live, they are automatically updated when the - underlying document is changed. - - Create a HTMLCollection object by invoking the rows attribute of the - first TABLE element and examine its length, then add a new row and - re-examine the length. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - -4 -5 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection04.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection04.xml.notimpl deleted file mode 100644 index 5d78405..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection04.xml.notimpl +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -HTMLCollection04 -NIST - - HTMLCollections are live, they are automatically updated when the - underlying document is changed. - - Create a HTMLCollection object by invoking the rows attribute of the - first TABLE element and examine its length, then add a new row and - re-examine the length. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - -4 -5 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection05.xml b/test/testcases/tests/level1/html/HTMLCollection05.xml new file mode 100644 index 0000000..ffb7d13 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection05.xml @@ -0,0 +1,46 @@ + + + + + + + +HTMLCollection05 +NIST + + The length attribute specifies the length or size of the list. + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Retrieve the length attribute of the HTMLCollection + object. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection05.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection05.xml.kfail deleted file mode 100644 index ffb7d13..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection05.xml.kfail +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - -HTMLCollection05 -NIST - - The length attribute specifies the length or size of the list. - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. Retrieve the length attribute of the HTMLCollection - object. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection05.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection05.xml.notimpl deleted file mode 100644 index ffb7d13..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection05.xml.notimpl +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - -HTMLCollection05 -NIST - - The length attribute specifies the length or size of the list. - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. Retrieve the length attribute of the HTMLCollection - object. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection06.xml b/test/testcases/tests/level1/html/HTMLCollection06.xml new file mode 100644 index 0000000..1026310 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection06.xml @@ -0,0 +1,50 @@ + + + + + + + +HTMLCollection06 +NIST + + An item(index) method retrieves an item specified by ordinal index + (Test for index=0). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. The item located at ordinal index 0 is further + retrieved and its "rowIndex" attribute is examined. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection06.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection06.xml.notimpl deleted file mode 100644 index 1026310..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection06.xml.notimpl +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -HTMLCollection06 -NIST - - An item(index) method retrieves an item specified by ordinal index - (Test for index=0). - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. The item located at ordinal index 0 is further - retrieved and its "rowIndex" attribute is examined. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection07.xml b/test/testcases/tests/level1/html/HTMLCollection07.xml new file mode 100644 index 0000000..55e392f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection07.xml @@ -0,0 +1,49 @@ + + + + + + + +HTMLCollection07 +NIST + + An item(index) method retrieves an item specified by ordinal index + (Test for index=3). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. The item located at ordinal index 3 is further + retrieved and its "rowIndex" attribute is examined. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection07.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection07.xml.notimpl deleted file mode 100644 index e0a21a2..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection07.xml.notimpl +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - -HTMLCollection07 -NIST - - An item(index) method retrieves an item specified by ordinal index - (Test for index=3). - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. The item located at ordinal index 3 is further - retrieved and its "rowIndex" attribute is examined. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection08.xml b/test/testcases/tests/level1/html/HTMLCollection08.xml new file mode 100644 index 0000000..8f7f138 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection08.xml @@ -0,0 +1,49 @@ + + + + + + + +HTMLCollection08 +NIST + + Nodes in a HTMLCollection object are numbered in tree order. + (Depth-first traversal order). + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Access the item in the third ordinal index. The + resulting rowIndex attribute is examined and should be two. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection08.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection08.xml.notimpl deleted file mode 100644 index dfc2e10..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection08.xml.notimpl +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - -HTMLCollection08 -NIST - - Nodes in a HTMLCollection object are numbered in tree order. - (Depth-first traversal order). - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. Access the item in the third ordinal index. The - resulting rowIndex attribute is examined and should be two. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection09.xml b/test/testcases/tests/level1/html/HTMLCollection09.xml new file mode 100644 index 0000000..f81e7af --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection09.xml @@ -0,0 +1,47 @@ + + + + + + + +HTMLCollection09 +NIST + + The item(index) method returns null if the index is out of range. + + Retrieve the first TABLE element and create a HTMLCollection by invoking + the "rows" attribute. Invoke the item(index) method with an index + of 5. This index is out of range and should return null. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection09.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection09.xml.kfail deleted file mode 100644 index f81e7af..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection09.xml.kfail +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -HTMLCollection09 -NIST - - The item(index) method returns null if the index is out of range. - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. Invoke the item(index) method with an index - of 5. This index is out of range and should return null. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection09.xml.notimpl b/test/testcases/tests/level1/html/HTMLCollection09.xml.notimpl deleted file mode 100644 index f81e7af..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection09.xml.notimpl +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -HTMLCollection09 -NIST - - The item(index) method returns null if the index is out of range. - - Retrieve the first TABLE element and create a HTMLCollection by invoking - the "rows" attribute. Invoke the item(index) method with an index - of 5. This index is out of range and should return null. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection10.xml b/test/testcases/tests/level1/html/HTMLCollection10.xml new file mode 100644 index 0000000..78f4c9a --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection10.xml @@ -0,0 +1,51 @@ + + + + + + + +HTMLCollection10 +NIST + + The namedItem(name) method retrieves a node using a name. It first + searches for a node with a matching id attribute. If it doesn't find + one, it then searches for a Node with a matching name attribute, but only + on those elements that are allowed a name attribute. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The first SELECT element is further retrieved + using the elements name attribute since the id attribute doesn't match. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection10.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection10.xml.kfail deleted file mode 100644 index 78f4c9a..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection10.xml.kfail +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - -HTMLCollection10 -NIST - - The namedItem(name) method retrieves a node using a name. It first - searches for a node with a matching id attribute. If it doesn't find - one, it then searches for a Node with a matching name attribute, but only - on those elements that are allowed a name attribute. - - Retrieve the first FORM element and create a HTMLCollection by invoking - the elements attribute. The first SELECT element is further retrieved - using the elements name attribute since the id attribute doesn't match. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection11.xml b/test/testcases/tests/level1/html/HTMLCollection11.xml new file mode 100644 index 0000000..ebf217f --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLCollection11.xml @@ -0,0 +1,51 @@ + + + + + + + +HTMLCollection11 +NIST + + The namedItem(name) method retrieves a node using a name. It first + searches for a node with a matching id attribute. If it doesn't find + one, it then searches for a Node with a matching name attribute, but only + on those elements that are allowed a name attribute. + + Retrieve the first FORM element and create a HTMLCollection by invoking + the elements attribute. The first SELECT element is further retrieved + using the elements id attribute. + +Rick Rivello +2002-05-01 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLCollection11.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection11.xml.kfail deleted file mode 100644 index ebf217f..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection11.xml.kfail +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - -HTMLCollection11 -NIST - - The namedItem(name) method retrieves a node using a name. It first - searches for a node with a matching id attribute. If it doesn't find - one, it then searches for a Node with a matching name attribute, but only - on those elements that are allowed a name attribute. - - Retrieve the first FORM element and create a HTMLCollection by invoking - the elements attribute. The first SELECT element is further retrieved - using the elements id attribute. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLCollection12.xml.kfail b/test/testcases/tests/level1/html/HTMLCollection12.xml.kfail deleted file mode 100644 index d7feb3d..0000000 --- a/test/testcases/tests/level1/html/HTMLCollection12.xml.kfail +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -HTMLCollection12 -NIST - - The namedItem(name) method retrieves a node using a name. It first - searches for a node with a matching id attribute. If it doesn't find - one, it then searches for a Node with a matching name attribute, but only - on those elements that are allowed a name attribute. If there isn't - a matching node the method returns null. - - Retrieve the first FORM element and create a HTMLCollection by invoking - the elements attribute. The method returns null since there is not a - match of the name or id attribute. - -Rick Rivello -2002-05-01 - - - - - - - - - - - - - - - -- cgit v1.2.3