J. King
bdddbeacd6
Fix adoption agency
4 years ago
J. King
d3a12f56cf
Correct handling of h6 end tag
4 years ago
J. King
cd41770653
First pass at high-level API
4 years ago
J. King
fd01acfa5c
Partial fixes for adoption agency
4 years ago
J. King
f50c46952e
Implement XML infoset coercion
4 years ago
J. King
5d9b1a3a68
Start on infoset coercison
4 years ago
J. King
647665579a
Add newer special elements
4 years ago
J. King
01361efdb8
Various fixes
4 years ago
J. King
3108808c10
Testmore MathML properly
4 years ago
J. King
c25e4eca41
Implement rest of insertion modes
4 years ago
J. King
179a21441c
Select and template insertion modes
4 years ago
J. King
6bc95f8ccf
Fix bug in stack with foreign content
4 years ago
J. King
0cb64ed689
Add more insertion modes
A bug remains which will require major re-organizaton of code to fix
4 years ago
J. King
68317d838e
Fill in more insertion modes
4 years ago
J. King
fdb63ebedf
Fix tokenizer bug
4 years ago
J. King
dc9dc9953a
Partial adoption agency implementation
4 years ago
J. King
752ab05464
Implement rest of in-body insertion mode
4 years ago
J. King
0cfaced6b3
Fix CDATA tokenizer bugs
4 years ago
J. King
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
4 years ago
J. King
baaa00e544
Implement a in body
Adoption agency will be handled later
4 years ago
J. King
9f19763cd0
Rewrite ative formatting reconstruction
4 years ago
J. King
400940af36
Fix pushing to the list of active formatting elements
4 years ago
J. King
9758c08da2
Various minor corrections
4 years ago
J. King
1228ecca17
Corrective pass over foreign content stuff
4 years ago
J. King
065f9c97d6
Handle non-foreign fragment cases
4 years ago
J. King
aeb08b5f5d
Fix remaining failures
Fragment-case tests still need to be harnessed to test all functionality
4 years ago
J. King
979cec628e
Overhaul open elements stack
4 years ago
J. King
ab972a838c
Fix DOCTYPE serialization
Also patch all top-level comments out
4 years ago
J. King
d35e4f909e
Correct error in tst harness related to comments
4 years ago
J. King
32f4cca039
Type hints for tree builder properties
4 years ago
J. King
5f1f02b552
Skip tests requiring unimplemented logic
4 years ago
J. King
8e7a0f6284
Clean up foreign content case normalization
4 years ago
J. King
6798c128e4
Correct unknown DOCTYPE checking
4 years ago
J. King
29fd5e2ccb
Fix invalid property accesses
4 years ago
J. King
1dc3d9c23e
Emit whitespace-only character tokens
This makes tree building simpler in certain circumstances
4 years ago
J. King
9c3764da65
Stub of adoption agency
4 years ago
J. King
a8ff431370
Corrective pass over exising insertion modes
4 years ago
J. King
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.
4 years ago
J. King
e3a271f06b
Fix first failure in tree builder
4 years ago
J. King
1fa2f701cb
Update section of tokenization in spec comments
4 years ago
J. King
4e5fd35775
Fix a few tree tests
4 years ago
J. King
ad0a8ae27a
Replace Content-Type parser with proper version
4 years ago
J. King
4e79f378a8
Fix bug uncovered by new tests
4 years ago
J. King
f72809d621
Relax dependence on ctype
5 years ago
J. King
1f3c33ad9e
Better coverage of BOM-based detection
5 years ago
J. King
21c9377b3a
Docblock for BOM detection
5 years ago
J. King
06e43504d0
Tweaks
5 years ago
J. King
164e5ff1e8
Add standard charset detection tests
- Various new tests needed for full coverage, noted in comment
- Byte Order Mark detection methopd added
- Japanese encodings nt yet supported, so tests marked incomplete
- Tests requiring scripting suppressed
5 years ago
J. King
a7e1083681
Prototype character encoding detection
5 years ago
J. King
49f31015ac
Start on character encoding detection
5 years ago