oga/spec
Yorick Peterse 886a160c6a
Strip leading/trailing whitespace from CSS exprs
When tokenising CSS expressions we now strip leading and trailing
whitespace from the input string. This is performed without any checks
as a check + `String#strip` ended up being slower compared to just
running `String#strip`. On top of that we cache expressions anyway, so
the overhead of `String#strip` is very small.

Fixes https://gitlab.com/yorickpeterse/oga/issues/187
2018-01-04 22:02:50 +01:00
..
oga Strip leading/trailing whitespace from CSS exprs 2018-01-04 22:02:50 +01:00
support Revamped ancestor/ancestor-or-self axis specs 2015-08-26 22:35:13 +02:00
spec_helper.rb Use RSpec 3 expect syntax for tests 2017-06-17 13:52:43 +02:00