GNOME Bugzilla – Bug 795955
css.lang: Add argument for :nth-* pseudo-classes
Last modified: 2018-05-09 11:08:12 UTC
The :nth-child/:nth-last-child/:nth-of-type/:nth-last-of-type pseudo-classes take an argument of either "odd", "even", or an expression of the form "An+B" where A and B are integers.[1] Will attach a patch shortly. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child
Created attachment 371821 [details] [review] css.lang: Add argument for :nth-* pseudo-classes This adds a selector-nth-argument context (and related contexts) to highlight the argument of :nth-* pseudo-classes.
Thanks, pushed as commit 8cbafc7c7e5bd3e5acf08c20e6a3dda3863ba82d.