diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-25 01:03:57 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-25 01:03:57 +0000 |
commit | ceadffab6b357723981a429e11222daf6cd6dcfb (patch) | |
tree | 5603053048d6a460f79b22bdf165fb74d32d39b0 /testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax | |
parent | 14fb2f966e9b54598c451e3cb35b4aa0480dafed (diff) | |
parent | ad5a13bd501e379517da1a944c104a11d951a3f5 (diff) | |
download | UXP-RC_20210225.tar UXP-RC_20210225.tar.gz UXP-RC_20210225.tar.lz UXP-RC_20210225.tar.xz UXP-RC_20210225.zip |
Merge branch 'master' into releaseRC_20210225
Diffstat (limited to 'testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax')
5 files changed, 0 insertions, 133 deletions
diff --git a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-local.dtd b/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-local.dtd deleted file mode 100644 index 03e583876..000000000 --- a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-local.dtd +++ /dev/null @@ -1,3 +0,0 @@ -<!ENTITY Sqrt "Sqrt"> -<!ENTITY lang "lang"> -<!ENTITY nbsp "nbsp"> diff --git a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.html b/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.html deleted file mode 100644 index f73de750d..000000000 --- a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.html +++ /dev/null @@ -1,83 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml-local.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>XHTML Doctype test 1</title> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -</head> -<body> -<h1>XHTML Doctype test 1</h1> - -<div id="log" style="display:block"></div> - - -<iframe id="xhtml1" src="xhtml-pubid-1.xhtml" onload="t1()"></iframe><br/> -<iframe id="xhtml2" src="xhtml-pubid-2.xhtml" onload="t2()"></iframe><br/> -<iframe id="xhtml3" src="xhtml-pubid-3.xhtml" onload="t3()"></iframe> - -<script> - - - - -function t1 () { -var txt; -try{ -txt = window.frames[0].document.getElementById("sqrt").firstChild.nodeValue; -} catch (e) { -txt=null; -} -test(function() { -assert_equals(txt,'\u221a'); -},"Sqrt entity is U+221a with legacy DTD"); - -try{ -txt = window.frames[0].document.getElementById("lang").firstChild.nodeValue; -} catch (e) { -txt=null; -} -test(function() { -assert_equals(txt,'\u27e8'); -},"lang entity is U+27E8 not U+2329 with legacy DTD"); -} - -function t2 () { -var txt2; -try{ -txt2 = window.frames[1].document.getElementById("nbsp").firstChild.nodeValue; -} catch (e) { -txt2=null; -} -test(function() { -assert_object_equals(txt2,null); -},"nbsp should not be recognised without known PUBLIC identifier"); -} - -function t3 () { -var txt3; -try{ -txt3 = window.frames[2].document.getElementById("sqrt").firstChild.nodeValue; -} catch (e) { -txt3=null; -} -test(function() { -assert_equals(txt3,'\u221a'); -},"Sqrt entity is U+221a with XHTML PUBID Extension spec"); - -try{ -txt3 = window.frames[2].document.getElementById("lang").firstChild.nodeValue; -} catch (e) { -txt3=null; -} -test(function() { -assert_equals(txt3,'\u27e8'); -},"lang entity is U+27E8 with XHTML PUBID Extension spec"); -} - - - -</script> - -</body> -</html> - diff --git a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.xhtml b/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.xhtml deleted file mode 100644 index 068641afe..000000000 --- a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.xhtml +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml-local.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>XHTML Doctype Example 1</title> -</head> -<body> - -<div> -<span id="sqrt">√</span> -<span id="lang">⟨</span> -</div> - - -</body> -</html> - diff --git a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-2.xhtml b/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-2.xhtml deleted file mode 100644 index 99171a691..000000000 --- a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-2.xhtml +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html SYSTEM "xhtml-local.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>XHTML Doctype Example 2</title> -</head> -<body> - -<div> -<span id="nbsp"> </span> -</div> - - -</body> -</html> - diff --git a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-3.xhtml b/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-3.xhtml deleted file mode 100644 index f6fffea3d..000000000 --- a/testing/web-platform/tests/ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-3.xhtml +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//ENTITIES HTML MathML Set//EN//XML" "xhtml-local.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>XHTML Doctype Example 3</title> -</head> -<body> - -<div> -<span id="nbsp">√</span> -<span id="lang">⟨</span> -</div> - - -</body> -</html> - |