J. King
b4d2f21199
Add missing tests for charset pre-scan
3 years ago
J. King
da3657430b
Fill out more coverage
3 years ago
J. King
329a86b082
Use separate class for null character tokens
3 years ago
J. King
354f5acf0a
Simplify tree construction slightly
3 years ago
J. King
7f53465951
Fix remaining error positions
3 years ago
J. King
c6c51475cf
Convert tokenizer to generator
Some error positions still need to be fixed
3 years ago
J. King
3e294e47aa
Fix up the rest of the error counts
3 years ago
J. King
3f23040e1d
Fix most parse error counts
More remain, though most have been addressed
3 years ago
J. King
fd01acfa5c
Partial fixes for adoption agency
3 years ago
J. King
f50c46952e
Implement XML infoset coercion
3 years ago
J. King
01361efdb8
Various fixes
3 years ago
J. King
3108808c10
Testmore MathML properly
3 years ago
J. King
179a21441c
Select and template insertion modes
3 years ago
J. King
68317d838e
Fill in more insertion modes
3 years ago
J. King
dc9dc9953a
Partial adoption agency implementation
3 years ago
J. King
752ab05464
Implement rest of in-body insertion mode
3 years ago
J. King
9758c08da2
Various minor corrections
3 years ago
J. King
1228ecca17
Corrective pass over foreign content stuff
3 years ago
J. King
065f9c97d6
Handle non-foreign fragment cases
3 years ago
J. King
aeb08b5f5d
Fix remaining failures
Fragment-case tests still need to be harnessed to test all functionality
3 years ago
J. King
5376ed43a5
Don't trim whitespace other than newlines in tests
3 years ago
J. King
ab972a838c
Fix DOCTYPE serialization
Also patch all top-level comments out
3 years ago
J. King
eebc45cb82
Patch tests to suppress root commnts
3 years ago
J. King
d35e4f909e
Correct error in tst harness related to comments
3 years ago
J. King
5f1f02b552
Skip tests requiring unimplemented logic
3 years ago
J. King
1dc3d9c23e
Emit whitespace-only character tokens
This makes tree building simpler in certain circumstances
3 years ago
J. King
504731cba0
Bring coverage backend up to date
3 years ago
J. King
e3a271f06b
Fix first failure in tree builder
3 years ago
J. King
bb4002abcb
Stub the tree builder properly
3 years ago
J. King
eea70eccd8
Test harness for tree construction
3 years ago
J. King
a35e8c8ae5
Update character decoders
3 years ago
J. King
269d0ecc64
Patch tests based on input not unstable identifier
4 years ago
J. King
37aecf97ba
Remove scripted encoding test workaround
The test has been segregated, making the workaround unnecessary
4 years ago
J. King
28f0bbfe72
Suppress only one scripting test
4 years ago
J. King
1f3c33ad9e
Better coverage of BOM-based detection
4 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
c1162f962f
Add missing test
5 years ago
J. King
2aa6bb2dea
Remove unnecessary test abstraction
5 years ago
J. King
49f31015ac
Start on character encoding detection
5 years ago
J. King
318d7bd7ad
Patch remaining test failures away
5 years ago
J. King
00bf9974c5
Fix up most error reporting positions
5 years ago
J. King
58a1177888
Address errors and omissions in error emission
One test still fails, though it is arguably immaterial. This does not
account for line and column number, which are known to be mostly
off by one.
5 years ago
J. King
5a12fa8ad7
Tidying
5 years ago
J. King
ff4447e986
Include pending spec changes tests
5 years ago
J. King
e8f35e92fb
Character reference fixes
One test in the "entities.test" file is till failing
5 years ago
J. King
67c7f382e2
Prep for character references
- Add missing state constants
- Break all existing deviations for character refs
- Add assertions before use of $attribute
- Also fix DOCTYPE state
5 years ago
J. King
43f380c1f9
Fix EOF and end tags
- End tags now emit errors if they have attributes
- End tags now emit errors if they are self-closing
- The last character before EOF is now correctly reconsumed
Also changed the tokenizer debug log to be zero-cost
5 years ago
J. King
4e4aee2edd
Update intl dependency
5 years ago