summaryrefslogtreecommitdiffstats
path: root/LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml')
-rw-r--r--LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml25
1 files changed, 25 insertions, 0 deletions
diff --git a/LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml b/LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml
new file mode 100644
index 0000000..10c36c2
--- /dev/null
+++ b/LayoutTests/dom/xhtml/level3/core/nodegetfeature02.xhtml
@@ -0,0 +1,25 @@
+<!DOCTYPE html [
+<!ENTITY ent1 'foo'>
+<!ENTITY ent2 'foo<br/>'>
+<!ELEMENT html (head, body)>
+<!ATTLIST html xmlns CDATA #IMPLIED>
+<!ELEMENT head (title,script*)>
+<!ELEMENT script (#PCDATA)>
+<!ATTLIST script
+ src CDATA #IMPLIED
+ type CDATA #IMPLIED
+ charset CDATA #IMPLIED>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT body (p)>
+<!ATTLIST body onload CDATA #IMPLIED>
+<!ELEMENT p (#PCDATA|br)*>
+<!ELEMENT br EMPTY>
+]>
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head>
+<title>replaceWholeText sample</title>
+<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='nodegetfeature02.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
+<body onload="loadComplete()">
+<p>bar</p>
+</body>
+</html>