| 1 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* HTML.pm.src (parse_char_stream): New method. |
| 4 |
|
(parse_char_string): This method is now defined as an invocation |
| 5 |
|
of the |parse_char_stream| method. |
| 6 |
|
|
| 7 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
| 8 |
|
|
| 9 |
|
* HTML.pm.src (parse_byte_string): Report various status |
| 10 |
|
of the sniffing as info-level errors. Support for new |
| 11 |
|
decoding framework in parser resestting. |
| 12 |
|
(new): Various default error levels were not set. |
| 13 |
|
|
| 14 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
| 15 |
|
|
| 16 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
| 17 |
|
algorithm, except for the actual sniffing, is implemented |
| 18 |
|
with new framework with Message::Charset::Info. |
| 19 |
|
|
| 20 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
| 21 |
|
|
| 22 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
| 23 |
|
URIs in fallback section (HTML5 revision 1596). |
| 24 |
|
|
| 25 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
| 26 |
|
|
| 27 |
|
* Makefile (Entities.html): URI has changed. |
| 28 |
|
|
| 29 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
| 30 |
|
|
| 31 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
| 32 |
|
1553). |
| 33 |
|
|
| 34 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
| 35 |
|
|
| 36 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
| 37 |
|
no longer table elements, but table objects returned |
| 38 |
|
by Whatpm::HTMLTable. |
| 39 |
|
|
| 40 |
|
* HTMLTable.pm (form_table): Return table element node |
| 41 |
|
as |$table->{element}|. |
| 42 |
|
(assign_header): Support for the |headers=""| attribute. |
| 43 |
|
|
| 44 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
| 45 |
|
|
| 46 |
|
* HTMLTable.pm (assign_header): New function; first version |
| 47 |
|
with no support for headers="". |
| 48 |
|
(form_table): Include table width and height to the returned |
| 49 |
|
table object for covenience. Indexing in column assignement was wrong. |
| 50 |
|
Set whether a data cell is empty or not for convenience. |
| 51 |
|
|
| 52 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 53 |
|
|
| 54 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
| 55 |
|
|
| 56 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 57 |
|
|
| 58 |
|
* HTMLTable.pm: How table model errors are detected is |
| 59 |
|
changed (HTML5 revision 1387). |
| 60 |
|
|
| 61 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 62 |
|
|
| 63 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
| 64 |
|
to the end of the table (HTML5 revision 1380). |
| 65 |
|
|
| 66 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 67 |
|
|
| 68 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
| 69 |
|
of 1-based (HTML5 revision 1376). |
| 70 |
|
|
| 71 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 72 |
|
|
| 73 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
| 74 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
| 75 |
|
revision 1288). |
| 76 |
|
|
| 77 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
| 78 |
|
|
| 79 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
| 80 |
|
1282). |
| 81 |
|
|
| 82 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
| 83 |
|
|
| 84 |
|
* ContentChecker.pm: Support for global attributes. |
| 85 |
|
Status of XML specs are added. |
| 86 |
|
|
| 87 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
| 88 |
|
|
| 89 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
| 90 |
|
and |ref=""| attribute (referent element type checking). |
| 91 |
|
|
| 92 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
| 93 |
|
|
| 94 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
| 95 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
| 96 |
|
knowledge). Line number counting was wrong for LF-only |
| 97 |
|
documents. |
| 98 |
|
|
| 99 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 100 |
|
|
| 101 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
| 102 |
|
character (HTML5 revision 1263). |
| 103 |
|
|
| 104 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 105 |
|
|
| 106 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
| 107 |
|
definition for |AElig;| was missing). |
| 108 |
|
|
| 109 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 110 |
|
|
| 111 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
| 112 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
| 113 |
|
|
| 114 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 115 |
|
|
| 116 |
|
* HTML.pm.src: List of element names that close foreign content |
| 117 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
| 118 |
|
|
| 119 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 120 |
|
|
| 121 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
| 122 |
|
elements (HTML5 revision 1410). |
| 123 |
|
|
| 124 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 125 |
|
|
| 126 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
| 127 |
|
revision 1406). |
| 128 |
|
|
| 129 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
| 130 |
|
|
| 131 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
| 132 |
|
elements (HTML5 revision 1404 and 1420). |
| 133 |
|
|
| 134 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
| 135 |
|
|
| 136 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
| 137 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
| 138 |
|
are removed. |
| 139 |
|
|
| 140 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
| 141 |
|
|
| 142 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
| 143 |
|
are raised is changed (HTML5 revision 1404). |
| 144 |
|
|
| 145 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
| 146 |
|
|
| 147 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
| 148 |
|
|
| 149 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
| 150 |
|
|
| 151 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
| 152 |
|
replaced by constants representing element category. |
| 153 |
|
|
| 154 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
| 155 |
|
|
| 156 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
| 157 |
|
for error reporting. (This is a preparation for using constant |
| 158 |
|
value for ->[1].) |
| 159 |
|
|
| 160 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
| 161 |
|
|
| 162 |
|
* RDFXML.pm: Typo fixed. |
| 163 |
|
|
| 164 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
| 165 |
|
|
| 166 |
|
* ContentChecker.pm: |fact_level| is now treated |
| 167 |
|
as same as |must_level|, i.e. level = |m|. |
| 168 |
|
(check_element): Make list of URIs in the DOM. |
| 169 |
|
|
| 170 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 171 |
|
|
| 172 |
|
* RDFXML.pm: Language accessor implemented. |
| 173 |
|
Local (null-namespace) attribute support. |
| 174 |
|
|
| 175 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 176 |
|
|
| 177 |
|
* RDFXML.pm: Factored out ID checking code. |
| 178 |
|
|
| 179 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 180 |
|
|
| 181 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
| 182 |
|
and URI attributes is implemented. Warn if unknown |
| 183 |
|
value is used in rdf:parseType="" attribute. |
| 184 |
|
|
| 185 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
| 186 |
|
|
| 187 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 188 |
|
|
| 189 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
| 190 |
|
are now resolved. |
| 191 |
|
|
| 192 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 193 |
|
|
| 194 |
|
* ContentChecker.pm: RDF reification implemented. |
| 195 |
|
|
| 196 |
|
* RDFXML.pm: undef vs false bug fixed. |
| 197 |
|
Reification implemented. |
| 198 |
|
|
| 199 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 200 |
|
|
| 201 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
| 202 |
|
The |node| arguments are added for |ontriple| calls. |
| 203 |
|
Too many "attribute not allowed" errors were raised. |
| 204 |
|
|
| 205 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
| 206 |
|
element. |
| 207 |
|
|
| 208 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
| 209 |
|
|
| 210 |
|
* RDFXML.pm: New module. |
| 211 |
|
|
| 212 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
| 213 |
|
|
| 214 |
|
* HTML.pm.src (set_inner_html): Line/column number |
| 215 |
|
code was old one yet. |
| 216 |
|
|
| 217 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
| 218 |
|
|
| 219 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
| 220 |
|
errors. Line/column markings for DOCTYPE, comment, and |
| 221 |
|
character tokens are reintroduced; otherwise, |
| 222 |
|
error location for "not HTML5" error and errors |
| 223 |
|
for implied elements are not attached. |
| 224 |
|
|
| 225 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
| 226 |
|
|
| 227 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
| 228 |
|
|
| 229 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
| 230 |
|
(value): Setter implemented. |
| 231 |
|
|
| 232 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
| 233 |
|
|
| 234 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
| 235 |
|
|
| 236 |
|
* HTML.pm.src: Unused line/column markings are removed. |
| 237 |
|
|
| 238 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
| 239 |
|
|
| 240 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
| 241 |
|
flag, which is no longer used. |
| 242 |
|
|
| 243 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
| 244 |
|
|
| 245 |
|
* HTML.pm.src: Set line/column information to element nodes. |
| 246 |
|
|
| 247 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
| 248 |
|
and !!!insert-element-t): Set line/column information to |
| 249 |
|
element nodes. |
| 250 |
|
|
| 251 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
| 252 |
|
|
| 253 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
| 254 |
|
in "<?", "<>", or "</>" should be the error point. |
| 255 |
|
|
| 256 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
| 257 |
|
|
| 258 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
| 259 |
|
|
| 260 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
| 261 |
|
|
| 262 |
|
* HTML.pm.src: Token-level precious error reporting. |
| 263 |
|
|
| 264 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
| 265 |
|
|
| 266 |
|
* HTML.pm.src: Preparation for more precious error point |
| 267 |
|
reporting. |
| 268 |
|
|
| 269 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
| 270 |
|
|
| 271 |
|
* HTML.pm.src: Error type revised. |
| 272 |
|
|
| 273 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
| 274 |
|
|
| 275 |
|
* HTML.pm.src: Similar codes are merged together, again. |
| 276 |
|
|
| 277 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
| 278 |
|
|
| 279 |
|
* HTML.pm.src: Similar codes are merged together. |
| 280 |
|
|
| 281 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
| 282 |
|
|
| 283 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
| 284 |
|
|
| 285 |
|
* HTML.pm.src: Code refined. |
| 286 |
|
|
| 287 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 288 |
|
|
| 289 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
| 290 |
|
revision 1348). Note that I really don't know this makes |
| 291 |
|
any difference in the black-box behavior of the parser. |
| 292 |
|
|
| 293 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 294 |
|
|
| 295 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
| 296 |
|
revision 1348). |
| 297 |
|
|
| 298 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 299 |
|
|
| 300 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
| 301 |
|
|
| 302 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 303 |
|
|
| 304 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
| 305 |
|
|
| 306 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 307 |
|
|
| 308 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
| 309 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
| 310 |
|
revision 1342). |
| 311 |
|
|
| 312 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 313 |
|
|
| 314 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
| 315 |
|
in non-tainted <table>s (HTML5 revision 1336). |
| 316 |
|
|
| 317 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 318 |
|
|
| 319 |
|
* HTML.pm.src: Ignore white space characters between <html> |
| 320 |
|
and <head> (HTML5 revision 1332). |
| 321 |
|
|
| 322 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
| 323 |
|
|
| 324 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
| 325 |
|
white space (HTML5 revision 1331). |
| 326 |
|
|
| 327 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 328 |
|
|
| 329 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
| 330 |
|
element (HTML5 revision 1330). |
| 331 |
|
|
| 332 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 333 |
|
|
| 334 |
|
* HTML.pm.src: <title> is always appended to the current |
| 335 |
|
element (HTML5 revision 1328). |
| 336 |
|
|
| 337 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 338 |
|
|
| 339 |
|
* HTML.pm.src: White space in tainted tables are moved |
| 340 |
|
into foster parents (HTML5 revision 1326). |
| 341 |
|
|
| 342 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 343 |
|
|
| 344 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
| 345 |
|
revision 1321). |
| 346 |
|
|
| 347 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 348 |
|
|
| 349 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
| 350 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
| 351 |
|
all of HTML5 revision 1320 changes. |
| 352 |
|
|
| 353 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 354 |
|
|
| 355 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
| 356 |
|
tags (HTML5 revision 1320). |
| 357 |
|
|
| 358 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 359 |
|
|
| 360 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
| 361 |
|
|
| 362 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 363 |
|
|
| 364 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
| 365 |
|
could not be reached so that it is now removed (HTML5 revision |
| 366 |
|
1320). |
| 367 |
|
|
| 368 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 369 |
|
|
| 370 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
| 371 |
|
to align with new spec text (HTML5 revision 1320). |
| 372 |
|
|
| 373 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 374 |
|
|
| 375 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
| 376 |
|
have had no harm in theory. |
| 377 |
|
|
| 378 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
| 379 |
|
|
| 380 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
| 381 |
|
case is split from other end tags for the preparation |
| 382 |
|
of implementing HTML revision 1320. |
| 383 |
|
|
| 384 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
| 385 |
|
|
| 386 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
| 387 |
|
revision 1320). |
| 388 |
|
|
| 389 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
| 390 |
|
|
| 391 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
| 392 |
|
and "div" (HTML5 revision 1318). Add comments to where |
| 393 |
|
|form| pointer association codes should be inserted (HTML5 revision |
| 394 |
|
1319). |
| 395 |
|
|
| 396 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
| 397 |
|
|
| 398 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
| 399 |
|
|
| 400 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
| 401 |
|
|
| 402 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
| 403 |
|
other token type, there are), it is replaced by a |die| statement. |
| 404 |
|
|
| 405 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
| 406 |
|
|
| 407 |
|
* HTML.pm.src: Typo fixed. |
| 408 |
|
|
| 409 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
| 410 |
|
|
| 411 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
| 412 |
|
doctypes were not uppercased for comparison. |
| 413 |
|
|
| 414 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 415 |
|
|
| 416 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
| 417 |
|
are added. |
| 418 |
|
|
| 419 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 420 |
|
|
| 421 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
| 422 |
|
are set. Cases that are unlikely reached are noted as so. |
| 423 |
|
|
| 424 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 425 |
|
|
| 426 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
| 427 |
|
|
| 428 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
| 429 |
|
|
| 430 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 431 |
|
|
| 432 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
| 433 |
|
for simplicity. |
| 434 |
|
|
| 435 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 436 |
|
|
| 437 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
| 438 |
|
revision 1307). |
| 439 |
|
|
| 440 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 441 |
|
|
| 442 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
| 443 |
|
is set are changed (HTML5 revision 1305). |
| 444 |
|
|
| 445 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 446 |
|
|
| 447 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
| 448 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
| 449 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
| 450 |
|
of attribute value literals (HTML5 revision 1296). More |
| 451 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
| 452 |
|
between attributes and ban attribute names or unquoted |
| 453 |
|
attribute values containing single or double quotes (HTML5 |
| 454 |
|
revision 1303). |
| 455 |
|
|
| 456 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 457 |
|
|
| 458 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
| 459 |
|
and related errors unless it is an HTML document (though the spec |
| 460 |
|
is unclear on whether it is applied to XHTML document). |
| 461 |
|
|
| 462 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
| 463 |
|
are added. |
| 464 |
|
|
| 465 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 466 |
|
|
| 467 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
| 468 |
|
|
| 469 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
| 470 |
|
|
| 471 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
| 472 |
|
|
| 473 |
|
* HTML.pm.src: |charset| in |content| attribute is |
| 474 |
|
case-insensitive (HTML5 revision 1270). |
| 475 |
|
|
| 476 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
| 477 |
|
|
| 478 |
|
* ContentChecker.pm: New status constants are added. |
| 479 |
|
($ElementDefault): |status| added. |
| 480 |
|
(check_element): Err for non-standard or deprecated elements. |
| 481 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
| 482 |
|
|
| 483 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 484 |
|
|
| 485 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
| 486 |
|
|
| 487 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 488 |
|
|
| 489 |
|
* ContentChecker.pm (check_element): Element standardized |
| 490 |
|
status information is now dispatched. |
| 491 |
|
|
| 492 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 493 |
|
|
| 494 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
| 495 |
|
problem by adding some more arguments. |
| 496 |
|
|
| 497 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 498 |
|
|
| 499 |
|
* ContentChecker.pm (check_element): Use context of |
| 500 |
|
container-for-the-purpose-of-content-model element (not transparent |
| 501 |
|
element) for |check_child_element| calling and significant |
| 502 |
|
text flag marking. This reintroduces |<del>|-and-significant |
| 503 |
|
problem again. |
| 504 |
|
|
| 505 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 506 |
|
|
| 507 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
| 508 |
|
elements ignored for the purpose of phase changes in |
| 509 |
|
content model checking. |
| 510 |
|
|
| 511 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 512 |
|
|
| 513 |
|
* ContentChecker.pm (check_element): In-element state |
| 514 |
|
was not properly managed for transparent cases. |
| 515 |
|
|
| 516 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 517 |
|
|
| 518 |
|
* ContentChecker.pm (check_element): Support for |video| |
| 519 |
|
and |audio| as semi-transparent elements. |
| 520 |
|
|
| 521 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 522 |
|
|
| 523 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
| 524 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
| 525 |
|
Support for |html:object| as a semi-transparent element. |
| 526 |
|
|
| 527 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 528 |
|
|
| 529 |
|
* ContentChecker.pm (check_element): The way to traverse |
| 530 |
|
the tree is entirely revised to make it easier to track |
| 531 |
|
the state of ancestors/descendants. As a result of this |
| 532 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
| 533 |
|
support for content model checking for HTML elements |figure|, |
| 534 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
| 535 |
|
some XMLNS checkings) are dropped for now. They will be |
| 536 |
|
reimplemented in due cource. |
| 537 |
|
|
| 538 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 539 |
|
|
| 540 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
| 541 |
|
token (HTML5 revision 1225). |
| 542 |
|
|
| 543 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 544 |
|
|
| 545 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
| 546 |
|
|
| 547 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
| 548 |
|
contains character references or not. |
| 549 |
|
|
| 550 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 551 |
|
|
| 552 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
| 553 |
|
imlement significant content checking for contents |
| 554 |
|
with |del| elements. |
| 555 |
|
|
| 556 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 557 |
|
|
| 558 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
| 559 |
|
elements are added. |
| 560 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
| 561 |
|
|
| 562 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
| 563 |
|
|
| 564 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
| 565 |
|
|
| 566 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
| 567 |
|
|
| 568 |
|
* CacheManifest.pod: Updated. |
| 569 |
|
|
| 570 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
| 571 |
|
|
| 572 |
|
* ContentChecker.pm (check_document, check_element): Support |
| 573 |
|
for second argument ($onsubdoc). |
| 574 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
| 575 |
|
|
| 576 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
| 577 |
|
|
| 578 |
|
* ContentChecker.pm (_get_css_parser): New. |
| 579 |
|
|
| 580 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
| 581 |
|
|
| 582 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
| 583 |
|
for checking had been used. |
| 584 |
|
|
| 585 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
| 586 |
|
|
| 587 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
| 588 |
|
|
| 589 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 590 |
|
|
| 591 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
| 592 |
|
specced in RFC 2046 and RFC 4288. |
| 593 |
|
(application/atom+xml): Definition added. |
| 594 |
|
|
| 595 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 596 |
|
|
| 597 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
| 598 |
|
warnings (rather than SHOULD-level errors). |
| 599 |
|
|
| 600 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 601 |
|
|
| 602 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
| 603 |
|
|
| 604 |
|
* HTML.pm.src: A flag for character references in attribute |
| 605 |
|
values are added. Set |manakai_has_reference| user data |
| 606 |
|
to |charset| attribute. |
| 607 |
|
|
| 608 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 609 |
|
|
| 610 |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |