8 Commits

Author SHA1 Message Date
Michael Williamson
27c021131c Use simpler structure for HTML without fragments 2016-06-09 22:32:30 +01:00
Michael Williamson
2e818b7bea Improve collapsing of elements when there are empty elements
Specifically, strip out empty nodes before attempting to collapse.
2016-03-23 00:11:16 +00:00
Michael Williamson
b97b743968 Fix recursive collapsing elements 2015-10-14 19:59:21 +01:00
Michael Williamson
1cd9f96c6f Fix test name 2015-10-14 19:26:50 +01:00
Michael Williamson
46ad965f93 Add extra tests for simplification of empty elements 2015-10-14 19:14:11 +01:00
Michael Williamson
7b7ce0d563 Collapse similar HTML elements 2015-10-13 23:49:31 +01:00
Michael Williamson
e04d054a1b Reuse matchesElement from HTML paths 2015-10-13 22:14:41 +01:00
Michael Williamson
aac776b171 Add simplification of nodes 2015-10-13 22:10:42 +01:00