Commit graph

261 commits

Author SHA1 Message Date
3a431fe134 Optimize nodes 2021-04-14 12:30:29 -05: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
0d7f7ef0bf More documentation updates, started on Element documentation 2021-04-09 14:18:57 -05:00
89f1b6eebc Remove errant die 2021-04-08 13:51:57 -05:00
80d71e1fb9 Fix reference for Document::body 2021-04-08 13:39:10 -05:00
d9e3a008a2 More documentation work 2021-04-08 12:37:03 -05:00
5b21004221 Documentation additions, Document::body 2021-04-08 12:04:57 -05:00
40fa000fdf Cleanup comments 2021-04-07 23:42:25 -05:00
3a0ffafc7a Changed ElementRegistry to ElementMap, destructors for ElementMap 2021-04-07 23:35:16 -05:00
dddb7601f4 Fix typos 2021-04-07 17:57:42 -04:00
71726e16f7 Do not use appendChild for attributes 2021-04-07 17:54:18 -04:00
6522a5b9d3 Fixed template element referencing, appending attribute nodes removed 2021-04-07 16:50:16 -05: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
f5cca19355 More documentation, disabled C14N 2021-04-05 15:48:41 -05:00
43e312b2af Added beginnings of documentation 2021-04-05 12:43:11 -05: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
3389903957 Remove lowercasing of namespace URIs 2021-04-01 09:50:13 -05:00
53199fd53a Normalize when setting element names and attribute names 2021-04-01 09:42:43 -05:00
30e7e8c6a7 More tests 2021-03-31 15:48:01 -04:00
a8a585269e Optimize Element::appendChild 2021-03-31 14:14:27 -05:00
b39ce364aa Oops, removed mistakenly-commited Attributes trait 2021-03-31 14:05:35 -05:00
4bbc615e57 Id fix when appending attribute nodes, attribute fixes on Document 2021-03-31 14:02:27 -05: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
d53b9237c4 Fix xmlns attributes properly 2021-03-30 12:01:26 -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
646278ed5e Update dependencies 2021-03-25 15:13:53 -04:00
91b9615f8a Started DOM documentation 2021-03-25 10:42:10 -05:00
1c20e458ea Element::classList fixes 2021-03-24 14:02:09 -05:00
a0fbe2d7bc Changed repo name to HTML 2021-03-24 08:59:37 -05:00
c023e35f9c Added Element::classList 2021-03-23 16:59:26 -05:00
4f2ded817c Fixed ownerDocument issue with TemplateElement 2021-03-23 12:41:25 -05:00
5ea14e81ca Added TemplateElement 2021-03-22 12:07:44 -05:00
5ad1c93a80 Clarify charset detection 2021-03-22 11:13:09 -04:00
28525a2c9f Don't claim copyright on machine-generated data
Note that the pattern has changed because sorting  differs in PHP 8, not
because of a specification change
2021-03-22 10:26:28 -04:00
d33929f4a1 Change namespace; add copyright info 2021-03-21 17:38:05 -04:00
1bf29f45bf Add DOMDocument to comparison table 2021-03-21 16:28:36 -04:00
aaf85387be Remove uses of is_null for consistency 2021-03-21 12:33:24 -04:00
8d5079deae Minor simplifications 2021-03-20 17:12:58 -04:00
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