/[suikacvs]/markup/html/whatpm/t/content-model-6.dat
Suika

Contents of /markup/html/whatpm/t/content-model-6.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Apr 12 10:41:31 2008 UTC (18 years, 4 months ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	12 Apr 2008 10:41:08 -0000
	* HTML-tokenizer.t: Remove "self-closing flag" if the start
	tag token is that of a slash permitted element (This is necessary
	to maintain compatibility with current test data, since in the
	new algorithm whether slash is permitted or not is decided in
	tree construction stage).

2008-04-12  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	12 Apr 2008 10:38:11 -0000
2008-04-12  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
	are raised is changed (HTML5 revision 1404).

1 wakaba 1.1 #data
2     <p xmlns="http://www.w3.org/1999/xhtml"
3     data-1="" data-2="custom data">x</p>
4     #errors
5    
6     #data
7     <p xmlns="http://ww.w3.org/1999/xhtml" data="">x</p>
8     #errors
9     /p/@data;attribute not defined;m
10    
11     #data
12     <p xmlns="http://www.w3.org/1999/xhtml"
13     data-="custom data">x</p>
14     #errors
15    
16     #data
17     <unknown xmlns="http://www.w3.org/1999/xhtml"
18     data-1="" data-2="custom data">x</unknown>
19     #errors
20     /unknown;element not defined;m
21    
22     #data
23     <p xmlns="http://www.example.com/non-html"
24     data-1="" data-2="custom data">x</p>
25     #errors
26     /p;element;unsupported
27     /p/@data-1;attribute;unsupported
28     /p/@data-2;attribute;unsupported
29    
30     #data
31     <meta xmlns="http://www.w3.org/1999/xhtml"
32     data-1="" data-2="custom data"
33     name="keywords" content="a, b"/>
34     #errors
35    
36     #data
37     <a xmlns="http://www.w3.org/1999/xhtml"
38     data-1="" data-2="custom data">x</a>
39     #errors
40    
41     #data
42     <area xmlns="http://www.w3.org/1999/xhtml"
43     href="" alt="x" shape="default"
44     data-1="" data-2="custom data"/>
45     #errors
46    
47     #data
48     <embed xmlns="http://www.w3.org/1999/xhtml"
49     src=""
50     data-1="" data-2="custom data"/>
51     #errors
52    
53     #data
54     <object xmlns="http://www.w3.org/1999/xhtml"
55     data=""
56     data-1="" data-2="custom data">x</object>
57     #errors

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24