From 45a19586c0e59f476bccb53dd7e9b759017e38fe Mon Sep 17 00:00:00 2001 From: rsk1994 Date: Fri, 6 Jun 2014 06:19:49 +0530 Subject: IFrame Element --- test/DOMTSHandler.pm | 1 + test/dom1-interfaces.xml | 6 +++ .../tests/level1/html/HTMLIFrameElement01.xml | 44 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement01.xml.kfail | 44 --------------------- .../tests/level1/html/HTMLIFrameElement02.xml | 45 ++++++++++++++++++++++ .../level1/html/HTMLIFrameElement02.xml.kfail | 45 ---------------------- .../tests/level1/html/HTMLIFrameElement03.xml | 43 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement03.xml.kfail | 43 --------------------- .../tests/level1/html/HTMLIFrameElement04.xml | 44 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement04.xml.kfail | 44 --------------------- .../tests/level1/html/HTMLIFrameElement05.xml | 43 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement05.xml.kfail | 43 --------------------- .../tests/level1/html/HTMLIFrameElement06.xml | 43 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement06.xml.kfail | 43 --------------------- .../tests/level1/html/HTMLIFrameElement07.xml | 44 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement07.xml.kfail | 44 --------------------- .../tests/level1/html/HTMLIFrameElement08.xml | 44 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement08.xml.kfail | 44 --------------------- .../tests/level1/html/HTMLIFrameElement09.xml | 43 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement09.xml.kfail | 43 --------------------- .../tests/level1/html/HTMLIFrameElement10.xml | 43 +++++++++++++++++++++ .../level1/html/HTMLIFrameElement10.xml.kfail | 43 --------------------- .../tests/level2/html/HTMLIFrameElement11.xml | 39 +++++++++++++++++++ .../level2/html/HTMLIFrameElement11.xml.kfail | 39 ------------------- 24 files changed, 482 insertions(+), 475 deletions(-) create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement01.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement01.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement02.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement02.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement03.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement03.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement04.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement04.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement05.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement05.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement06.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement06.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement07.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement07.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement08.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement08.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement09.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement09.xml.kfail create mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement10.xml delete mode 100644 test/testcases/tests/level1/html/HTMLIFrameElement10.xml.kfail create mode 100644 test/testcases/tests/level2/html/HTMLIFrameElement11.xml delete mode 100644 test/testcases/tests/level2/html/HTMLIFrameElement11.xml.kfail (limited to 'test') diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index ee9298c..304ac29 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -64,6 +64,7 @@ our %special_prefix = ( HTMLTableCaptionElement => "dom_html_table_caption_element", HTMLTableSectionElement => "dom_html_table_section_element", HTMLIsIndexElement => "dom_html_isindex_element", + HTMLIFrameElement => "dom_html_iframe_element", caption => "dom_html_table_caption_element *", section => "dom_html_table_section_element *", createCaption => "dom_html_element *", diff --git a/test/dom1-interfaces.xml b/test/dom1-interfaces.xml index 25d29d8..fc88b80 100644 --- a/test/dom1-interfaces.xml +++ b/test/dom1-interfaces.xml @@ -3667,5 +3667,11 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details.

Frame width. See thewidth attribute definitionin HTML 4.0.

+ + +

+ + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement01.xml b/test/testcases/tests/level1/html/HTMLIFrameElement01.xml new file mode 100644 index 0000000..1280955 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement01.xml @@ -0,0 +1,44 @@ + + + + + + + +HTMLIFrameElement01 +NIST + + The align attribute aligns this object(vertically or horizontally with + respect to its surrounding text. + + Retrieve the align attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement01.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement01.xml.kfail deleted file mode 100644 index 1280955..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement01.xml.kfail +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -HTMLIFrameElement01 -NIST - - The align attribute aligns this object(vertically or horizontally with - respect to its surrounding text. - - Retrieve the align attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement02.xml b/test/testcases/tests/level1/html/HTMLIFrameElement02.xml new file mode 100644 index 0000000..c815c67 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement02.xml @@ -0,0 +1,45 @@ + + + + + + + +HTMLIFrameElement02 +NIST + + The frameBorder attribute specifies the request for frame borders. + (frameBorder=1 A border is drawn) + (FrameBorder=0 A border is not drawn) + + Retrieve the frameBorder attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement02.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement02.xml.kfail deleted file mode 100644 index c815c67..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement02.xml.kfail +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -HTMLIFrameElement02 -NIST - - The frameBorder attribute specifies the request for frame borders. - (frameBorder=1 A border is drawn) - (FrameBorder=0 A border is not drawn) - - Retrieve the frameBorder attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement03.xml b/test/testcases/tests/level1/html/HTMLIFrameElement03.xml new file mode 100644 index 0000000..3842aa3 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement03.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLIFrameElement03 +NIST + + The height attribute specifies the frame height. + + Retrieve the height attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement03.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement03.xml.kfail deleted file mode 100644 index 3842aa3..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement03.xml.kfail +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLIFrameElement03 -NIST - - The height attribute specifies the frame height. - - Retrieve the height attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement04.xml b/test/testcases/tests/level1/html/HTMLIFrameElement04.xml new file mode 100644 index 0000000..65535fd --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement04.xml @@ -0,0 +1,44 @@ + + + + + + + +HTMLIFrameElement04 +NIST + + The longDesc attribute specifies a URI designating a long description + of this image or frame. + + Retrieve the longDesc attribute of the first IFRAME element and examine + its value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement04.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement04.xml.kfail deleted file mode 100644 index 65535fd..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement04.xml.kfail +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -HTMLIFrameElement04 -NIST - - The longDesc attribute specifies a URI designating a long description - of this image or frame. - - Retrieve the longDesc attribute of the first IFRAME element and examine - its value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement05.xml b/test/testcases/tests/level1/html/HTMLIFrameElement05.xml new file mode 100644 index 0000000..5ba9855 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement05.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLIFrameElement05 +NIST + + The marginWidth attribute specifies the frame margin width, in pixels. + + Retrieve the marginWidth attribute of the first FRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement05.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement05.xml.kfail deleted file mode 100644 index 5ba9855..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement05.xml.kfail +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLIFrameElement05 -NIST - - The marginWidth attribute specifies the frame margin width, in pixels. - - Retrieve the marginWidth attribute of the first FRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement06.xml b/test/testcases/tests/level1/html/HTMLIFrameElement06.xml new file mode 100644 index 0000000..85654d7 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement06.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLIFrameElement06 +NIST + + The marginHeight attribute specifies the frame margin height, in pixels. + + Retrieve the marginHeight attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement06.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement06.xml.kfail deleted file mode 100644 index 85654d7..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement06.xml.kfail +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLIFrameElement06 -NIST - - The marginHeight attribute specifies the frame margin height, in pixels. - - Retrieve the marginHeight attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement07.xml b/test/testcases/tests/level1/html/HTMLIFrameElement07.xml new file mode 100644 index 0000000..8143aa5 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement07.xml @@ -0,0 +1,44 @@ + + + + + + + +HTMLIFrameElement07 +NIST + + The name attribute specifies the frame name(object of the target + attribute). + + Retrieve the name attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement07.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement07.xml.kfail deleted file mode 100644 index 8143aa5..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement07.xml.kfail +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -HTMLIFrameElement07 -NIST - - The name attribute specifies the frame name(object of the target - attribute). - - Retrieve the name attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement08.xml b/test/testcases/tests/level1/html/HTMLIFrameElement08.xml new file mode 100644 index 0000000..729c1a9 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement08.xml @@ -0,0 +1,44 @@ + + + + + + + +HTMLIFrameElement08 +NIST + + The scrolling attribute specifies whether or not the frame should have + scrollbars. + + Retrieve the scrolling attribute of the first FRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement08.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement08.xml.kfail deleted file mode 100644 index 729c1a9..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement08.xml.kfail +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -HTMLIFrameElement08 -NIST - - The scrolling attribute specifies whether or not the frame should have - scrollbars. - - Retrieve the scrolling attribute of the first FRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement09.xml b/test/testcases/tests/level1/html/HTMLIFrameElement09.xml new file mode 100644 index 0000000..e9cc84b --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement09.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLIFrameElement09 +NIST + + The src attribute specifies a URI designating the initial frame contents. + + Retrieve the src attribute of the first FRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement09.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement09.xml.kfail deleted file mode 100644 index e9cc84b..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement09.xml.kfail +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLIFrameElement09 -NIST - - The src attribute specifies a URI designating the initial frame contents. - - Retrieve the src attribute of the first FRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement10.xml b/test/testcases/tests/level1/html/HTMLIFrameElement10.xml new file mode 100644 index 0000000..7278bb4 --- /dev/null +++ b/test/testcases/tests/level1/html/HTMLIFrameElement10.xml @@ -0,0 +1,43 @@ + + + + + + + +HTMLIFrameElement10 +NIST + + The width attribute specifies the frame width. + + Retrieve the width attribute of the first IFRAME element and examine + it's value. + +Rick Rivello +2002-05-08 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/html/HTMLIFrameElement10.xml.kfail b/test/testcases/tests/level1/html/HTMLIFrameElement10.xml.kfail deleted file mode 100644 index 7278bb4..0000000 --- a/test/testcases/tests/level1/html/HTMLIFrameElement10.xml.kfail +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - -HTMLIFrameElement10 -NIST - - The width attribute specifies the frame width. - - Retrieve the width attribute of the first IFRAME element and examine - it's value. - -Rick Rivello -2002-05-08 - - - - - - - - - - - - - diff --git a/test/testcases/tests/level2/html/HTMLIFrameElement11.xml b/test/testcases/tests/level2/html/HTMLIFrameElement11.xml new file mode 100644 index 0000000..4220a43 --- /dev/null +++ b/test/testcases/tests/level2/html/HTMLIFrameElement11.xml @@ -0,0 +1,39 @@ + + + + + + +HTMLIFrameElement11 +NIST + + Retrieve the contentDocument attribute of the second IFRAME element + and examine its title. + +Rick Rivello +2002-07-03 + + + + + + + + + + +<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - IFRAME2"' id="titleLink" ignoreCase="false" /> +</test> diff --git a/test/testcases/tests/level2/html/HTMLIFrameElement11.xml.kfail b/test/testcases/tests/level2/html/HTMLIFrameElement11.xml.kfail deleted file mode 100644 index c77d2f4..0000000 --- a/test/testcases/tests/level2/html/HTMLIFrameElement11.xml.kfail +++ /dev/null @@ -1,39 +0,0 @@ -<?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 "dom2.dtd"> -<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2" name="HTMLIFrameElement11"> -<metadata> -<title>HTMLIFrameElement11 -NIST - - Retrieve the contentDocument attribute of the second IFRAME element - and examine its title. - -Rick Rivello -2002-07-03 - - - - - - - - - - -<assertEquals actual="vtitle" expected='"NIST DOM HTML Test - FRAME"' id="titleLink" ignoreCase="false" /> -</test> -- cgit v1.2.3