oga/spec
Yorick Peterse eb3a3e7630 Use the descendant axis for CSS selectors.
Instead of using "descendant-or-self" Oga will use "descendant". This ensures
that expressions such as "foo *" don't return a set also including the "foo"
element.

Nokogiri solves this problem in a somewhat different way by using //foo//* for
the CSS expression "foo *". While this works in Nokogiri the expression
"descendant-or-self::node()" is slow as a snail in Oga (due to its nature of
retrieving _all_ nodes first). By using "descendant" we can work around this
problem.
2014-11-05 00:22:09 +01:00
..
oga Use the descendant axis for CSS selectors. 2014-11-05 00:22:09 +01:00
support Added initial CSS evaluation tests. 2014-11-04 23:34:01 +01:00
spec_helper.rb Added initial CSS evaluation tests. 2014-11-04 23:34:01 +01:00