| 1 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
| 4 |
|
|
| 5 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
| 6 |
|
|
| 7 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 8 |
|
|
| 9 |
|
* ContentChecker.pm (check_document): Return value |
| 10 |
|
even if no document element is found. |
| 11 |
|
|
| 12 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 13 |
|
|
| 14 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
| 15 |
|
|
| 16 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 17 |
|
|
| 18 |
|
* HTML.pm.src: The |$in_body| code has been moved down. |
| 19 |
|
|
| 20 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 21 |
|
|
| 22 |
|
* HTML.pm.src: The "trailing end" insertion mode |
| 23 |
|
is split into "after html body" and "after html frameset" |
| 24 |
|
insertion modes. Their codes are merged with "after body" |
| 25 |
|
and "after frameset" codes. |$previous_insertion_mode| |
| 26 |
|
has been removed. "after frameset" code is |
| 27 |
|
merged with "in frameset" code. |
| 28 |
|
|
| 29 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 30 |
|
|
| 31 |
|
* HTML.pm.src: The "before head" insertion mode is |
| 32 |
|
merged with the "in head" insertion mode. |
| 33 |
|
|
| 34 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 35 |
|
|
| 36 |
|
* HTML.pm.src: Cases in "in head" insertion mode are |
| 37 |
|
reorganized. |
| 38 |
|
|
| 39 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 40 |
|
|
| 41 |
|
* HTML.pm.src: Some cases in "in table" insertion mode |
| 42 |
|
are merged. |
| 43 |
|
|
| 44 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 45 |
|
|
| 46 |
|
* HTML.pm.src: The "in row" insertion mode is merged |
| 47 |
|
with "in table" insertion mode. |
| 48 |
|
|
| 49 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 50 |
|
|
| 51 |
|
* HTML.pm.src: The "in table" and "in table body" insertion |
| 52 |
|
modes are merged. |
| 53 |
|
|
| 54 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 55 |
|
|
| 56 |
|
* HTML.pm.src: There is no "in table head" or "in table foot" |
| 57 |
|
insertion mode! |
| 58 |
|
|
| 59 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 60 |
|
|
| 61 |
|
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
| 62 |
|
now directly invoke the handler. |
| 63 |
|
|
| 64 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 65 |
|
|
| 66 |
|
* HTML.pm.src: Codes for "in cell" insertion mode |
| 67 |
|
is merged to the "in body" insertion mode code. |
| 68 |
|
|
| 69 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 70 |
|
|
| 71 |
|
* HTML.pm.src: Codes for "in body" and "in caption" |
| 72 |
|
insertion modes are merged. |
| 73 |
|
|
| 74 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 75 |
|
|
| 76 |
|
* HTML.pm.src: Two |!!!next-token|s were missing. |
| 77 |
|
|
| 78 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 79 |
|
|
| 80 |
|
* HTML.pm.src: Use numeric constant for |{content_mode}| |
| 81 |
|
instead of string constant for |{content_model_flag}|. |
| 82 |
|
|
| 83 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 84 |
|
|
| 85 |
|
* HTML.pm.src: Add the name of the attribute |
| 86 |
|
to the "duplicate attribute" error. |
| 87 |
|
|
| 88 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
| 89 |
|
|
| 90 |
|
* ContentChecker.pm: Return the |class| node list. |
| 91 |
|
|
| 92 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
| 93 |
|
|
| 94 |
|
* ContentChecker.pm: Return the |id| node list. |
| 95 |
|
|
| 96 |
|
* HTML.pm.src: A typo is fixed. |
| 97 |
|
|
| 98 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 99 |
|
|
| 100 |
|
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
| 101 |
|
from "in HTML:xml:lang" error. Character position |
| 102 |
|
is now the last part of the error type in the URI error |
| 103 |
|
description. Report "unsupported" status for language |
| 104 |
|
tags, media queries, script codes, and style sheets. |
| 105 |
|
|
| 106 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 107 |
|
|
| 108 |
|
* ContentChecker.pm: Report error if |xml:lang| |
| 109 |
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
| 110 |
|
in XML. |
| 111 |
|
|
| 112 |
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
| 113 |
|
|
| 114 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 115 |
|
|
| 116 |
|
* HTML.pm.src: The character immediately following |
| 117 |
|
a bare |hcro| was discarded. Fix handling of |
| 118 |
|
entity references in attribute values. |
| 119 |
|
|
| 120 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 121 |
|
|
| 122 |
|
* HTML.pm.src (main and trailin end phases): Token |
| 123 |
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
| 124 |
|
factored out. Error types |in html:#DOCTYPE| |
| 125 |
|
and |after html:#DOCTYPE| are merged |
| 126 |
|
into |DOCTYPE in the middle|. |</frameset>| |
| 127 |
|
in fragment parsing mode changed the |
| 128 |
|
insertion mode. |
| 129 |
|
|
| 130 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 131 |
|
|
| 132 |
|
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
| 133 |
|
phase is now an insertion mode. Treatments for white |
| 134 |
|
space character tokens were incorrect for some |
| 135 |
|
insertion modes. An old |meta| case was not removed. |
| 136 |
|
|
| 137 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
| 138 |
|
|
| 139 |
|
* HTML.pm.src: |meta| charset declaration extraction |
| 140 |
|
implemented (but changing the encoding is not yet:-). |
| 141 |
|
|
| 142 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 143 |
|
|
| 144 |
|
* Charset/: New directory. |
| 145 |
|
|
| 146 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 147 |
|
|
| 148 |
|
* H2H.pm: New Perl module (created from |
| 149 |
|
manakai's H2H.dis). |
| 150 |
|
|
| 151 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
| 152 |
|
|
| 153 |
|
* XMLSerializer.pm: New Perl module (created from |
| 154 |
|
manakai's SimpleLS.dis). |
| 155 |
|
|
| 156 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
| 157 |
|
|
| 158 |
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
| 159 |
|
|
| 160 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
| 161 |
|
|
| 162 |
|
* HTML.pm.src: Report correct error message |
| 163 |
|
for |<body></div></body>|. |
| 164 |
|
|
| 165 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
| 166 |
|
|
| 167 |
|
* HTMLTable.pm: An error description was incorrect. |
| 168 |
|
|
| 169 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 170 |
|
|
| 171 |
|
* ContentChecker.pm: Return |{term}| list. |
| 172 |
|
|
| 173 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 174 |
|
|
| 175 |
|
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
| 176 |
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
| 177 |
|
and <title> outside of head). |
| 178 |
|
|
| 179 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
| 180 |
|
|
| 181 |
|
* IMTChecker.pm: Report warning for unregistered |
| 182 |
|
and private types/subtypes. |
| 183 |
|
|
| 184 |
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
| 185 |
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
| 186 |
|
consistent; they are all listed in |
| 187 |
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
| 188 |
|
|
| 189 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 190 |
|
|
| 191 |
|
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
| 192 |
|
is now erred. |<datalist>| is implemented. |
| 193 |
|
Attribute checker for |<command>| and |<menu>| are |
| 194 |
|
added. Support for |contextmenu| global attribute |
| 195 |
|
is added. |
| 196 |
|
|
| 197 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 198 |
|
|
| 199 |
|
* HTML.pm.src (_reset_insertion_mode): Interpretation |
| 200 |
|
of Step 3 has been changed. |
| 201 |
|
|
| 202 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
| 203 |
|
|
| 204 |
|
* HTML.pm.src: Late |<html>| parse error is implemented. |
| 205 |
|
|
| 206 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 207 |
|
|
| 208 |
|
* URIChecker.pm (check_iri_reference): A |decode| method name was |
| 209 |
|
incorrect. |
| 210 |
|
|
| 211 |
|
* ContentChecker.pm: Support for the |footer| element. |
| 212 |
|
Check URI syntax for space-separated URI attributes. |
| 213 |
|
Support for the |tabindex| attribute. Support |
| 214 |
|
for |datetime| attribute. |
| 215 |
|
|
| 216 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 217 |
|
|
| 218 |
|
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
| 219 |
|
character references). HTML5 revision 1.146 (white space |
| 220 |
|
characters before root start tag). HTML5 revision |
| 221 |
|
1.148 (named character references in attribute values). |
| 222 |
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
| 223 |
|
|
| 224 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 225 |
|
|
| 226 |
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
| 227 |
|
in <head>). |
| 228 |
|
|
| 229 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 230 |
|
|
| 231 |
|
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
| 232 |
|
in body). |
| 233 |
|
|
| 234 |
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
| 235 |
|
|
| 236 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
| 237 |
|
|
| 238 |
|
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
| 239 |
|
or RCDATA in fragment parsing mode). HTML5 revision |
| 240 |
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
| 241 |
|
|
| 242 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 243 |
|
|
| 244 |
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
| 245 |
|
for <pre> and <textarea>). |
| 246 |
|
|
| 247 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 248 |
|
|
| 249 |
|
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
| 250 |
|
|
| 251 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 252 |
|
|
| 253 |
|
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
| 254 |
|
|
| 255 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 256 |
|
|
| 257 |
|
* HTML.pm.src: HTML5 revision 916 (</body>). |
| 258 |
|
HTML5 revision 917 (conforming bare &). |
| 259 |
|
|
| 260 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 261 |
|
|
| 262 |
|
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
| 263 |
|
|
| 264 |
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
| 265 |
|
HTML5 revision 915 (<nobr>). |
| 266 |
|
|
| 267 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 268 |
|
|
| 269 |
|
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
| 270 |
|
|
| 271 |
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
| 272 |
|
New attributes. |
| 273 |
|
|
| 274 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 275 |
|
|
| 276 |
|
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
| 277 |
|
in tags). |
| 278 |
|
|
| 279 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 280 |
|
|
| 281 |
|
* .cvsignore: |Entities.html| is added. |
| 282 |
|
|
| 283 |
|
* HTML.pm.src: |$entity_char| is removed and |
| 284 |
|
requires |Whatpm::_NamedEntityList| instead. |
| 285 |
|
HTML5 revision 898 (refc), except that lack of refc |
| 286 |
|
is parse error. |
| 287 |
|
|
| 288 |
|
* mkentitylist.pl: New script. |
| 289 |
|
|
| 290 |
|
* Makefile (all): |_NamedEntityList.pm| is added. |
| 291 |
|
(_NamedEntityList.pm, Entities.html): New rules. |
| 292 |
|
|
| 293 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 294 |
|
|
| 295 |
|
* HTML.pm.src: Parse errors immediately after U+000D |
| 296 |
|
were ignored and U+000D immediately following another |
| 297 |
|
U+000D was not converted to U+000A. |
| 298 |
|
|
| 299 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 300 |
|
|
| 301 |
|
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
| 302 |
|
nodes before appended). Parser was not ready for NULL |
| 303 |
|
parse error and escape flag. |
| 304 |
|
|
| 305 |
|
* NanoDOM.pm (adopt_node): New. |
| 306 |
|
|
| 307 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 308 |
|
|
| 309 |
|
* HTML.pm.src: HTML5 revision 886 (insane comment in |
| 310 |
|
CDATA and RCDATA). Note that current implementation |
| 311 |
|
is simply repeating what the spec says and it is maybe not |
| 312 |
|
a best way to do it. |
| 313 |
|
|
| 314 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 315 |
|
|
| 316 |
|
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
| 317 |
|
the form element if a descendant element without implied end tag has |
| 318 |
|
still been open). |
| 319 |
|
|
| 320 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 321 |
|
|
| 322 |
|
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
| 323 |
|
space characters non-conforming). |
| 324 |
|
|
| 325 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 326 |
|
|
| 327 |
|
* HTML.pm.src: An error message was incorrect. |
| 328 |
|
HTML5 revision 869 (C1 character references). |
| 329 |
|
|
| 330 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
| 331 |
|
|
| 332 |
|
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
| 333 |
|
a |textarea| is removed). |
| 334 |
|
|
| 335 |
|
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
| 336 |
|
|
| 337 |
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
| 338 |
|
|
| 339 |
|
* ContentChecker.pm: |script| |async| and |defer| |
| 340 |
|
no longer require |src|. |async| MUST NOT be |
| 341 |
|
specified if |defer|. (HTML5 revision 858). |
| 342 |
|
|
| 343 |
|
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
| 344 |
|
|
| 345 |
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
| 346 |
|
|
| 347 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 348 |
|
|
| 349 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
| 350 |
|
as a document element) flag on. |
| 351 |
|
(new): Removed. |
| 352 |
|
(check_document): New method. |
| 353 |
|
|
| 354 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 355 |
|
|
| 356 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
| 357 |
|
were incorrect. |
| 358 |
|
|
| 359 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 360 |
|
|
| 361 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
| 362 |
|
error position in the |type| option of the error. |
| 363 |
|
|
| 364 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
| 365 |
|
is now optional. Some bugs are fixed. |
| 366 |
|
|
| 367 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 368 |
|
|
| 369 |
|
* HTMLTable.pm: New module. |
| 370 |
|
|
| 371 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
| 372 |
|
|
| 373 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
| 374 |
|
|
| 375 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 376 |
|
|
| 377 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
| 378 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
| 379 |
|
|
| 380 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
| 381 |
|
|
| 382 |
|
* _LinkTypeList.pm: New file. |
| 383 |
|
|
| 384 |
|
* mklinktypelist.pl: New file. |
| 385 |
|
|
| 386 |
|
* .cvsignore: |RelExtensions.html| added. |
| 387 |
|
|
| 388 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
| 389 |
|
for non-child-containing node types. |
| 390 |
|
(text_content): New attribute. |
| 391 |
|
|
| 392 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 393 |
|
|
| 394 |
* IMTChecker.pm: New module. |
* IMTChecker.pm: New module. |