…s, which otherwise would produce spurious logs Update related test, fix typo within docs
…turns specificity for a given selector
…lic. Previously a user was required to read through the code and parse out the POD to see the description. This file is generated through the Makefile. Moving forward this will just be periodically done by hand such that the README stays up to date.
…ling pod section containing all documents rather than inline documentation. Previously the resulting POD display became mangled upon render
… can't parse far
…unless we had a cached result
…is can't ever work... need a different way of making sure that the root node within the query is always an empty tree. Looks like need to instantiate new object
…an issue whereby querying for speciicity would have caused query to do a lot of work for no reason. For example you have a big tree loaded, you only want the specificity of a selector, not the elements that match the selector. In this case there was no way to avoid performing a heavy "query". In these cases we do a quick substitute of the tree after which specificity uses a tiny tree to perform the calculation. Should save time in some cases
Not sure how bad this problem of uninitialized Query might be since i don't understand all the ways it currently can instantiate itself
…y in this module and is the blueprint for how we iterate through selectors. This is the most appropriate place for the specificity code. Added some helper methods to assist with this. Still need to add tests here.....
… hack to support that need a better way to do this that is more flexible, I suspect more will turn up
…results set in a way that happens to match what firefox does. It mostly works - deduping is 100% correct, the ordering needs additional attention. adjusted the way we look for the universal tag and check for errors with tags - seems to pass all the universal tests now added more tests to universal
https://rt.cpan.org/Public/Bug/Display.html?id=62100 Also, make object a hash instead of an array so we can store instance state necessary to fix above bug and error reporting.
… I thought it was making a mistake by counting html there... now we have the same count here too