J. King
da0a4b12e3
Spec-related update
See https://github.com/whatwg/html/pull/8271
Also removed test patches which are no longer needed, and fixed a bug
exposed by new tests
The testsuite includes tests for the new <search> element, but this is
not included in the specification yet, so the tests have been suppressed
1 year ago
J. King
e11401d10d
Avoid dynamic property creation
1 year ago
J. King
29f2611c53
Remove or suppress coverage for unreachable lines
3 years ago
J. King
48dca59eb1
Further improve coverage
3 years ago
J. King
3c647c2284
Improve coverage further
This fixes a bug with forms within templates
3 years ago
J. King
8d388ef8cd
Improve coverage
This uncovered three bugs:
- Unconsuming at EOF with error reporting off yielded incorrect tokens
- Mangled end tags in foreign content were not being matched correctly
- Broken characters produced a fatal error with error reporting on
3 years ago
J. King
3de0f4343c
Fix remaining serializer bugs
3 years ago
J. King
e74d0d0f31
Prototype of serializer
Templates will need further handling
3 years ago
J. King
7b9a6ca472
Fix fragment parsing with template context
3 years ago
J. King
c8c06412d1
Simplify parser API
3 years ago
J. King
21fd99e40a
Remove most uses of parser exceptions
3 years ago
J. King
a6df609348
Remove all references to "tree builder"
3 years ago
J. King
ed42264348
Rename "tree builder" to "tree constructor"
This more closely matches modern specification nomenclature
3 years ago
J. King
6de6599411
Fix one last test
3 years ago
J. King
7901593961
Fix for the "after body" mode
3 years ago
J. King
4b5248f75a
Address most remaining test mismatches
3 years ago
J. King
4e8b8c8945
Resolve ambiguity in foreign content tests
This seems to violate the specification, but should be harmless
3 years ago
J. King
b34774fdec
Simplify foreign content processing
3 years ago
J. King
905ea234bc
Align parser better with test suite
1. Null-character tree construction errors have been added
2. Comments outside the root element are now tested for correctly
3 years ago
J. King
1a0875c2df
Emit one parse eror per character-related error
3 years ago
J. King
fcf162f8e6
Fix the last error and most remaining failures
3 years ago
J. King
13b0d0fe4f
Update for spec changes
3 years ago
J. King
4f2219edb7
Commit more fixes
Some remaining failures are due to spec/test changes
3 years ago
J. King
2a470c1008
Partially working HTML namespace support
3 years ago
J. King
6ee9f0ccc2
More PI tests
3 years ago
J. King
a88a3ae107
Support processing instructions
More tests are needed, but basic functionality has been validated
3 years ago
J. King
d0de04d870
Add some encoding-change tests and fix some bugs
3 years ago
J. King
8ef1e7faf6
Prototype implementation of changing of encoding
3 years ago
J. King
4dec2ea2c1
Clean up parse error handling
3 years ago
J. King
8115ac07d5
Provide basic API
3 years ago
J. King
3c8cc21064
Remove DOM features and related
3 years ago
J. King
3111c57a86
Move files
3 years ago
J. King
88af223a89
Parse to an unmodified DOM
3 years ago
J. King
b53274fbdf
Start on attribute-setting tests
3 years ago
J. King
d53b9237c4
Fix xmlns attributes properly
3 years ago
J. King
4c7953ddc8
Fix xmlns attributes
This exposes the attributes in the DOM via a workaround, making it
possible to serialize them like any other attribute
3 years ago
Dustin Wilson
c023e35f9c
Added Element::classList
3 years ago
Dustin Wilson
5ea14e81ca
Added TemplateElement
3 years ago
J. King
d33929f4a1
Change namespace; add copyright info
3 years ago
J. King
aaf85387be
Remove uses of is_null for consistency
3 years ago
J. King
8d5079deae
Minor simplifications
3 years ago
J. King
bfa7352713
Speed up character consumption
3 years ago
J. King
9db552e344
Optimize adoption agency
3 years ago
J. King
706db27a72
Minor optimizations to tree builder
3 years ago
J. King
7f3c93d966
Optimize tree builder
3 years ago
J. King
d319be477e
Improve coverage
3 years ago
J. King
82621a11e3
Sort out namespaced attributes
3 years ago
Dustin Wilson
02add5633a
More cleaning up of exceptions
3 years ago
J. King
93f0e3cf73
Minor cleanup
3 years ago
J. King
dfe3ad3a99
Remove obsolete comments
3 years ago