Commit graph

79 commits

Author SHA1 Message Date
7f2f2337d4 Tests for inner/outerHTML getting 2021-04-19 18:40:00 -04:00
83653f3769 Fix getAttribute() 2021-04-19 17:14:30 -04:00
3730a8b3f3 Tests for Element::hasAttribute() 2021-04-14 18:41:35 -04:00
b0c06323f9 Tests for setting attribute nodes 2021-04-10 17:58:58 -04:00
f08f1a1a37 Fix up attribute testing
Coverage is not more specific, and handling of prefixes is improved
2021-04-10 13:07:38 -04:00
45411b7ccc Test attribute setting better 2021-04-09 17:49:13 -04:00
b53274fbdf Start on attribute-setting tests 2021-04-05 17:42:24 -04:00
2bfb77c081 Test template and attribute creation 2021-04-05 17:42:24 -04:00
f660ecaad4 Use createElementNS when creating bare elements
This forces coercion in more situations, but has the advantage of being
consistent with creating an element in the HTML namespace
2021-04-01 18:33:00 -04:00
16acfa8d66 Lowercase in createElementNS 2021-04-01 18:18:31 -04:00
30e7e8c6a7 More tests 2021-03-31 15:48:01 -04:00
ee5e9298e7 Tests and fixes for DOCTYPE serialization 2021-03-31 14:14:41 -04:00
9eacd21c9d Test edges of element serialization 2021-03-31 11:59:08 -04:00
4c7953ddc8 Fix xmlns attributes
This exposes the attributes in the DOM via a workaround, making it
possible to serialize them like any other attribute
2021-03-30 11:10:17 -04:00
3114f3a9bb Fix most serializer test failures
Three remain related to xmlns attributes
2021-03-29 18:50:45 -04:00
885cad0181 Conversion of WPT serializer tests 2021-03-29 09:22:25 -04:00
d33929f4a1 Change namespace; add copyright info 2021-03-21 17:38:05 -04:00
66fb537993 Clean up charset tests 2021-03-19 10:18:47 -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
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
da3657430b Fill out more coverage 2021-03-17 12:35:40 -04:00
329a86b082 Use separate class for null character tokens 2021-03-14 17:56:06 -04:00
354f5acf0a Simplify tree construction slightly 2021-03-14 13:00:36 -04: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
3e294e47aa Fix up the rest of the error counts 2021-03-11 12:28:40 -05:00
3f23040e1d Fix most parse error counts
More remain, though most have been addressed
2021-03-10 22:42:53 -05:00
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
01361efdb8 Various fixes 2021-03-06 21:41:12 -05:00
3108808c10 Testmore MathML properly 2021-02-23 21:09:52 -05:00
179a21441c Select and template insertion modes 2021-02-23 17:30:45 -05:00
68317d838e Fill in more insertion modes 2021-02-22 22:58:38 -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
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
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
5f1f02b552 Skip tests requiring unimplemented logic 2021-02-14 21:57:44 -05:00
1dc3d9c23e Emit whitespace-only character tokens
This makes tree building simpler in certain circumstances
2021-02-14 18:31:16 -05:00