diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-06-03 09:09:25 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:12 +0530 |
commit | 5c0d74591877de6bcced0a6ba5836b4a2df1c5a7 (patch) | |
tree | 3d7d6c34fb46d2c8e04db26d916403b80de4ba3f /test/testcases/tests/level2 | |
parent | 47847ac9ba3d26771e8007761e5da50e61daf734 (diff) | |
download | libdom-5c0d74591877de6bcced0a6ba5836b4a2df1c5a7.tar.gz libdom-5c0d74591877de6bcced0a6ba5836b4a2df1c5a7.tar.bz2 |
Xselect element && disabling IsIndex Element
Diffstat (limited to 'test/testcases/tests/level2')
-rw-r--r-- | test/testcases/tests/level2/html/HTMLSelectElement20.xml (renamed from test/testcases/tests/level2/html/HTMLSelectElement20.xml.kfail) | 0 | ||||
-rw-r--r-- | test/testcases/tests/level2/html/files/select.html | 44 | ||||
-rw-r--r-- | test/testcases/tests/level2/html/files/select.xhtml | 41 | ||||
-rw-r--r-- | test/testcases/tests/level2/html/files/select.xml | 41 |
4 files changed, 126 insertions, 0 deletions
diff --git a/test/testcases/tests/level2/html/HTMLSelectElement20.xml.kfail b/test/testcases/tests/level2/html/HTMLSelectElement20.xml index ddbe2f7..ddbe2f7 100644 --- a/test/testcases/tests/level2/html/HTMLSelectElement20.xml.kfail +++ b/test/testcases/tests/level2/html/HTMLSelectElement20.xml diff --git a/test/testcases/tests/level2/html/files/select.html b/test/testcases/tests/level2/html/files/select.html new file mode 100644 index 0000000..7820624 --- /dev/null +++ b/test/testcases/tests/level2/html/files/select.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> +<TITLE>NIST DOM HTML Test - SELECT</TITLE> +</HEAD> +<BODY onload="parent.loadComplete()"> +<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post"> +<P> +<SELECT ID="selectId" DIR="ltr" TABINDEX="7" NAME="select1" MULTIPLE="multiple" SIZE="1"> +<OPTION SELECTED="selected" value="EMP1">EMP10001</OPTION> +<OPTION>EMP10002</OPTION> +<OPTION>EMP10003</OPTION> +<OPTION>EMP10004</OPTION> +<OPTION>EMP10005</OPTION> +</SELECT> +</P> +</FORM> +<P> +<SELECT NAME="select2"> +<OPTION>EMP20001</OPTION> +<OPTION>EMP20002</OPTION> +<OPTION>EMP20003</OPTION> +<OPTION>EMP20004</OPTION> +<OPTION>EMP20005</OPTION> +</SELECT> +</P> +<P> +<SELECT NAME="select3" DISABLED="disabled" TABINDEX="1"> +<OPTION>EMP30001</OPTION> +<OPTION>EMP30002</OPTION> +<OPTION>EMP30003</OPTION> +<OPTION>EMP30004</OPTION> +<OPTION>EMP30005</OPTION> +</SELECT> +</P> +</BODY> +</HTML> + + + + + + diff --git a/test/testcases/tests/level2/html/files/select.xhtml b/test/testcases/tests/level2/html/files/select.xhtml new file mode 100644 index 0000000..491a74c --- /dev/null +++ b/test/testcases/tests/level2/html/files/select.xhtml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SELECT</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + diff --git a/test/testcases/tests/level2/html/files/select.xml b/test/testcases/tests/level2/html/files/select.xml new file mode 100644 index 0000000..491a74c --- /dev/null +++ b/test/testcases/tests/level2/html/files/select.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<title>NIST DOM HTML Test - SELECT</title> +</head> +<body onload="parent.loadComplete()"> +<form id="form1" action="./files/getData.pl" method="post"> +<p> +<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1"> +<option selected="selected" value="EMP1">EMP10001</option> +<option>EMP10002</option> +<option>EMP10003</option> +<option>EMP10004</option> +<option>EMP10005</option> +</select> +</p> +</form> +<p> +<select name="select2"> +<option>EMP20001</option> +<option>EMP20002</option> +<option>EMP20003</option> +<option>EMP20004</option> +<option>EMP20005</option> +</select> +</p> +<p> +<select name="select3" disabled="disabled" tabindex="1"> +<option>EMP30001</option> +<option>EMP30002</option> +<option>EMP30003</option> +<option>EMP30004</option> +<option>EMP30005</option> +</select> +</p> +</body> +</html> + |