Renamed: HTMLSelector css_selector to selector.
Changed: using duck typing instead of requiring subclasses of Node and NodeSet.
Moved: initial assignment of @selector_is_second_argument is now in initialize.
Changed conditional check in filter. Removed weird comments.
Extracted: create Regexp from match_with and use =~ to compare instead of checking .is_a? Regexp every time through the loop.
Fixed: added apostrophe to possessive noun.
Simplified the removal of xpaths in remove_xpaths. Added more tests for remove_xpaths.
Changed back to =~ or == comparison in HTMLSelector filter.
Removed html_strings variable, no splat operator needed.
Changed attributes_are_equal? to equal_attribute_nodes? which takes attribute_nodes instead of nodes.
Reworked some internal documentation for equal_attribute_nodes?.
Removed case statement in equal_children? used child.element? instead.
Removed unnecessary documentation in DomAssertions.
Removed a bunch of duplicated tests in SanitizeHelperTest.
Fixed uninitialized constant ActionView::HTML error entered after recent git rebase.
Removed dom_assertion method since it created bugs.
Added deprecation warning to ActionDispatch::Assertions::TagAssertions.
Changed test expectation from '<<' to '' with string to sanitize '<<<bad html>' in sanitizers_test.
Removed require's for html-scanner.
Stylistic improvements. Some light documentation for remove_xpaths.