kdl icon indicating copy to clipboard operation
kdl copied to clipboard

Align KDL Query grammar with prose

Open bgotink opened this issue 1 year ago • 0 comments

The values() and props() accessors were only mentioned in the grammaer, with no explanation whatsoever about what they were supposed to do.

The val() accessor required an argument in the grammar while the prose repeatedly mentions val() as equivalent to val(0).

This was mentioned in #489. The other changes proposed in that issue are a bit more impactful (rename val() to arg(), introduce negation syntax, introduce equivalent to CSS :is()) so I wanted to get this one out of the way first.

bgotink avatar Feb 19 '25 21:02 bgotink