Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: LayoutTests/dom/xhtml/level3/core/documentadoptnode10.xhtml

Issue 364173005: Document.adoptNode should not throw an exception for DocumentType argument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0"?><?TEST-STYLE PIDATA?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "xhtml1-strict.dtd" [
5 <!ENTITY alpha "&#945;">
6 <!ENTITY beta "&#946;">
7 <!ENTITY gamma "&#947;">
8 <!ENTITY delta "&#948;">
9 <!ENTITY epsilon "&#949;">
10 <!ENTITY alpha "&#950;">
11 <!NOTATION notation1 PUBLIC "notation1File">
12 <!NOTATION notation2 SYSTEM "notation2File">
13 <!ATTLIST p
14 dir CDATA 'rtl'
15 xmlns:dmstc CDATA #IMPLIED
16 xmlns:nm CDATA #IMPLIED
17 xmlns:emp2 CDATA #IMPLIED>
18 <!ATTLIST html
19 xmlns:xsi CDATA #IMPLIED
20 xsi:schemaLocation CDATA #IMPLIED>
21 <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
22 <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span> <?PItarget PIdata?>">
23 <!ATTLIST span xmlns CDATA #IMPLIED>
24 ]>
25 <!-- This is comment number 1.-->
26 <html xmlns='http://www.w3.org/1999/xhtml'
27 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28 xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><me ta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff </title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF- 8" type="text/javascript" src="documentadoptnode10.js"/><script type='text/javas cript'>function loadComplete() { startTest(); }</script></head><body onload="loa dComplete()">
29 <p xmlns:dmstc="http://www.usa.com">
30 <em>EMP0001</em>
31 <strong>Margaret Martin</strong>
32 <code>Accountant</code>
33 <sup>56,000</sup>
34 <var>Female</var>
35 <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dalla s, Texas 98551</acronym>
36 </p>
37 <p xmlns:dmstc="http://www.usa.com">
38 <em>EMP0002</em>
39 <strong>Martha Raynolds
40 <![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
41 <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></st rong>
42 <code>Secretary</code>
43 <sup>35,000</sup>
44 <var>Female</var>
45 <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Da llas, &gamma;
46 98554</acronym>
47 </p>
48 <p xmlns:dmstc="http://www.netzero.com">
49 <em>EMP0003</em>
50 <strong>Roger
51 Jones</strong>
52 <code>Department Manager</code>
53 <sup>100,000</sup>
54 <var>&ent4;</var>
55 <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes ">PO Box 27 Irving, texas 98553</acronym>
56 </p>
57 <p xmlns:nm="http://www.altavista.com">
58 <em>EMP0004</em>
59 <strong>Jeny Oconnor</strong>
60 <code>Personnel Director</code>
61 <sup>95,000</sup>
62 <var>Female</var>
63 <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocatio n="Yes">27 South Road. Dallas, Texas 98556</acronym>
64 </p>
65 <p xmlns:emp2="http://www.nist.gov">
66 <em>EMP0005</em>
67 <strong>Robert Myers</strong>
68 <code>Computer Specialist</code>
69 <sup>90,000</sup>
70 <var>male</var>
71 <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nord ic. Road, Irving Texas 98558</acronym>
72 </p>
73 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698