Commit graph

156 commits

Author SHA1 Message Date
fd01acfa5c Partial fixes for adoption agency 2021-03-08 17:09:23 -05:00
f50c46952e Implement XML infoset coercion 2021-03-07 16:50:27 -05:00
5d9b1a3a68 Start on infoset coercison 2021-03-07 12:20:46 -05:00
2637d76639 Update dependencies for PHP 8 2021-03-06 23:14:20 -05:00
647665579a Add newer special elements 2021-03-06 22:04:33 -05:00
01361efdb8 Various fixes 2021-03-06 21:41:12 -05:00
3108808c10 Testmore MathML properly 2021-02-23 21:09:52 -05:00
c25e4eca41 Implement rest of insertion modes 2021-02-23 20:58:33 -05:00
179a21441c Select and template insertion modes 2021-02-23 17:30:45 -05:00
6bc95f8ccf Fix bug in stack with foreign content 2021-02-23 12:14:42 -05:00
0cb64ed689 Add more insertion modes
A bug remains which will require major re-organizaton of code to fix
2021-02-23 11:35:54 -05:00
68317d838e Fill in more insertion modes 2021-02-22 22:58:38 -05:00
fdb63ebedf Fix tokenizer bug 2021-02-22 22:58:18 -05:00
dc9dc9953a Partial adoption agency implementation 2021-02-22 10:38:19 -05:00
752ab05464 Implement rest of in-body insertion mode 2021-02-20 12:18:03 -05:00
0cfaced6b3 Fix CDATA tokenizer bugs 2021-02-20 09:09:38 -05:00
a8d2ee4174 Fill out more of the "in body" insertion mode
This only passes a few morectests because handling of end tags
is still mostly missing
2021-02-19 20:18:13 -05:00
baaa00e544 Implement a in body
Adoption agency will be handled later
2021-02-18 23:13:55 -05:00
9f19763cd0 Rewrite ative formatting reconstruction 2021-02-18 19:15:09 -05:00
400940af36 Fix pushing to the list of active formatting elements 2021-02-18 17:40:10 -05:00
9758c08da2 Various minor corrections 2021-02-18 11:24:28 -05:00
1228ecca17 Corrective pass over foreign content stuff 2021-02-18 10:30:49 -05:00
065f9c97d6 Handle non-foreign fragment cases 2021-02-17 21:45:14 -05:00
aeb08b5f5d Fix remaining failures
Fragment-case tests still need to be harnessed to test all functionality
2021-02-17 14:39:24 -05:00
979cec628e Overhaul open elements stack 2021-02-16 10:05:02 -05:00
5376ed43a5 Don't trim whitespace other than newlines in tests 2021-02-15 11:42:56 -05:00
ab972a838c Fix DOCTYPE serialization
Also patch all top-level comments out
2021-02-15 11:34:45 -05:00
eebc45cb82 Patch tests to suppress root commnts 2021-02-15 08:44:06 -05:00
d35e4f909e Correct error in tst harness related to comments 2021-02-15 00:12:58 -05:00
32f4cca039 Type hints for tree builder properties 2021-02-14 23:39:17 -05:00
5f1f02b552 Skip tests requiring unimplemented logic 2021-02-14 21:57:44 -05:00
8e7a0f6284 Clean up foreign content case normalization 2021-02-14 20:28:37 -05:00
6798c128e4 Correct unknown DOCTYPE checking 2021-02-14 19:33:23 -05:00
29fd5e2ccb Fix invalid property accesses 2021-02-14 18:50:24 -05:00
1dc3d9c23e Emit whitespace-only character tokens
This makes tree building simpler in certain circumstances
2021-02-14 18:31:16 -05:00
504731cba0 Bring coverage backend up to date 2021-02-14 18:25:35 -05:00
9c3764da65 Stub of adoption agency 2021-02-14 15:44:05 -05:00
a8ff431370 Corrective pass over exising insertion modes 2021-02-14 15:09:00 -05:00
f8b9cf2c2b Avoid implicit looping and switching
The while loop has been replaced with gotos where appropriate, and
switching has been replaced with a series of if-blocks in line with the
same logic in the tokenizer.
2021-02-13 14:37:04 -05:00
e3a271f06b Fix first failure in tree builder 2021-02-13 10:29:07 -05:00
1fa2f701cb Update section of tokenization in spec comments 2021-02-13 10:14:26 -05:00
4e5fd35775 Fix a few tree tests 2021-02-12 23:26:57 -05:00
bb4002abcb Stub the tree builder properly 2021-02-12 22:46:10 -05:00
eea70eccd8 Test harness for tree construction 2021-02-12 21:05:48 -05:00
a35e8c8ae5 Update character decoders 2021-02-12 09:51:30 -05:00
ad0a8ae27a Replace Content-Type parser with proper version 2020-09-25 12:34:53 -04:00
596a58eff1 Update tooling 2020-09-25 12:22:16 -04:00
0056e6cbc6 Support PCOV for coverage 2020-09-20 09:30:25 -04:00
4e79f378a8 Fix bug uncovered by new tests 2020-09-17 09:12:14 -04:00
269d0ecc64 Patch tests based on input not unstable identifier 2020-09-17 09:10:32 -04:00