Commit graph

216 commits

Author SHA1 Message Date
bfa7352713 Speed up character consumption 2021-03-20 16:24:12 -04:00
9db552e344 Optimize adoption agency 2021-03-20 12:13:53 -04:00
706db27a72 Minor optimizations to tree builder 2021-03-19 19:21:44 -04:00
f8ba63629c Speed up tokenizer slightly
Speed gain is not entirely reliable, so README is left alone for now
2021-03-19 16:41:25 -04:00
7f3c93d966 Optimize tree builder 2021-03-19 16:11:26 -04:00
fa4cd1e09f Serializer optimization 2021-03-19 14:20:57 -05:00
fbefea3073 Add Walk and Moonwalk generators 2021-03-19 14:01:49 -05:00
66fb537993 Clean up charset tests 2021-03-19 10:18:47 -04:00
54a4b95da6 Note handling of bogus XLink namespace 2021-03-18 18:36:31 -04:00
d319be477e Improve coverage 2021-03-18 16:19:06 -04:00
95e6cf7d6c Defer further unit testing of tokenizer
Integration testing with tree builder is good enough
2021-03-18 15:31:24 -04:00
1353cdc8ab Tests for xml:id 2021-03-18 13:59:38 -04:00
82621a11e3 Sort out namespaced attributes 2021-03-18 12:40:54 -04:00
02add5633a More cleaning up of exceptions 2021-03-18 09:08:07 -05:00
4d15451270 Fix syntax error 2021-03-17 18:21:29 -04:00
b5016d7899 Starting to clean up exceptions 2021-03-17 17:00:13 -05:00
4771a65239 Added setAttributeNode, setAttributeNodeNS support for id attributes 2021-03-17 16:41:08 -05:00
36213800ff Typo 2021-03-17 17:21:10 -04:00
fe8c39d841 Add some tokenizer tests 2021-03-17 17:16:42 -04:00
b4d2f21199 Add missing tests for charset pre-scan 2021-03-17 15:35:44 -04:00
93f0e3cf73 Minor cleanup 2021-03-17 14:04:14 -04:00
da3657430b Fill out more coverage 2021-03-17 12:35:40 -04:00
3915b41e47 Set id attributes as IDs
xml:id attributes also work on foreign content
2021-03-17 11:52:47 -04:00
66093df6b7 Fix fragment parser and regression in innerHTML 2021-03-17 10:58:00 -04:00
b174c6b49b inner and outerHTML now use parseFragment, fixes to parseFragment 2021-03-17 09:49:44 -05:00
b6c854be11 Finished off outerHTML 2021-03-17 08:36:44 -05:00
a0025e572d More comparison data 2021-03-16 22:50:31 -04:00
3deddbddf3 More comparison items 2021-03-16 21:42:33 -04:00
3f1e71d45e Add draft comparison table 2021-03-16 19:07:38 -04:00
e498f014d2 Use fixed intl 2021-03-16 19:04:12 -04:00
dfe3ad3a99 Remove obsolete comments 2021-03-16 15:40:04 -04:00
c1bf8c983b Added innerHTML to Element, getting of outerHTML, started on setting 2021-03-16 14:37:20 -05:00
6cac402375 Minor cleanup 2021-03-16 14:42:21 -04:00
ef2cb5a835 Don't emit errors if positions are not tracked 2021-03-16 13:35:08 -04:00
8131888634 Expose original document encoding 2021-03-16 11:27:53 -04:00
66d0699947 Don't pass the stack unnecessarily 2021-03-16 11:01:10 -04:00
2522059fa8 Fix object reference cycle 2021-03-16 10:52:37 -04:00
0392b816c0 Move integration point checking to tree builder 2021-03-15 13:04:11 -04:00
403432bad5 Consolidate tree constructor into single loop 2021-03-15 12:12:43 -04:00
55516faeea Remove last instance of recursive reprocessing 2021-03-15 10:26:18 -04:00
5895614c2c Remove more instances of recursive reprocessing 2021-03-14 23:38:35 -04:00
329a86b082 Use separate class for null character tokens 2021-03-14 17:56:06 -04:00
b4c50a1115 Fixed missed double emission in tokenizer 2021-03-14 16:26:19 -04:00
354f5acf0a Simplify tree construction slightly 2021-03-14 13:00:36 -04:00
ce127d0192 Fixed printing of document types 2021-03-14 11:52:32 -05:00
7f53465951 Fix remaining error positions 2021-03-13 21:00:59 -05:00
c6c51475cf Convert tokenizer to generator
Some error positions still need to be fixed
2021-03-13 18:03:15 -05:00
3111c88376 Optimize character consumption
Relies on pending changes to intl
2021-03-12 23:47:47 -05:00
dfac8ad4f1 Reduce calls to count() 2021-03-12 22:45:41 -05:00
8031648e03 Speed up the open elements stack 2021-03-12 09:49:30 -05:00