| 1 |
wakaba |
1.94 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
|
| 3 |
wakaba |
1.97 |
* HTML.pm.src: |or|s for insertion modes are replaced |
| 4 |
|
|
by |&|s. |
| 5 |
|
|
|
| 6 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 7 |
|
|
|
| 8 |
wakaba |
1.96 |
* HTML.pm.src: Token types are now represented in number. |
| 9 |
|
|
|
| 10 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 11 |
|
|
|
| 12 |
wakaba |
1.95 |
* ContentType.pm (SEE ALSO): Updated. |
| 13 |
|
|
|
| 14 |
|
|
* HTML.pm.src: Insertion modes are now represented in number. |
| 15 |
|
|
|
| 16 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 17 |
|
|
|
| 18 |
wakaba |
1.94 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
| 19 |
|
|
999) is implemented. |
| 20 |
|
|
|
| 21 |
wakaba |
1.93 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
| 22 |
|
|
|
| 23 |
|
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
| 24 |
|
|
983) is implemented. |
| 25 |
|
|
|
| 26 |
wakaba |
1.92 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
| 27 |
|
|
|
| 28 |
|
|
* ContentChecker.pod: New documentation. |
| 29 |
|
|
|
| 30 |
|
|
* Makefile: A rule for |ContentChecker.html| is added. |
| 31 |
|
|
|
| 32 |
|
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
| 33 |
|
|
|
| 34 |
|
|
* NanoDOM.pm ($VERSION): New variable. |
| 35 |
|
|
|
| 36 |
wakaba |
1.90 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
| 37 |
|
|
|
| 38 |
wakaba |
1.91 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
| 39 |
|
|
list of allowed HTML elements. |
| 40 |
|
|
|
| 41 |
|
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
| 42 |
|
|
|
| 43 |
wakaba |
1.90 |
* H2H.pm: |samp| is added to the list of allowed |
| 44 |
|
|
HTML elements. |
| 45 |
|
|
|
| 46 |
|
|
* URIChecker.pm (check_iri): New. |
| 47 |
|
|
(check_iri_reference): Error type for IRI reference |
| 48 |
|
|
syntax error is changed. |
| 49 |
|
|
|
| 50 |
wakaba |
1.87 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 51 |
|
|
|
| 52 |
wakaba |
1.89 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
| 53 |
|
|
is added. |
| 54 |
|
|
(check_document): Load appropriate module before validation. |
| 55 |
|
|
|
| 56 |
|
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 57 |
|
|
|
| 58 |
wakaba |
1.88 |
* ContentChecker/: New directory. |
| 59 |
|
|
|
| 60 |
|
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 61 |
|
|
|
| 62 |
wakaba |
1.87 |
* ContentChecker.pm: HTML |time| element is implemented. |
| 63 |
|
|
|
| 64 |
|
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
| 65 |
|
|
|
| 66 |
wakaba |
1.71 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 67 |
|
|
|
| 68 |
wakaba |
1.86 |
* ContentChecker.pm (check_document): Return value |
| 69 |
|
|
even if no document element is found. |
| 70 |
|
|
|
| 71 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 72 |
|
|
|
| 73 |
wakaba |
1.85 |
* HTML.pm.src: |$in_body| is no longer a function. |
| 74 |
|
|
|
| 75 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 76 |
|
|
|
| 77 |
wakaba |
1.84 |
* HTML.pm.src: The |$in_body| code has been moved down. |
| 78 |
|
|
|
| 79 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
|
|
| 81 |
wakaba |
1.83 |
* HTML.pm.src: The "trailing end" insertion mode |
| 82 |
|
|
is split into "after html body" and "after html frameset" |
| 83 |
|
|
insertion modes. Their codes are merged with "after body" |
| 84 |
|
|
and "after frameset" codes. |$previous_insertion_mode| |
| 85 |
|
|
has been removed. "after frameset" code is |
| 86 |
|
|
merged with "in frameset" code. |
| 87 |
|
|
|
| 88 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 89 |
|
|
|
| 90 |
wakaba |
1.82 |
* HTML.pm.src: The "before head" insertion mode is |
| 91 |
|
|
merged with the "in head" insertion mode. |
| 92 |
|
|
|
| 93 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 94 |
|
|
|
| 95 |
wakaba |
1.81 |
* HTML.pm.src: Cases in "in head" insertion mode are |
| 96 |
|
|
reorganized. |
| 97 |
|
|
|
| 98 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 99 |
|
|
|
| 100 |
wakaba |
1.80 |
* HTML.pm.src: Some cases in "in table" insertion mode |
| 101 |
|
|
are merged. |
| 102 |
|
|
|
| 103 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 104 |
|
|
|
| 105 |
wakaba |
1.79 |
* HTML.pm.src: The "in row" insertion mode is merged |
| 106 |
|
|
with "in table" insertion mode. |
| 107 |
|
|
|
| 108 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 109 |
|
|
|
| 110 |
wakaba |
1.78 |
* HTML.pm.src: The "in table" and "in table body" insertion |
| 111 |
|
|
modes are merged. |
| 112 |
|
|
|
| 113 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 114 |
|
|
|
| 115 |
wakaba |
1.77 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
| 116 |
|
|
insertion mode! |
| 117 |
|
|
|
| 118 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 119 |
|
|
|
| 120 |
wakaba |
1.76 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
| 121 |
|
|
now directly invoke the handler. |
| 122 |
|
|
|
| 123 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 124 |
|
|
|
| 125 |
wakaba |
1.75 |
* HTML.pm.src: Codes for "in cell" insertion mode |
| 126 |
|
|
is merged to the "in body" insertion mode code. |
| 127 |
|
|
|
| 128 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 129 |
|
|
|
| 130 |
wakaba |
1.74 |
* HTML.pm.src: Codes for "in body" and "in caption" |
| 131 |
|
|
insertion modes are merged. |
| 132 |
|
|
|
| 133 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 134 |
|
|
|
| 135 |
wakaba |
1.73 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
| 136 |
|
|
|
| 137 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 138 |
|
|
|
| 139 |
wakaba |
1.72 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
| 140 |
|
|
instead of string constant for |{content_model_flag}|. |
| 141 |
|
|
|
| 142 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 143 |
|
|
|
| 144 |
wakaba |
1.71 |
* HTML.pm.src: Add the name of the attribute |
| 145 |
|
|
to the "duplicate attribute" error. |
| 146 |
|
|
|
| 147 |
wakaba |
1.69 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
| 148 |
|
|
|
| 149 |
wakaba |
1.70 |
* ContentChecker.pm: Return the |class| node list. |
| 150 |
|
|
|
| 151 |
|
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
| 152 |
|
|
|
| 153 |
wakaba |
1.69 |
* ContentChecker.pm: Return the |id| node list. |
| 154 |
|
|
|
| 155 |
|
|
* HTML.pm.src: A typo is fixed. |
| 156 |
|
|
|
| 157 |
wakaba |
1.63 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 158 |
|
|
|
| 159 |
wakaba |
1.68 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
| 160 |
|
|
from "in HTML:xml:lang" error. Character position |
| 161 |
|
|
is now the last part of the error type in the URI error |
| 162 |
|
|
description. Report "unsupported" status for language |
| 163 |
|
|
tags, media queries, script codes, and style sheets. |
| 164 |
|
|
|
| 165 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 166 |
|
|
|
| 167 |
wakaba |
1.67 |
* ContentChecker.pm: Report error if |xml:lang| |
| 168 |
|
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
| 169 |
|
|
in XML. |
| 170 |
|
|
|
| 171 |
|
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
| 172 |
|
|
|
| 173 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 174 |
|
|
|
| 175 |
wakaba |
1.66 |
* HTML.pm.src: The character immediately following |
| 176 |
|
|
a bare |hcro| was discarded. Fix handling of |
| 177 |
|
|
entity references in attribute values. |
| 178 |
|
|
|
| 179 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 180 |
|
|
|
| 181 |
wakaba |
1.65 |
* HTML.pm.src (main and trailin end phases): Token |
| 182 |
|
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
| 183 |
|
|
factored out. Error types |in html:#DOCTYPE| |
| 184 |
|
|
and |after html:#DOCTYPE| are merged |
| 185 |
|
|
into |DOCTYPE in the middle|. |</frameset>| |
| 186 |
|
|
in fragment parsing mode changed the |
| 187 |
|
|
insertion mode. |
| 188 |
|
|
|
| 189 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 190 |
|
|
|
| 191 |
wakaba |
1.64 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
| 192 |
|
|
phase is now an insertion mode. Treatments for white |
| 193 |
|
|
space character tokens were incorrect for some |
| 194 |
|
|
insertion modes. An old |meta| case was not removed. |
| 195 |
|
|
|
| 196 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 197 |
|
|
|
| 198 |
wakaba |
1.63 |
* HTML.pm.src: |meta| charset declaration extraction |
| 199 |
|
|
implemented (but changing the encoding is not yet:-). |
| 200 |
|
|
|
| 201 |
wakaba |
1.60 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 202 |
|
|
|
| 203 |
wakaba |
1.62 |
* Charset/: New directory. |
| 204 |
|
|
|
| 205 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 206 |
|
|
|
| 207 |
wakaba |
1.61 |
* H2H.pm: New Perl module (created from |
| 208 |
|
|
manakai's H2H.dis). |
| 209 |
|
|
|
| 210 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 211 |
|
|
|
| 212 |
wakaba |
1.60 |
* XMLSerializer.pm: New Perl module (created from |
| 213 |
|
|
manakai's SimpleLS.dis). |
| 214 |
|
|
|
| 215 |
wakaba |
1.59 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
| 216 |
|
|
|
| 217 |
|
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
| 218 |
|
|
|
| 219 |
wakaba |
1.57 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
| 220 |
|
|
|
| 221 |
wakaba |
1.58 |
* HTML.pm.src: Report correct error message |
| 222 |
|
|
for |<body></div></body>|. |
| 223 |
|
|
|
| 224 |
|
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
| 225 |
|
|
|
| 226 |
wakaba |
1.57 |
* HTMLTable.pm: An error description was incorrect. |
| 227 |
|
|
|
| 228 |
|
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 229 |
|
|
|
| 230 |
|
|
* ContentChecker.pm: Return |{term}| list. |
| 231 |
|
|
|
| 232 |
wakaba |
1.55 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 233 |
|
|
|
| 234 |
wakaba |
1.56 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
| 235 |
|
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
| 236 |
|
|
and <title> outside of head). |
| 237 |
|
|
|
| 238 |
|
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 239 |
|
|
|
| 240 |
wakaba |
1.55 |
* IMTChecker.pm: Report warning for unregistered |
| 241 |
|
|
and private types/subtypes. |
| 242 |
|
|
|
| 243 |
|
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
| 244 |
|
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
| 245 |
|
|
consistent; they are all listed in |
| 246 |
|
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
| 247 |
|
|
|
| 248 |
wakaba |
1.52 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 249 |
|
|
|
| 250 |
wakaba |
1.54 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
| 251 |
|
|
is now erred. |<datalist>| is implemented. |
| 252 |
|
|
Attribute checker for |<command>| and |<menu>| are |
| 253 |
|
|
added. Support for |contextmenu| global attribute |
| 254 |
|
|
is added. |
| 255 |
|
|
|
| 256 |
|
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 257 |
|
|
|
| 258 |
wakaba |
1.53 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
| 259 |
|
|
of Step 3 has been changed. |
| 260 |
|
|
|
| 261 |
|
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 262 |
|
|
|
| 263 |
wakaba |
1.52 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
| 264 |
|
|
|
| 265 |
wakaba |
1.47 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 266 |
|
|
|
| 267 |
wakaba |
1.51 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
| 268 |
|
|
incorrect. |
| 269 |
|
|
|
| 270 |
|
|
* ContentChecker.pm: Support for the |footer| element. |
| 271 |
|
|
Check URI syntax for space-separated URI attributes. |
| 272 |
|
|
Support for the |tabindex| attribute. Support |
| 273 |
|
|
for |datetime| attribute. |
| 274 |
|
|
|
| 275 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 276 |
|
|
|
| 277 |
wakaba |
1.50 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
| 278 |
|
|
character references). HTML5 revision 1.146 (white space |
| 279 |
|
|
characters before root start tag). HTML5 revision |
| 280 |
|
|
1.148 (named character references in attribute values). |
| 281 |
|
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
| 282 |
|
|
|
| 283 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 284 |
|
|
|
| 285 |
|
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
| 286 |
wakaba |
1.49 |
in <head>). |
| 287 |
|
|
|
| 288 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 289 |
|
|
|
| 290 |
wakaba |
1.48 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
| 291 |
|
|
in body). |
| 292 |
|
|
|
| 293 |
|
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
| 294 |
|
|
|
| 295 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 296 |
|
|
|
| 297 |
wakaba |
1.47 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
| 298 |
|
|
or RCDATA in fragment parsing mode). HTML5 revision |
| 299 |
|
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
| 300 |
|
|
|
| 301 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 302 |
|
|
|
| 303 |
|
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
| 304 |
|
|
for <pre> and <textarea>). |
| 305 |
|
|
|
| 306 |
wakaba |
1.33 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 307 |
|
|
|
| 308 |
wakaba |
1.46 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
| 309 |
|
|
|
| 310 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 311 |
|
|
|
| 312 |
wakaba |
1.45 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
| 313 |
|
|
|
| 314 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 315 |
|
|
|
| 316 |
wakaba |
1.44 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
| 317 |
|
|
HTML5 revision 917 (conforming bare &). |
| 318 |
|
|
|
| 319 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 320 |
|
|
|
| 321 |
wakaba |
1.43 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
| 322 |
|
|
|
| 323 |
|
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
| 324 |
|
|
HTML5 revision 915 (<nobr>). |
| 325 |
|
|
|
| 326 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 327 |
|
|
|
| 328 |
wakaba |
1.42 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
| 329 |
|
|
|
| 330 |
|
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
| 331 |
|
|
New attributes. |
| 332 |
|
|
|
| 333 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 334 |
|
|
|
| 335 |
wakaba |
1.41 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
| 336 |
|
|
in tags). |
| 337 |
|
|
|
| 338 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 339 |
|
|
|
| 340 |
wakaba |
1.40 |
* .cvsignore: |Entities.html| is added. |
| 341 |
|
|
|
| 342 |
|
|
* HTML.pm.src: |$entity_char| is removed and |
| 343 |
|
|
requires |Whatpm::_NamedEntityList| instead. |
| 344 |
|
|
HTML5 revision 898 (refc), except that lack of refc |
| 345 |
|
|
is parse error. |
| 346 |
|
|
|
| 347 |
|
|
* mkentitylist.pl: New script. |
| 348 |
|
|
|
| 349 |
|
|
* Makefile (all): |_NamedEntityList.pm| is added. |
| 350 |
|
|
(_NamedEntityList.pm, Entities.html): New rules. |
| 351 |
|
|
|
| 352 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 353 |
|
|
|
| 354 |
wakaba |
1.39 |
* HTML.pm.src: Parse errors immediately after U+000D |
| 355 |
|
|
were ignored and U+000D immediately following another |
| 356 |
|
|
U+000D was not converted to U+000A. |
| 357 |
|
|
|
| 358 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 359 |
|
|
|
| 360 |
wakaba |
1.38 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
| 361 |
|
|
nodes before appended). Parser was not ready for NULL |
| 362 |
|
|
parse error and escape flag. |
| 363 |
|
|
|
| 364 |
|
|
* NanoDOM.pm (adopt_node): New. |
| 365 |
|
|
|
| 366 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 367 |
|
|
|
| 368 |
wakaba |
1.37 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
| 369 |
|
|
CDATA and RCDATA). Note that current implementation |
| 370 |
|
|
is simply repeating what the spec says and it is maybe not |
| 371 |
|
|
a best way to do it. |
| 372 |
|
|
|
| 373 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 374 |
|
|
|
| 375 |
wakaba |
1.36 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
| 376 |
|
|
the form element if a descendant element without implied end tag has |
| 377 |
|
|
still been open). |
| 378 |
|
|
|
| 379 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 380 |
|
|
|
| 381 |
wakaba |
1.35 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
| 382 |
|
|
space characters non-conforming). |
| 383 |
|
|
|
| 384 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 385 |
|
|
|
| 386 |
wakaba |
1.34 |
* HTML.pm.src: An error message was incorrect. |
| 387 |
|
|
HTML5 revision 869 (C1 character references). |
| 388 |
|
|
|
| 389 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 390 |
|
|
|
| 391 |
wakaba |
1.33 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
| 392 |
|
|
a |textarea| is removed). |
| 393 |
|
|
|
| 394 |
wakaba |
1.32 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
| 395 |
|
|
|
| 396 |
|
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
| 397 |
|
|
|
| 398 |
|
|
* ContentChecker.pm: |script| |async| and |defer| |
| 399 |
|
|
no longer require |src|. |async| MUST NOT be |
| 400 |
|
|
specified if |defer|. (HTML5 revision 858). |
| 401 |
|
|
|
| 402 |
wakaba |
1.31 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
| 403 |
|
|
|
| 404 |
|
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
| 405 |
|
|
|
| 406 |
wakaba |
1.27 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 407 |
|
|
|
| 408 |
wakaba |
1.30 |
* ContentChecker.pm (html): Set |is_root| (allowed |
| 409 |
|
|
as a document element) flag on. |
| 410 |
|
|
(new): Removed. |
| 411 |
|
|
(check_document): New method. |
| 412 |
|
|
|
| 413 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 414 |
|
|
|
| 415 |
wakaba |
1.29 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
| 416 |
|
|
were incorrect. |
| 417 |
|
|
|
| 418 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 419 |
|
|
|
| 420 |
wakaba |
1.28 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
| 421 |
|
|
error position in the |type| option of the error. |
| 422 |
|
|
|
| 423 |
|
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
| 424 |
|
|
is now optional. Some bugs are fixed. |
| 425 |
|
|
|
| 426 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 427 |
|
|
|
| 428 |
wakaba |
1.27 |
* HTMLTable.pm: New module. |
| 429 |
|
|
|
| 430 |
|
|
* ContentChecker.pm (table): Invoke table model error checker. |
| 431 |
|
|
|
| 432 |
|
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
| 433 |
|
|
|
| 434 |
wakaba |
1.25 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 435 |
|
|
|
| 436 |
wakaba |
1.26 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
| 437 |
|
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
| 438 |
|
|
|
| 439 |
|
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
| 440 |
|
|
|
| 441 |
|
|
* _LinkTypeList.pm: New file. |
| 442 |
|
|
|
| 443 |
|
|
* mklinktypelist.pl: New file. |
| 444 |
|
|
|
| 445 |
|
|
* .cvsignore: |RelExtensions.html| added. |
| 446 |
|
|
|
| 447 |
|
|
* NanoDOM.pm (child_nodes): Returns an empty array |
| 448 |
|
|
for non-child-containing node types. |
| 449 |
|
|
(text_content): New attribute. |
| 450 |
|
|
|
| 451 |
|
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 452 |
|
|
|
| 453 |
wakaba |
1.25 |
* IMTChecker.pm: New module. |
| 454 |
|
|
|
| 455 |
|
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
| 456 |
|
|
to test parameter value validity. |
| 457 |
|
|
|
| 458 |
|
|
* HTML.pm.src ($style_start_tag): Attributes were |
| 459 |
|
|
discarded. |
| 460 |
|
|
|
| 461 |
wakaba |
1.22 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 462 |
|
|
|
| 463 |
wakaba |
1.24 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
| 464 |
|
|
|
| 465 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 466 |
|
|
|
| 467 |
wakaba |
1.23 |
* URIChecker.pm: All recommendations from RFC 3986 |
| 468 |
|
|
and RFC 3987 are listed (not all testable items are checked yet). |
| 469 |
|
|
|
| 470 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 471 |
|
|
|
| 472 |
wakaba |
1.22 |
* URIChecker.pm: New module. |
| 473 |
|
|
|
| 474 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 475 |
|
|
|
| 476 |
wakaba |
1.21 |
* ContentChecker.pm: Now most attributes are implemented |
| 477 |
|
|
or associated to some placeholder. |
| 478 |
|
|
($ElementDefault): Warn unknown attributes |
| 479 |
|
|
for unknown elements as "attribute not supported". |
| 480 |
|
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
| 481 |
|
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
| 482 |
|
|
(|a| attribute checker): Reimplemented. |
| 483 |
|
|
|
| 484 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 485 |
|
|
|
| 486 |
wakaba |
1.20 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
| 487 |
|
|
($HTMLAttrChecker): Event handler content attributes |
| 488 |
|
|
are added. |
| 489 |
|
|
(link, embed): Required attribute is now checked. |
| 490 |
|
|
(embed): Unknown local attributes are no longer warned. |
| 491 |
|
|
|
| 492 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 493 |
|
|
|
| 494 |
wakaba |
1.19 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
| 495 |
|
|
($HTMLIMTAttrChecker): New checker. |
| 496 |
|
|
(link@rel, link@href, link@type, style@type, |
| 497 |
|
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
| 498 |
|
|
object@data, object@type, source@src, source@type, area@alt, |
| 499 |
|
|
area@shape, area@coords, area@href, |
| 500 |
|
|
area@ping, area@rel, area@type, script@src, |
| 501 |
|
|
script@defer, script@async, script@type): Checkers added. |
| 502 |
|
|
|
| 503 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 504 |
|
|
|
| 505 |
wakaba |
1.18 |
* ContentChecker.pm: Descendant checking was incorrect. |
| 506 |
|
|
|
| 507 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 508 |
|
|
|
| 509 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
| 510 |
|
|
attributes. Report an error if |Element.prefix| |
| 511 |
|
|
is |xmlns|. |
| 512 |
|
|
|
| 513 |
|
|
* NanoDOM.pm (prefix): New attribute. |
| 514 |
|
|
|
| 515 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 516 |
|
|
|
| 517 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
| 518 |
|
|
mode, action for |<iframe>| was missing. |
| 519 |
|
|
|
| 520 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 521 |
|
|
|
| 522 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
| 523 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
| 524 |
|
|
|
| 525 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 526 |
|
|
|
| 527 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
| 528 |
|
|
($HTMLURIAttrChecker): Placeholder. |
| 529 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
| 530 |
|
|
New. |
| 531 |
|
|
|
| 532 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 533 |
|
|
|
| 534 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
| 535 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
| 536 |
|
|
|
| 537 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
| 538 |
|
|
to the parent node. |
| 539 |
|
|
(Attr::new): Set |owner_element| attribute. |
| 540 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
| 541 |
|
|
(owner_element): New attribute. |
| 542 |
|
|
|
| 543 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 544 |
|
|
|
| 545 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
| 546 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
| 547 |
|
|
$Element->{$HTML_NS}->{''}): New. |
| 548 |
|
|
(check_element): Invoke attrs_checker for each element. |
| 549 |
|
|
|
| 550 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 551 |
|
|
|
| 552 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
| 553 |
|
|
|
| 554 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 555 |
|
|
|
| 556 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
| 557 |
|
|
element type testings. |
| 558 |
|
|
|
| 559 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 560 |
|
|
|
| 561 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
| 562 |
|
|
error when an element type is put in the "minus" list |
| 563 |
|
|
and the element type is not allowed explicitly in the particular |
| 564 |
|
|
element content model. |
| 565 |
|
|
(html:a checker): New checker. |
| 566 |
|
|
(html:details, html:datagrid): New checkers. |
| 567 |
|
|
(html:legend): New checker. |
| 568 |
|
|
|
| 569 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 570 |
|
|
|
| 571 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
| 572 |
|
|
|
| 573 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 574 |
|
|
|
| 575 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
| 576 |
|
|
checker. |
| 577 |
|
|
(html:dd checker): New checker. |
| 578 |
|
|
(html:q, html:em, html:strong, html:small, |
| 579 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
| 580 |
|
|
|
| 581 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 582 |
|
|
|
| 583 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
| 584 |
|
|
from |$ElementDefault->{checker}|. |
| 585 |
|
|
($ElementDefault->{checker}): Throw an error that |
| 586 |
|
|
the element type is not supported by the checker. |
| 587 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
| 588 |
|
|
($HTMLEmptyChecker): Don't throw an error |
| 589 |
|
|
for inter-element whitespace nodes. |
| 590 |
|
|
(html:html checker): Errors were not |
| 591 |
|
|
thrown even if |html:head| and/or |html:body| |
| 592 |
|
|
children were missing. |
| 593 |
|
|
(html:head checker): An error was not |
| 594 |
|
|
thrown if <meta charset> appered after other |
| 595 |
|
|
elements. |
| 596 |
|
|
|
| 597 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
| 598 |
|
|
|
| 599 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
| 600 |
|
|
and |noscript| elements are implemented. |
| 601 |
|
|
(new): New method. |
| 602 |
|
|
|
| 603 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
| 604 |
|
|
|
| 605 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
| 606 |
|
|
|
| 607 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
| 608 |
|
|
|
| 609 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
| 610 |
|
|
document_element, manakai_local_name, |
| 611 |
|
|
manakai_element_type_match): New method. |
| 612 |
|
|
|
| 613 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
| 614 |
|
|
|
| 615 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
| 616 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
| 617 |
|
|
did not count as new line for error reporting. |
| 618 |
|
|
|
| 619 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
| 620 |
|
|
|
| 621 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
| 622 |
|
|
(append_child): Weaken the |parent_node| reference. |
| 623 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
| 624 |
|
|
reference. |
| 625 |
|
|
(implementation): New attribute. |
| 626 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
| 627 |
|
|
|
| 628 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
| 629 |
|
|
are now provided to error handler. |
| 630 |
|
|
(!!!parse-error): Short descriptions are added. |
| 631 |
|
|
(_construct_tree): Split into three methods; support |
| 632 |
|
|
for innerHTML mode. |
| 633 |
|
|
(set_inner_html): New method. |
| 634 |
|
|
|
| 635 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 636 |
|
|
|
| 637 |
|
|
* NanoDOM.html: Documentation is added. |
| 638 |
|
|
|
| 639 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
| 640 |
|
|
|
| 641 |
|
|
* .cvsignore: Pod2html temporary files are added. |
| 642 |
|
|
|
| 643 |
|
|
* Makefile: Make |NanoDOM.html|. |
| 644 |
|
|
|
| 645 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 646 |
|
|
|
| 647 |
|
|
* HTML.pm.src (parse_string): New method. |
| 648 |
|
|
(get_inner_html): Renamed from |inner_html|. |
| 649 |
|
|
|
| 650 |
|
|
* Makefile: A rule for |HTML.html| is added. |
| 651 |
|
|
|
| 652 |
|
|
* HTML.pod: New documentation. |
| 653 |
|
|
|
| 654 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 655 |
|
|
|
| 656 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
| 657 |
|
|
(clone_node): Attribute nodes were not completely copied. |
| 658 |
|
|
|
| 659 |
|
|
* HTML.pm.src: Many bugs are fixed. |
| 660 |
|
|
|
| 661 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 662 |
|
|
|
| 663 |
|
|
* HTML.pm.src: Some typos are fixed. |
| 664 |
|
|
|
| 665 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 666 |
|
|
|
| 667 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
| 668 |
|
|
are removed. |
| 669 |
|
|
|
| 670 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
| 671 |
|
|
|
| 672 |
|
|
* HTML-consume-entity.src: Removed. |
| 673 |
|
|
|
| 674 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 675 |
|
|
|
| 676 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
| 677 |
|
|
numeric entities are rewritten. |
| 678 |
|
|
|
| 679 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 680 |
|
|
|
| 681 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
| 682 |
|
|
|
| 683 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 684 |
|
|
|
| 685 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
| 686 |
|
|
|
| 687 |
|
|
* mkhtmlparser.pl: New macros are added. |
| 688 |
|
|
|
| 689 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
| 690 |
|
|
|
| 691 |
|
|
* ContentType.pm: A note on bug in the specification |
| 692 |
|
|
is removed since it's been now fixed. |
| 693 |
|
|
|
| 694 |
|
|
* .cvsignore: New file. |
| 695 |
|
|
|
| 696 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
| 697 |
|
|
|
| 698 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
| 699 |
|
|
|
| 700 |
|
|
* Makefile (HTML.pm): New rule. |
| 701 |
|
|
|
| 702 |
|
|
* mkhtmlparser.pl: New script. |
| 703 |
|
|
|
| 704 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
| 705 |
|
|
|
| 706 |
|
|
* Makefile: New file. |
| 707 |
|
|
|
| 708 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 709 |
|
|
|
| 710 |
|
|
* ContentType.pm: An error in pod is fixed. |
| 711 |
|
|
|
| 712 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 713 |
|
|
|
| 714 |
|
|
* ContentType.pm: Documentation is added. |
| 715 |
|
|
|
| 716 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 717 |
|
|
|
| 718 |
|
|
* ContentType.pm: New Perl module. |
| 719 |
|
|
|
| 720 |
|
|
* ChangeLog: New file. |
| 721 |
|
|
|
| 722 |
|
|
|