Skip to content

Commit 4b032ef

Browse files
committed
.
1 parent 39b54a3 commit 4b032ef

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/AngleSharp/Css/CombinatorSymbols.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,14 @@ public static class CombinatorSymbols
6060
/// <summary>
6161
/// The " " combinator.
6262
/// </summary>
63+
[Obsolete("Use CombinatorSymbols.Descendant")]
6364
public static readonly String Descendent = " ";
6465

66+
/// <summary>
67+
/// The " " combinator.
68+
/// </summary>
69+
public static readonly String Descendant = " ";
70+
6571
/// <summary>
6672
/// The ">>>" combinator.
6773
/// </summary>

src/AngleSharp/Css/Parser/CssCombinator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private sealed class DescendantCombinator : CssCombinator
119119
{
120120
public DescendantCombinator()
121121
{
122-
Delimiter = CombinatorSymbols.Descendent;
122+
Delimiter = CombinatorSymbols.Descendant;
123123
Transform = el =>
124124
{
125125
var parents = new List<IElement>();

0 commit comments

Comments
 (0)