From 920c65168eacb0930cb22e0fff4bacbf777e6992 Mon Sep 17 00:00:00 2001 From: Inforithmics Date: Sat, 9 Sep 2023 21:26:41 +0200 Subject: [PATCH] for evaluating nth-child(2) make step and offset visible --- src/ExCSS/Selectors/ChildSelector.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExCSS/Selectors/ChildSelector.cs b/src/ExCSS/Selectors/ChildSelector.cs index 93e87f26..88e49cf2 100644 --- a/src/ExCSS/Selectors/ChildSelector.cs +++ b/src/ExCSS/Selectors/ChildSelector.cs @@ -5,8 +5,8 @@ namespace ExCSS public abstract class ChildSelector : StylesheetNode, ISelector { private readonly string _name; - protected int Step; - protected int Offset; + public int Step { get; private set; } + public int Offset { get; private set; } protected ISelector Kind; protected ChildSelector(string name)