From ca30ba7de4c3b0b17a61e1f07032575a01f2cd25 Mon Sep 17 00:00:00 2001 From: rsk1994 Date: Wed, 21 May 2014 12:16:24 +0530 Subject: TableSection Element Rev.1 --- .../level2/html/HTMLTableSectionElement25.xml | 48 ++++++++++++++++ .../html/HTMLTableSectionElement25.xml.kfail | 48 ---------------- .../level2/html/HTMLTableSectionElement26.xml | 48 ++++++++++++++++ .../html/HTMLTableSectionElement26.xml.kfail | 48 ---------------- .../level2/html/HTMLTableSectionElement27.xml | 48 ++++++++++++++++ .../html/HTMLTableSectionElement27.xml.kfail | 48 ---------------- .../level2/html/HTMLTableSectionElement28.xml | 48 ++++++++++++++++ .../html/HTMLTableSectionElement28.xml.kfail | 48 ---------------- .../level2/html/HTMLTableSectionElement29.xml | 47 ++++++++++++++++ .../html/HTMLTableSectionElement29.xml.kfail | 47 ---------------- .../html/HTMLTableSectionElement30.xml.kfail | 55 ------------------ .../html/HTMLTableSectionElement31.xml.kfail | 53 ------------------ .../tests/level2/html/files/tablesection.html | 62 +++++++++++++++++++++ .../tests/level2/html/files/tablesection.xhtml | 65 ++++++++++++++++++++++ .../tests/level2/html/files/tablesection.xml | 65 ++++++++++++++++++++++ 15 files changed, 431 insertions(+), 347 deletions(-) create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement25.xml delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement25.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement26.xml delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement26.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement27.xml delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement27.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement28.xml delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement28.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement29.xml delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement29.xml.kfail delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail delete mode 100644 test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail create mode 100644 test/testcases/tests/level2/html/files/tablesection.html create mode 100644 test/testcases/tests/level2/html/files/tablesection.xhtml create mode 100644 test/testcases/tests/level2/html/files/tablesection.xml (limited to 'test/testcases/tests/level2/html') diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml new file mode 100644 index 0000000..8fbd1c2 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement25 +NIST + + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the first THEAD element which has one row. Try + to insert a new row using an index of two. This should throw + a INDEX_SIZE_ERR DOMException since there is only one row. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml.kfail deleted file mode 100644 index 8fbd1c2..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement25.xml.kfail +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -HTMLTableSectionElement25 -NIST - - The insertRow() method throws a INDEX_SIZE_ERR DOMException - if the specified index is greater than the number of rows. - - Retrieve the first THEAD element which has one row. Try - to insert a new row using an index of two. This should throw - a INDEX_SIZE_ERR DOMException since there is only one row. - -Rick Rivello -2002-05-02 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml new file mode 100644 index 0000000..206d91f --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement26 +NIST + + The insertRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the first THEAD element which has one row. Try + to insert a new row using an index of negative two. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml.kfail deleted file mode 100644 index 206d91f..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement26.xml.kfail +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -HTMLTableSectionElement26 -NIST - - The insertRow() method throws a INDEX_SIZE_ERR DOMException - if the specified index is negative. - - Retrieve the first THEAD element which has one row. Try - to insert a new row using an index of negative two. This should throw - a INDEX_SIZE_ERR DOMException since the index is negative. - -Rick Rivello -2002-05-02 - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml new file mode 100644 index 0000000..3ab35a5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement27 +NIST + + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is greater than the number of rows. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of two. This should throw + a INDEX_SIZE_ERR DOMException since the index is greater than the + number of rows. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml.kfail deleted file mode 100644 index 3ab35a5..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement27.xml.kfail +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -HTMLTableSectionElement27 -NIST - - The deleteRow() method throws a INDEX_SIZE_ERR DOMException - if the specified index is greater than the number of rows. - - Retrieve the first THEAD element which has one row. Try - to delete a row using an index of two. This should throw - a INDEX_SIZE_ERR DOMException since the index is greater than the - number of rows. - -Rick Rivello -2002-05-02 - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml new file mode 100644 index 0000000..5578ba5 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml @@ -0,0 +1,48 @@ + + + + + + +HTMLTableSectionElement28 +NIST + + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is equal to the number of rows. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of 1. This should throw + a INDEX_SIZE_ERR DOMException since the index is equal to the + number of rows. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml.kfail deleted file mode 100644 index 5578ba5..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement28.xml.kfail +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -HTMLTableSectionElement28 -NIST - - The deleteRow() method throws a INDEX_SIZE_ERR DOMException - if the specified index is equal to the number of rows. - - Retrieve the first THEAD element which has one row. Try - to delete a row using an index of 1. This should throw - a INDEX_SIZE_ERR DOMException since the index is equal to the - number of rows. - -Rick Rivello -2002-05-02 - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml b/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml new file mode 100644 index 0000000..0ddd852 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml @@ -0,0 +1,47 @@ + + + + + + +HTMLTableSectionElement29 +NIST + + The deleteRow() method throws a INDEX_SIZE_ERR DOMException + if the specified index is negative. + + Retrieve the first THEAD element which has one row. Try + to delete a row using an index of negative two. This should throw + a INDEX_SIZE_ERR DOMException since the index is negative. + +Rick Rivello +2002-05-02 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml.kfail deleted file mode 100644 index 0ddd852..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement29.xml.kfail +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -HTMLTableSectionElement29 -NIST - - The deleteRow() method throws a INDEX_SIZE_ERR DOMException - if the specified index is negative. - - Retrieve the first THEAD element which has one row. Try - to delete a row using an index of negative two. This should throw - a INDEX_SIZE_ERR DOMException since the index is negative. - -Rick Rivello -2002-05-02 - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail deleted file mode 100644 index 8fd17c2..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement30.xml.kfail +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -HTMLTableSectionElement30 -NIST - - The insertRow() method inserts a new empty table row. The new - row is inserted immediately before the current indexth row in this - section. If index is -1 or equal to the number of rows in this section, - the new row is appended. - - Retrieve the first THEAD element and invoke the insertRow() method - with an index of negative one. Since the index is negative one the - new row is appended. - After the new row is appended the number of rows in the THEAD - section is two. - -Rick Rivello -2002-11-07 - - - - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail b/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail deleted file mode 100644 index 55464e2..0000000 --- a/test/testcases/tests/level2/html/HTMLTableSectionElement31.xml.kfail +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - -HTMLTableSectionElement31 -NIST - - The deleteRow() method deletes a row from this section. The index - starts from 0 and is relative only to the rows contained inside - this section, not all the rows in the table. If the index is -1 - the last row will be deleted. - - Retrieve the second TBODY element and invoke the deleteRow() method - with an index of -1. The nuber of rows in the THEAD section before - the deletion of the row is two. After the row is deleted the number - of rows in the TBODY section is one. - -Rick Rivello -2002-11-07 - - - - - - - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/files/tablesection.html b/test/testcases/tests/level2/html/files/tablesection.html new file mode 100644 index 0000000..0c1a5f7 --- /dev/null +++ b/test/testcases/tests/level2/html/files/tablesection.html @@ -0,0 +1,62 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
IdNamePositionSalary
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+ + + + diff --git a/test/testcases/tests/level2/html/files/tablesection.xhtml b/test/testcases/tests/level2/html/files/tablesection.xhtml new file mode 100644 index 0000000..3498650 --- /dev/null +++ b/test/testcases/tests/level2/html/files/tablesection.xhtml @@ -0,0 +1,65 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
IdNamePositionSalary
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+ + + + + diff --git a/test/testcases/tests/level2/html/files/tablesection.xml b/test/testcases/tests/level2/html/files/tablesection.xml new file mode 100644 index 0000000..3498650 --- /dev/null +++ b/test/testcases/tests/level2/html/files/tablesection.xml @@ -0,0 +1,65 @@ + + + + +NIST DOM HTML Test - TABLESECTION + + + + + + + + + + + +
IdNamePositionSalary
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table Caption
Employee IdEmployee NamePositionSalaryGenderAddress
next page ...next page ...next page ...next page ...next page ...next page ...
EMP0001Margaret MartinAccountant56,000Female1230 North Ave. Dallas, Texas 98551
EMP0002Martha RaynoldsSecretary35,000Female1900 Dallas Road Dallas, Texas 98554
+ + + + + -- cgit v1.2.3